Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsRun Eclipse on Java 17 (latest LTS JDK)
https://www.eclipse.org/forums/index.php/mv/msg/1108956/1844564/#msg_1844564
Any possibility to run Eclipse on the latest LTS JDK?
Currently i see this exception:
OS: macOS Big Sur
Java:
- java version "17" 2021-09-14 LTS
- Java(TM) SE Runtime Environment (build 17+35-LTS-2724)
- Java HotSpot(TM) 64-Bit Server VM (build 17+35-LTS-2724, mixed mode, sharing)
With Java 11 all works fine.]]>Alexandr Bolbat2021-09-16T15:10:45-00:00Re: Run Eclipse on Java 17 (latest LTS JDK)
https://www.eclipse.org/forums/index.php/mv/msg/1108956/1844581/#msg_1844581
-vm
/Users/jay/Java/jdk-17/Contents/Home/bin/java]]>Jay Arthanareeswaran2021-09-17T03:51:23-00:00Re: Run Eclipse on Java 17 (latest LTS JDK)
https://www.eclipse.org/forums/index.php/mv/msg/1108956/1844583/#msg_1844583
OS: macos 11.6
Java: Java 17 hotspot
arch: x86_64
Eclipse committers package.
Can you please check whether you get java 17 as default with
/usr/libexec/java_home
and architecture matches with java and eclipse.
you can get architecture of JVM using
/usr/libexec/java_home -V]]>Sravan Kumar Lakkimsetti2021-09-17T05:14:24-00:00Re: Run Eclipse on Java 17 (latest LTS JDK)
https://www.eclipse.org/forums/index.php/mv/msg/1108956/1844586/#msg_1844586
Info.plist - configured right JDK (11 or 17)
eclipse.ini - only increased memory parameters
Java configuration:
]]>Alexandr Bolbat2021-09-17T07:17:21-00:00Re: Run Eclipse on Java 17 (latest LTS JDK)
https://www.eclipse.org/forums/index.php/mv/msg/1108956/1844587/#msg_1844587
Currently i have latest macbook on m1 processor and installed it
But eclipse build is for x86_64 architecture]]>Alexandr Bolbat2021-09-17T07:26:19-00:00Re: Run Eclipse on Java 17 (latest LTS JDK)
https://www.eclipse.org/forums/index.php/mv/msg/1108956/1844588/#msg_1844588
Java 17 support installed in eclipse from Marketplace works fine with projects configured to use JDK 17 (arm64)
I think for now for me Eclipse still will be started with JDK 11 (x86_64) and I will migrate it to JDK 17 (arm64) when Eclipse release bundle for macOS (arm64) will be ready]]>Alexandr Bolbat2021-09-17T07:39:32-00:00Re: Run Eclipse on Java 17 (latest LTS JDK)
https://www.eclipse.org/forums/index.php/mv/msg/1108956/1844589/#msg_1844589
ticket i understand that Eclipse bundle for macOS (arm64) still not released]]>Alexandr Bolbat2021-09-17T07:44:04-00:00Re: Run Eclipse on Java 17 (latest LTS JDK)
https://www.eclipse.org/forums/index.php/mv/msg/1108956/1844596/#msg_1844596
The architecture types of Eclipse and the JVM should match. So, the combinations that will work on Mac M1 are:
Eclipse (x86_64) with Java (x86_64)
Eclipse (arm64) with Java (arm64)
These combinations will not work:
Eclipse (x86_64) with Java (arm64)
Eclipse (arm64) with Java (x86_64)
The Eclipse installer and IDE packages for Mac arm64 are not yet available, but the Eclipse SDK build for arm64 is available here [1]. You need the Mac OSX (64 bit version for Arm64/AArch64) download from the page and should be able to run this with Java 17 (arm64).
Please note that it's the base Eclipse SDK and you will have to install the additional plugins that are required.
HTH]]>Lakshmi P Shanmugam2021-09-17T08:47:01-00:00Re: Run Eclipse on Java 17 (latest LTS JDK)
https://www.eclipse.org/forums/index.php/mv/msg/1108956/1844598/#msg_1844598
I will wait when related release bundle will be available, hope this will be in near future :)]]>Alexandr Bolbat2021-09-17T08:53:46-00:00Re: Run Eclipse on Java 17 (latest LTS JDK)
https://www.eclipse.org/forums/index.php/mv/msg/1108956/1844621/#msg_1844621
After installing the DMG you can add components in Menu Help -> Install New Software -> Add...