my dog learned polymorphism
The moose likes Tomcat and the fly likes JVM Options: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JVM Options: " -server "??" Watch "JVM Options: " -server "??" New topic

JVM Options: " -server "??

senthil sen
Ranch Hand

Joined: Oct 10, 2002
Posts: 184
JVM Options: " -server " --- > Gives errors
Is this a bug in jdk1.4 versions...???
Very urgent...
[Downgraded from 'very urgent' to 'regular question']
[ January 02, 2004: Message edited by: Michael Ernest ]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Well, if this wasn't so "Very Urgent" I probably wouldn't be able to do this. However, since it is, let me peer into my magical error reading crystal ball and view the error messages you are recieving on your computer that is thousands of miles away that I can't see and would have no way of knowing what they are unless you were to show us the error messages for yourself.
Oh, wait, I have no magical error reading crystal ball. I guess you will just have to show us the error messages yourself.

GenRocket - Experts at Building Test Data
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

I agree. Typing just "java -server" gives a usage message. In fact, typing "java -xyz", where xyz is any valid Java option, also gives an error. In fact, typing just "java" gives the same error. Typing nothing (by just pressing Enter) doesn't give an error for me. Does it for you?
Anyway, note that this usage message starts

Usage: java [-options] class [args...]

which should give you a clue as to this "error" message.
If you're getting a different error message, you might share it with us.

[Jess in Action][AskingGoodQuestions]
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Since this question has been downgraded to a regular question I won't waste my very valuable time. Does anyone know of any Very Urgent or even just a plain Ugent (sic) question I can answer?
[ January 02, 2004: Message edited by: Michael Morris ]

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

One solution could be to copy the server folder from '<SDK_location>/jre/bin' into 'Program Files/Java/<jre_version>/bin' (if java version > 1.4) otherwise the jre location will be 'Program Files/Javasoft/<jre_version>/bin'
Hope this helps ;-)

Regards, Rene Larsen
Dropbox Invite
I agree. Here's the link:
subject: JVM Options: " -server "??
jQuery in Action, 3rd edition