Make Jedit run on JDK on removable USB drive without changing PATH (batch file, maybe?)
Submitted by Wednesday, 19 April, 2006 - 13:29
on
Hi all,
I searched a bit but couldn't find the answer, so here goes:
Here is my situation. I have an old JRE 1.3 on my work computer and one of our programs will not work with anything newer than this (don't ask). Needless to say, I am not allowed to install any Java JRE (and I presume JDK/SDK either).
However, I copied my install folders of the newest JDK and JRE for 1.5.0_6 to my USB drive (path is E:\Java\jdk1.5.0_06) and I can run Netbeans, BlueJ and jGRASP just fine because those prompt you to browse for a JDK to use.
This is the problem I run into: I want to use Jedit, not just as an editor but with the compiler functionality, and I wold prefer running it from my USB Java 1.5 JRE rather than the antiquated 1.3 on my desktop machine. Can I do this? I know how to set the path but I do not want to interfere with the functionality of that work program. Is there a batch file I can use to start it that will invoke it to start in the E:\Java\jdk1.5.0_06\bin or E:\Java\jre1.5.0_06\bin folders instead of the system path that directs to JRE 1.3?
Many thanks!
Scott
I searched a bit but couldn't find the answer, so here goes:
Here is my situation. I have an old JRE 1.3 on my work computer and one of our programs will not work with anything newer than this (don't ask). Needless to say, I am not allowed to install any Java JRE (and I presume JDK/SDK either).
However, I copied my install folders of the newest JDK and JRE for 1.5.0_6 to my USB drive (path is E:\Java\jdk1.5.0_06) and I can run Netbeans, BlueJ and jGRASP just fine because those prompt you to browse for a JDK to use.
This is the problem I run into: I want to use Jedit, not just as an editor but with the compiler functionality, and I wold prefer running it from my USB Java 1.5 JRE rather than the antiquated 1.3 on my desktop machine. Can I do this? I know how to set the path but I do not want to interfere with the functionality of that work program. Is there a batch file I can use to start it that will invoke it to start in the E:\Java\jdk1.5.0_06\bin or E:\Java\jre1.5.0_06\bin folders instead of the system path that directs to JRE 1.3?
Many thanks!
Scott