Unrecognized option: -server
843811Mar 31 2003 — edited May 19 2003Hi,
I have problems using J2SE. I had installed JRE 1.3.1 on a Solaris 8 system but everytime I tried to run a Java application, I will get this error:
Unrecognized option: -server
Could not create the Java virtual machine.
I tried installing SDK, and even changed versions of 1.3 and 1.4 but to no avail. I noticed that in all cases, when I run java -? command, I never see the -server or -client options displayed under standard options.
How to resolve this error? How to enable -server option in Java? Does this have anything to do with the installation (I installed it based on the installation guide found on this site)? Do I have to install anything else, eg Hotspot? etc etc etc...
I would really appreciate if anyone could help me on this.