Niclas, Sorry. I just looked at yours again. You do pretty much the same thing that I do. I was looking at it wrong the first time. Change my previous from a "Yours is still too much work" to a "Me too".
On Sun, 2006-03-12 at 19:56 -0600, Philip A. Chapman wrote: > I use symbolic links too; but your way is still too much work. > > JAVA_HOME=/opt/java > PATH=/opt/java/bin:$PATH > > My JDK is installed in /opt, such as /opt/jdk_1.4.2 or /opt/jdk_1.5 > > ln -s /opt/jdk_1.5 /opt/java > > Then all I have to do is change the one link /opt/java to point to > whichever jdk I want to use. > > On Mon, 2006-03-13 at 08:59 +0800, Niclas Hedhman wrote: > > 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 -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP
signature.asc
Description: This is a digitally signed message part
