Eclipse does not find installed JRE on Mac OS X

I am trying to work with JAVA in Eclpise (Helios) and I am working on Mac OS X 10.6.7. When I try to open a new Java project, it tells me that I do not have JRE installed.

Using the terminal, he says that the current javac version is 1.6.0_22. Now I read about setting the path in Eclipse-> Preferences-> Java-> installed JRE for the library / Framework / JavaVM / Versions / 1.6 / home, the problem is that after the "Version" I find only "aliases" and not folders . If I click on this, it will tell me that the alias is not working.

So, I'm stuck here: does anyone have a solution?


Hey guys, I found a solution, so I would like to share. Nothing really worked out, I also called Apple, and they had no idea. So I downloaded Windows 7 and installed it on my Mac using bootcamp. Now everything is working fine ...

+4
source share
6 answers

I saw this post solution!

This helped me solve my problem that I had on my mac after a new leopard installation. It seems that these variables need to be set manually or so.

+2
source

Click on the project โ†’ Build path โ†’ Configure build path ... โ†’ the โ€œLibrariesโ€ tab โ†’ Click the โ€œAdd libraryโ€ button. Select the JRE System library, not the JRE, if not found, than you can specify your own JRE. I think this can help.

+2
source

Do your eclipse Pointing INSTALLED JRE to JDK

0
source

Sorry if it does not work on mac (failed to verify), but since it is a Unix system:

in the terminal, execute which javac

Separate /bin/javac from the output and you have a path that needs an eclipse

0
source

What is the PATH for a JRE file? Not something else, but ~ JRE ~ (Java Runtime Environment) If necessary http://www.boonex.com/trac/dolphin/wiki/RayMediaServerInstallation

0
source

In my macbook pro, I had the same problem: in some imported Java project, some libraries could not be found (e.g. java.time).

I tried some tutorials, but in the end I decided to install the latest version of JRE and remove all old versions from System/Library/Java/JavaVirtualMachines

Hoping to be of Service

0
source

All Articles