Tutorial :How to run Eclipse without running JRE installation?



Question:

I wish to run Eclipse for C++ on Vista but I absolutely do not want to run the JRE installation. Is there any place where I can get a JRE in a zip that I can just dump in the Eclipse folder and have it work?


Solution:1

Download the JRE offline installer, right click on it, and have 7zip/winrar/whatever unzip it.

You'll get a folder with a fully funcional JRE, but no install required :)
You might want to read this to run Eclipse with that JRE.


Solution:2

You can run Eclipse by copying the JRE into the eclipse/jre directory (wiki documentation).

The JRE is distributed with the Java JDK (/path/jdk1.6xxx/jre). The JDK uses an installer, but you can just copy this directory from another machine, install and uninstall the JDK or whatever.


Solution:3

The browser add on can be disabled per browser, you can copy and re-set your PATH variable and the JAVA_HOME variable, and you can disable the updater in the Java app in the Control Panel of Windows. Registry entries are generally harmless but not too hard to remove.

Also, you could just uninstall after you use it.


Solution:4

The IBM Development Kit for Eclipse is exactly what you ask for. Eclipse with an JRE bundled in ready to use.

http://www.ibm.com/developerworks/java/jdk/eclipse/

(For the record it is an IBM JVM).

Registration is necessary (urgh).


Solution:5

I guess you should take a look on Apache Harmony. I beleive it could be just unpacked to the standalone directory. After that Eclipse could be launched with -vm PATH_TO_JVM option. (In theory)

Hope this helps.


Solution:6

No, it can not be done the way you described it. The JRE needs to be installed using the Installer. Why would you be so afraid of installing JRE on your machine? Without it, Eclipse won't work, as it is by itself a Java application and runs in a JVM.

EDIT, Pardon my ignorance. McDowell is right.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »