• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Eclipse 2020-03 and JDK-14 can't configure

 
Saloon Keeper
Posts: 8738
71
Eclipse IDE Firefox Browser MySQL Database VI Editor Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. Install JDK-14 -- Done, works
2. Download Eclipse 2020-03 (aka 4.15) -- Done, starts up
3. Update project files -- done.
4. No editor is installed apparently ??? -- needs eclipse market place (?)
5. Eclipse Market Place not installed either ???

Other Eclipse installs didn't seem to run into these issues. What's up, and how to solve it?
 
Marshal
Posts: 26909
82
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Funny you should ask that -- I just downloaded that same version of Eclipse this evening. (Upgrading from Eclipse Mars, that's 9 versions if I counted right.)

Anyway I had a quick look to see what Java versions it supports and the list only goes up to 13.
 
Carey Brown
Saloon Keeper
Posts: 8738
71
Eclipse IDE Firefox Browser MySQL Database VI Editor Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Once I get it setup to work with my 13 code there's a plugin to give it the 14 features. Haven't been able to get that far yet.
 
Paul Clapham
Marshal
Posts: 26909
82
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good luck, then. My next step is to install something later than Java 8 and start messing around.

(I went to install the new Eclipse version and it said "Can't find a JRE to use". Come on, I said, I've got six of them there. But it turned out that it wanted a 64-bit JRE and I had always been using 32-bit JREs. So fine, I downloaded and installed the 64-bit Java 8 and then it was happy.)
 
Carey Brown
Saloon Keeper
Posts: 8738
71
Eclipse IDE Firefox Browser MySQL Database VI Editor Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
*** GOT IT TO WORK ***

First big step was to re-install Eclipse-2020-03. I don't know if I didn't use the downloaded installer the first time but this time I made sure I did and 80% of my issues were solved right there.

Here are my ramblings of all the other stuff that I did, some of which are specific to my particular environment:

Re-installed Eclipse-2020-03

Was prompted with option to install Marketplace Client - did it

Used MPC to install Subclipse
works

Window > Preferences > Java > Compiler > Coompiler compliance level: 13 (won't go up to 14 yet)

Set environment variable:
ECLIPSE_HOME=C:\tools\eclipse-2020-03
This seems to be ignored and comes up as eclipse-oxygen\eclipse in class path variables (?)
Edited class path variables to be eclipse-2020-03

Window > Preferences > Java > Installed JREs
Add: jdk-14 (make default)

For jdk-14 support see:
https://marketplace.eclipse.org/content/java-14-support-eclipse-2020-03-415
Go to above link
Drag [Install] icon from web page to running Eclipse workspace

Accepted default checked boxes.

Get warning:
"The installation cannot be completed as requested"

Chose
"Keep my installation the same and modify the items being installed to be compatible" (?)

Window > Preferences > Java > Compiler > Compiler compliance level: 14 (now it works)

Rebuilt some open projects.

Ran one of my medium sized Swing projects. Everything seem to work fine.

Several projects showed errors and were listed under the "Problems" tab

Change environment variable
MAVEN_JAVA_VERSION=14
This is one of my own conventions that I have mixed feelings about. My pom.xml files use this as the
java version for a build. I have lots of pom.xml files and it was a pain keeping them in sync.

That clear up a number of project errors

Complains about Java-13 feature of text blocks (""")
Enabled it with quick fix in left margin

Caveate: IF you have project setting specifically designating Java-13 and you use Java-13 features, with this new
Eclipse and Java-14 plugin that won't work. You'll have to go into the project an upgrade it to 14 as well.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic