Hi,
I have developed a programme that I am running on my workplace network. Some of the machines are configured with a system JRE and others are not. I want to know if it is possible to target a remote JRE on, for example, a USB drive. I have used the standalone IDE and know how to connect to a JDK for compiler purposes. The problem is when I export my jar, it won't run/build on all of the machines. This is because there are different servers with different settings and one of them appears not to allow Java runtime.
I have configured a Tomcat server to run on all the systems. It is possible to create a simple .bat file that tells Tomcat where the JRE is - but that is a feature of Tomcat.
My question is:
Can I change parameters in the bluej.defs and/or greenfoot.defs to connect to a JRE that is not the system JRE with respect of the system environment variables?
If this is possible, are these definitions exported along with the jar file?
If none of the above is correct/possible - is there another way to direct to a JRE?