• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: I wonder if you have seen this before: exec: -X: invalid option
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I wonder if you have seen this before: exec: -X: invalid option


  • Subject: Re: I wonder if you have seen this before: exec: -X: invalid option
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 17 Apr 2008 14:45:42 -0700

I don't recall either, but I do recall seeing this. I think it was something simple, wrong version of the JVM marked as default, no default. something.

For a quick hack, you should be able to edit ~/Library/ wobuild.properties and add
jvm=java


Before you do that, try running the build with ant -verbose -debug and see if you see anything that looks like a problem.

Chuck


On Apr 17, 2008, at 2:35 PM, Mike Schrag wrote:

Please keep questions on the list ... I'm assuming ${jvm} is not set. This same question came up just a few weeks ago, but I don't recall what caused it.

ms

On Apr 17, 2008, at 5:07 PM, Klaus Berkling wrote:

Sorry, forgot to mention. This only happens with ant builds.

Thanks again.

On Apr 17, 2008, at 2:00 PM, Klaus Berkling wrote:
Hi Mike,

Sorry to bother you.  I wonder if you have seen this before:

I'm executing the launch script for my WOApp. This is the output:

${jvm} -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" - DWOLocalRootDirectory="" -DWOUserDirectory="/Users/kiberkli/ Documents/Development/rsWorkspace/RecordServerApp/dist/ RecordServerApp.woa" -DWOEnvClassPath="" - DWOApplicationClass=Application -DWOPlatform=MacOS - Dcom.webobjects.pid=8317 -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap
./RecordServerApp: line 301: exec: -X: invalid option


I have another plain HelloWorld app and I don't see this error.

Where in Eclipse are the flags passed into java? It's not in the script, it's not in the WO tab of the run configuration. Any thoughts?

Thanks, much obliged.

kib

"Success is not final, failure is not fatal: it is the courage to continue that counts.”
- Winston Churchill


Klaus Berkling
Systems Administrator
DynEd International, Inc.
www.dyned.com | www.eskimo.com/~kiberkli





kib

"Success is not final, failure is not fatal: it is the courage to continue that counts.”
- Winston Churchill


Klaus Berkling
Systems Administrator
DynEd International, Inc.
www.dyned.com | www.eskimo.com/~kiberkli





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: I wonder if you have seen this before: exec: -X: invalid option
      • From: James Cicenia <email@hidden>
References: 
 >Re: I wonder if you have seen this before: exec: -X: invalid option (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: ERXMutableArray fields in Entity Modeler
  • Next by Date: RE: ERXMutableArray fields in Entity Modeler
  • Previous by thread: Re: I wonder if you have seen this before: exec: -X: invalid option
  • Next by thread: Re: I wonder if you have seen this before: exec: -X: invalid option
  • Index(es):
    • Date
    • Thread