- Joined
- Feb 7, 2012
- Messages
- 3
- Reaction score
- 0
I have a java JVM problem:
When I open a java based app from the UI i get an error or the program just does not star because it can't find a JVM.
When I run the same program from the terminal interface it opens normally.
For example eclipse:
No Java virtual machine
was found after searching the following locations:
/opt/eclipse/Eclipse.app/Contents/MacOS/jre/bin/java
java in your current PATH
my java version:
mac:~ leov$ which java
/usr/bin/java
mac:~ leov$ java -version
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12-409-11M3614)
Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03-409, mixed mode)
What could be the problem, any hints?
When I open a java based app from the UI i get an error or the program just does not star because it can't find a JVM.
When I run the same program from the terminal interface it opens normally.
For example eclipse:
No Java virtual machine
was found after searching the following locations:
/opt/eclipse/Eclipse.app/Contents/MacOS/jre/bin/java
java in your current PATH
my java version:
mac:~ leov$ which java
/usr/bin/java
mac:~ leov$ java -version
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12-409-11M3614)
Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03-409, mixed mode)
What could be the problem, any hints?