简体   繁体   中英

Is it possible to install eclipse without jdk in linux

I want to install eclipse in linux, Is it possible to install eclipse without jdk in linux. How to install eclipse in linux. Im using Federo 10. Please give the suggession.

Yes it is possible. Eclipse only need a JRE to run. It can compile classes using its own compiler, so it doesn't need an external JDK.

Though, a JDK is highly recommanded, and can be necessary for some plugins (M2Eclipse for Maven integration needs an external JDK, by example).

Eclipse needs only the JRE to run, however, a JDK is recommended. Install the rpm package for jdk, for example: jdk-6u10-linux-i586-rpm

Or use the nonRPM version. You need to make the file executable:

chmod 755 jdk-6u10-linux-i586.bin

You should then be able to run that file. It will unpack the contents in the current directory, which you can then move to wherever you want. If you put the extracted directory (jdk1.6.0_10) in, say, /usr/local, then add /usr/local/jdk1.6.0_10/bin to your PATH:

export PATH=/usr/local/jdk1.6.0_10/bin:$PATH

You should then be able to run java, javac, etc.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM