• Post Reply Bookmark Topic Watch Topic
  • New Topic

Eclipse under Ubuntu not see "enum" keyword

 
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
Marshal
Posts: 53138
124
  • 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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!