• Post Reply Bookmark Topic Watch Topic
  • New Topic

Eclipse under Ubuntu not see "enum" keyword  RSS feed

 
Andrzej Borucki
Ranch Hand
Posts: 86
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Eclipse on Windows is OK, but on Ubuntu I must set: /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar
and Eclipse not compile "enum" keyword:

but thinks, it is interface
 
Andrzej Borucki
Ranch Hand
Posts: 86
1
 
Campbell Ritchie
Sheriff
Posts: 54078
130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well done sorting it out . I have a cheat for Eclipse on Linux: If I get any Java® version problems like that, I delete the entire Eclipse installation folder and reinstall Eclipse. I am sure I am not supposed to do that, but it seems easier than looking for version numbers. I do that whenever I update my Java® installation. The work and configuration files line in ~/workspace and ~/.eclipse or similar directories, so they are not affected by a new installation.

Moving discussion to our IDEs forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!