Hah! That's much better than my way of running a shell script after build to modify the classpath.txt file. Thanks for the pointer :D
- hugi > On 19 Apr 2021, at 21:16, Lon Varscsak <lon.varsc...@gmail.com> wrote: > > Nevermind, I found it, thanks! > > For future reference to those that might need it you need to change the > woapplication task of the build.xml to send a new option of "jvm" with the > path to the deployment jvm. > > On Mon, Apr 19, 2021 at 1:23 PM Lon Varscsak <lon.varsc...@gmail.com > <mailto:lon.varsc...@gmail.com>> wrote: > Hey Hugi, thanks, what build setting did you modify? > > On Mon, Apr 19, 2021 at 2:23 AM Hugi Thordarson <h...@karlmenn.is > <mailto:h...@karlmenn.is>> wrote: > Hi Lon, > the .woa's [platform]Classpath.txt files have some variables defined in > comments at the top. One of them is "JVM" which is the java executable. I've > changed that during build to point to my desired JVM, replacing "java" with > something like "/opt/jdk8/bin/java". > > I don't think you can change the JVM using JavaMonitor/arguments without > modifying the script that runs the app. > > Cheers, > - hugi > > > > > On 19 Apr 2021, at 06:22, Lon Varscsak via Webobjects-dev > > <webobjects-dev@lists.apple.com <mailto:webobjects-dev@lists.apple.com>> > > wrote: > > > > Hey all, > > > > What parameter can I pass in Monitor to launch a specific application with > > an alternative JVM? > > > > Thanks, > > > > Lon >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com