javac /path/to/.java file
Feline wrote:Yes, I have the latest JDK by Sun Microsystems installed on my system and included in this JDK is the runtime environment 1.6.0_10. The problem is that eclipse doesn't seem to notice that my system has the newest runtime environment. Even stranger is the fact the JRE 1.5. that eclipse is using should include the Scanner class (?!) But no, I can't get it working.
Does anyone in the world know, what the problem is? Removing and installing eclipse again does not work.
hinto wrote:Install the jdk from synaptic. That way all the links, etc, that Debian wants will be in the right place... and Eclipse can find everything. I've found that if you work with the system, everything goes much smoother.
Users browsing this forum: Flemur, Yahoo [Bot] and 32 guests