bavs
December 27th, 2005, 03:39 AM
I have installed Eclipse and trying to run helloworld example and when i run it says cannot connect to VM
when i type in java version at terminal it says
java version
Exception in thread "main" java.lang.NoClassDefFoundError: version
i am guessing it is using a different javac and java versions or similar
how can i solve this?
sorry java -version gives me this
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)
when i type in java version at terminal it says
java version
Exception in thread "main" java.lang.NoClassDefFoundError: version
i am guessing it is using a different javac and java versions or similar
how can i solve this?
sorry java -version gives me this
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)