Thread: Installing Eclipse/Java on Ubuntu
i have installed eclipse can't run java code. lots of different errors including:
unsupported major.minor version 51.0
or
in ide errors like:
"implicit super constructor object() undefined default constructor. must define explicit constructor."
have eclispe, icedtea java 6 web start (whatever is) , openjdk java 6 runtime installed.
code runs on multiple windows machines correctly.
have tried run code via terminal don't know how edit .bashrc correctly can use javac. don't know path meant set.
i'm not super familiar eclipse -- know weird things, has own compiler, etc.
first, make sure have installed:
and check it's set correctly:code:sudo apt-get install openjdk-6-jre icedtea6-plugin openjdk-6-jdk
code:java -versionit should likecode:javac -version
andcode:java version "1.6.0_23" openjdk runtime environment (icedtea6 1.11pre) (6b23~pre11-0ubuntu1.11.10) openjdk client vm (build 20.0-b11, mixed mode, sharing)
respectively.code:javac 1.6.0_23
can find official ubuntu java documentation at
https://help.ubuntu.com/community/java
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Installing Eclipse/Java on Ubuntu
Ubuntu
Comments
Post a Comment