On Monday 13 March 2006 00:50, Martijn Dashorst wrote:
> At this moment we have two types of projects: java 1.4 and java 5 projects.
>
> How do you have set up your project files so you can intermingle java
> 1.4and java 5 projects?

I use symbolic links
 ln -s /java/jdk1.4.2_06 /java/jdk1.4
 ln -s /java/jdk1.5.0 /java/jdk1.5
 ln -s /java/jdk1.4 /java/jdk

And in the bash_profile;

 export JAVA_HOME=/java/jdk
 export PATH=$PATH:/java/jdk/bin

so that the symbolic links are always used to establish the default JVM. 
And for applications that requires a special version, a start script is 
created that sets the JAVA_HOME and PATH variables accordingly.

Cheers
Niclas


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to