Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Java 13 compile but not run?(Eclipse build using Java 13, compliance level 1.8, can't run?)
Java 13 compile but not run? [message #1818240] Tue, 10 December 2019 20:02 Go to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 105
Registered: December 2010
Senior Member
Using Eclipse 4.7.3, I installed OpenJDK 13, set it as the default compiler, and built my project. The Java Compliance Level is still set at Java 1.8.
It all builds fine, but when I try to run it, Eclipse tells me:
"jre not compatible with workspace .class file compatibility: 1.8"

I thought newer java could run older java class files?
Re: Java 13 compile but not run? [message #1818245 is a reply to message #1818240] Tue, 10 December 2019 21:04 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Eclipse 4.7.3 was released in Feb 2018. It cannot recognize the version of your JRE (Sep 2019) and hence it doesn't know it's compatible.
Re: Java 13 compile but not run? [message #1818270 is a reply to message #1818240] Wed, 11 December 2019 09:37 Go to previous message
Eitan Rosenberg is currently offline Eitan RosenbergFriend
Messages: 143
Registered: October 2018
Senior Member
Hello,

Using Version: 2019-09 R (4.13.0) on windows 10

Java openjdk-13.0.1_windows-x64_bin.zip

Settings:

index.php/fa/36953/0/


Works just fine.

Regards.
Previous Topic:openxmlformats schemas problem with indirect refrerence
Next Topic:Font text on iMac
Goto Forum:
  


Current Time: Sat Apr 27 04:39:54 GMT 2024

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

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

Back to the top