We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › JavaVM with wrong option
Page Index Toggle Pages: 1
JavaVM with wrong option (Read 542 times)
JavaVM with wrong option
Jun 23rd, 2008, 1:49pm
 
Hello.
I installed processing 0135 with Java.
But any sources, for instance File->Examples->Topics->Cellular Automata->Wolfram, don't run.
Error message is
"Unrecognized option: -Xlint:unchecked
Could not create the Java virtual machine."

I know "-Xlint:unchecked" is javac command's option but not java command's.

Why does processing run JavaVM with "-Xlint:unchecked"?
If I could Changes JavaVM options, please teach me the way to do so.
Re: JavaVM with wrong option
Reply #1 - Jun 28th, 2008, 1:28pm
 
I verificated my source and compared it and others, so I found that sources which contain definition cause that error.
For example , this reference code http://processing.org/reference/class.html.
Re: JavaVM with wrong option
Reply #2 - Jun 28th, 2008, 1:33pm
 
Try downloading version 0142 and see if it fixed the problem.
Re: JavaVM with wrong option
Reply #3 - Jun 30th, 2008, 6:59pm
 
Thanks for your reply.

I use 0142, but i have some errors.
Error message is

Target VM failed to initialize:
com.sun.jdi.connect.VMStartException: VM initialization failed for: C:\programing\processing-0142\java\bin\java -Xlint:unchecked -Djava.library.path=...

Errors is so long that I omit it.

I see that the option (-Xlint:unchecked) remains.
If my doubt for the option was mistake, are there any couses?
Re: JavaVM with wrong option
Reply #4 - Jul 1st, 2008, 12:43am
 
As a shot in the dark, you should at least tell us which system (OS) you use.

Mmm, it is Windows, obviously. Is it Vista?
Do you have a prior install of Java? Anything Java-related in the environment?
Page Index Toggle Pages: 1