I recently downloaded Eclipse Portable to do some Java Programming anywhere. I also downloaded Java Portable.
How can I integrate Java Portable with Eclipse Portable?
I know that on the "installed" version of these two, I need to set up the CLASSPATH, PATH and JAVA_HOME variables in order to use the Java Compiler(javac.exe)
How can I set this up on a thumb drive? How can I tell Eclipse to use my portable Java?
Please help me, and if possible please be specific and detailed procedure-wise. I am planning to deploy these applications on Windows XP/7 machines.
Any efforts to answer my question will be greatly appreciated!
The following instructions use the folder /apps
as an example, but any folder should work.
/../CommonFiles/Java64
/../CommonFiles/Java
../EclipsePortable/App/Eclipse/eclipse.ini
-vm
as your portable Java installation. (Must be placed before -vmargs
)For 32 bit
-vm
E:/Apps/CommonFiles/Java/bin/javaw.exe
For 64 bit
-vm
E:/Apps/CommonFiles/Java64/bin/javaw.exe