tags:

views:

2312

answers:

6

I wish to run eclipse for C++ on Vista but I absolutely do not want to run the JRE install. 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?

A: 

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.

Peter Perháč
Plenty of apps redistribute the JRE. You can just copy it from machine to machine. See the jre/README.txt file in the JDK for more.
McDowell
another lesson learned :) thanks
Peter Perháč
A: 

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.

Artyom Sokolov
A: 

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.

Kai
Sadly uninstalling the JRE does not remove the plugins. This has worked for the most part but I'm still trying to figure out where it hid the IE plugin so that I might delete it.
Amaron
+7  A: 

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.

McDowell
A: 

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).

Thorbjørn Ravn Andersen
If memory serves, the latest bundle available is Eclipse 3.0.0 with an IBM 1.5 (aka 5) JRE.
McDowell
You appear to be correct. I must have seen it with Eclipse 3.2 somewhere else then.
Thorbjørn Ravn Andersen
A: 

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.

Hugo
This doesn't work. It's not an archive according to winrar.
Amaron
Odd. 7z unachieved it fine. Maybe winrar can't (I suposed it should, but didn't actually try)
Hugo