Java Compiler in Ubuntu

I installed Eclipse on Ubuntu 10.04. I currently have the OpenJDK JRE installed, but I don't need the JDK to compile.

However, the code written by Eclipse is still compiling. Is this the standard compiler included in Eclipse? I looked at the package manager and it seems that one of the JDKs was not installed ...

Note: running "javac" in the terminal does not work.

+3
source share
6 answers

If you download Eclipse from eclipse.org, it will bring everything it needs to work with it.

Eclipse , , . .

Eclipse RAM-, Eclipse , .

, Eclipse, . , , , ..

+5

, , Java, Eclipse, IBM jikes . , ; , ; , (, ), , .

NetBeans, , ant ( JDK) , , , . , (, , ), ; Eclipse ( IBM) , , . .

, Sun Oracle OpenJDK. . , ant maven JDK. .

+2

Eclipse, , , , JRE/JDK, .

Lucid Lynx:

$ locate javac
+1

eclipse, (suprisingly:)) eclipse, java- (javac) sun-java6-jdk

sudo apt-get install sun-java6-jdk sudo apt-get install eclipse

+1

. .

sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk
+1

Eclipse , . , , , , . , , JDK/ JVM, .

Sun JDK Linux. Synaptic, .

0

Source: https://habr.com/ru/post/1756434/


All Articles