Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse Oxygen stopped working after update to Java 9(Eclipse worked fine with Java 8 SDK)
Eclipse Oxygen stopped working after update to Java 9 [message #1776061] Fri, 10 November 2017 09:00 Go to next message
Charles Smith is currently offline Charles SmithFriend
Messages: 12
Registered: May 2011
Junior Member
Hi,

I'm running Eclipse Oxygen which worked fine with Java 8 SDK but after updating to Java 9 SDK, Eclipse would not launch.
Below are some of the errors from the log file.
I've attached the log file.

!SESSION 2017-11-10 08:34:43.252 -----------------------------------------------
eclipse.buildId=4.7.0.I20170612-0950
java.version=9.0.1
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.cpp.product

!ENTRY org.eclipse.osgi 4 0 2017-11-10 08:34:52.383
!MESSAGE Application error
!STACK 1
Caused by: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418


!ENTRY org.eclipse.e4.ui.workbench 4 0 2017-11-10 08:34:52.397
!MESSAGE FrameworkEvent ERROR
!STACK 0
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418

Is there a workaround to get eclipse to launch?
Thanks in advance for any help.
  • Attachment: eclipse.log
    (Size: 6.05KB, Downloaded 87 times)
Re: Eclipse Oxygen stopped working after update to Java 9 [message #1776074 is a reply to message #1776061] Fri, 10 November 2017 13:12 Go to previous message
Charles Smith is currently offline Charles SmithFriend
Messages: 12
Registered: May 2011
Junior Member
Downloaded latest Oxygen CDT (eclipse-cpp-oxygen-1a-win32-x86_64.zip) and it launches fine.
Previous Topic:Eclipse Hangs on Start: CDT Scanner Discovery
Next Topic:Error when using *.so
Goto Forum:
  


Current Time: Fri Apr 26 18:23:05 GMT 2024

Powered by FUDForum. Page generated in 0.03029 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top