|
From: Leif M. <le...@ta...> - 2008-02-02 01:32:57
|
Cory, The "release" target is used to generate an official release for mass consumption. I force the use of a 1.3 JVM there to make sure that resultant jar file can be used everywhere safely. It does not mean that you need to have a 1.3 JVM to run. Newer JVM compilers have a feature where you can specify the target JVM so it should be possible to build for a 1.3 target using 1.6. But unfortunately, that does not seem to be very well tested. I have had problems where jars built with a 1.3 target under a 1.5 compiler will cause a real 1.3 JVM to crash. Not sure why. To be safe, I have that check in the build file for MY use. If you want to build a development version from the SVN trunk, just check it out and run "./build64.sh". That will generate everything you need. Just pull the wrapper file out of the bin directory and the libwrapper.so and wrapper.jar files out of the lib directory and drop them into your application. Should work great. I am also hoping to have something official soon. Cheers, Leif Cory Riddell wrote: > I pulled the trunk from svn and I'm trying to build it. I have a > question about the process. > > Do I first have to run the pre-release target against a 1.3 jvm? When > I run "build32.sh release" I get this message: > [echo] ********************************************************** > [echo] * Pre-release distributions can only be generated using * > [echo] * Java 1.3 JVMs to guarantee that the resulting jars * > [echo] * will run on all platforms. * > [echo] * This is a 1.6 JVM. * > [echo] ********************************************************** > > Our product requires a 1.6 JVM so I'm not interested in running on > anything less than version 1.6. Am I still required to install a 1.3 > JVM, or is there a way to build with only a 1.6 JVM? > > Thanks, > Cory |