Unrecognized Option Error For Java In Mac

Error: Could not create the Java Virtual Machine. Iogear bluetooth 4.0 usb micro adapter driver for mac. Error: A fatal exception has occurred. Program will exit. Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384m; support was removed in 8.0 Unrecognized option: - Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Check that the JAVAHOME environment variable has been set correctly in your environment. See Installing Java for Confluence to check on your JAVAHOME environment variable set in your system; Cause. As of the release of Confluence 5.8.2, Java 1.7 is no longer supported and Confluence 5.8.x is not compatible with earlier versions of JAVA.

Last updated on JULY 25, 2019

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 15.1.0.0 and later
Information in this document applies to any platform.

Symptoms

When starting Node Manager or P6 Web Access using Start_Primavera.bat/sh, the following error occurs:
'-Dweblogic.nodemanager.JavaHome=C:PROGRA~1JavaJRE18~1.0_4' weblogic.NodeManager -v
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
Unrecognized VM option 'UseSpinning'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Changes

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.

Download download Download Platform IndependentTo install ImageJ on a computer with Java pre-installed, or to upgrade to the latestfull distribution (including macros, plugins and LUTs), download the(6MB) and extract the ImageJ directory. download. Processing code. These images, and more, are also available asa.You can also browse the ImageJ download directory at.Newer ImageJ distributions are available at.Refer to thefor a list of new features and bug fixes. Use the HelpUpdate ImageJcommand to upgrade to newer versions.Mac OS XDownload(may need to work around ).LinuxDownload(82MB).WindowsDownload(70MB).DocumentationTiago Ferreira's comprehensiveis available as an 8MB PDF document and as a.The onlineis also available as a.Source CodeThe ImageJ consists of 132,000 linesof code in 348 files.It is availableandas.Example Imagesareavailable in ImageJ's FileOpen Samples submenu.

Home » Newcomers » Newcomers » Unrecognized option -startup
Show:Today's Messages::Show Polls::Message Navigator
Unrecognized option -startup[message #635459]Tue, 26 October 2010 21:37
Dave Dick
Messages: 5
Registered: October 2010
Running LINUX Ubuntu 10.10, trying to test an Eclipse plugin.
I get: 'Unrecognized option: -startup n Could not create the Java virtual machine.'
Interestingly enough, I also have Ubuntu on my laptop where EVERYTHING WORKS.
There is NO difference between the eclipse.ini files on either machine.
There is a difference reported for 'java -version'
Laptop (where things work):
java version '1.6.0_20'
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)
Desktop (where Run As Eclipse Application fails):
java version '1.6.0_22'
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Server VM (build 17.1-b03, mixed mode)
So what do I have to do? Back down to older release of Java?
Thanks in advance for your help.
Dave
Re: Unrecognized option -startup[message #635466 is a reply to message #635459]Tue, 26 October 2010 23:02
Russell Bateman
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA

On 2010.10.26 15:38, Dave Dick wrote:
> Running LINUX Ubuntu 10.10, trying to test an Eclipse plugin.
>
> I get: 'Unrecognized option: -startup n Could not create the Java
> virtual machine.'
> Interestingly enough, I also have Ubuntu on my laptop where EVERYTHING
> WORKS.
>
> There is NO difference between the eclipse.ini files on either machine.
>
> There is a difference reported for 'java -version'
>
> Laptop (where things work):
> java version '1.6.0_20'
> Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
> Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)
> Desktop (where Run As Eclipse Application fails):
> java version '1.6.0_22'
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) Server VM (build 17.1-b03, mixed mode)
> So what do I have to do? Back down to older release of Java?
>
> Thanks in advance for your help.
> Dave
You should be using a -vm option in your eclipse.ini (regardless of
whether the working platform doesn't seem to need it) and you should be
pointing this option to a download of whatever JDK (not mere JRE) you
want, in your case, 1.6.0 build 22.
Re: Unrecognized option -startup[message #635470 is a reply to message #635466]Tue, 26 October 2010 23:46
Dave Dick
Messages: 5
Registered: October 2010
Trying to put in '-vm' line DID NOT CHANGE ANYTHING.
There are many different instances of 'java,exe' to choose from, so I tried them all one at a time. No joy, it still breaks.
Dave
Re: Unrecognized option -startup[message #635475 is a reply to message #635470]Wed, 27 October 2010 00:06
Russell Bateman
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA

On 2010.10.26 17:46, Dave Dick wrote:
> Trying to put in '-vm' line DID NOT CHANGE ANYTHING.
>
> There are many different instances of 'java,exe' to choose from, so I
> tried them all one at a time. No joy, it still breaks.
>
> Dave
Post the eclipse.ini from the broken one here? Made sure you followed
http://wiki.eclipse.org/Eclipse.ini? (Forgive me: I don't know how far
into this you are, so I may be asking stupid questions you've already
answered.)
Re: Unrecognized option -startup[message #635476 is a reply to message #635470]Wed, 27 October 2010 00:27
Dave Dick
Messages: 5
Registered: October 2010
Both machines have identical files (checked by eye ball):
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.1.R36 x_v20100810
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xms40m
-Xmx384m
Dave
Re: Unrecognized option -startup[message #635566 is a reply to message #635476]Wed, 27 October 2010 11:01
Russell Bateman
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA

On 2010.10.26 18:27, Dave Dick wrote:
> Both machines have identical files (checked by eye ball):
>
> -startup
> plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
> --launcher.library
> plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.1.R36 x_v20100810
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 256m
> --launcher.defaultAction
> openFile
> -vmargs
> -Xms40m
> -Xmx384m
>
> Dave
I see you are not pointing to your JDK. Best Eclipse practice would have
you do so, even on the machine where it seems to work. My suggestion
would be:
1) Download and explode a copy of the latest Sun JDK somewhere
privately. (Not a mere JRE, but a JDK from
http://www.oracle.com/technetwork/java/javase/downloads/jdk6 -jsp-136632.html)
2) Add to your eclipse.ini the two following lines (with a path
appropriate to where you downloaded and exploded the JDK):
..
-vm
/home/dave/dev/jdk1.6.0_21/bin/java
-vmargs
..
Re: Unrecognized option -startup[message #635583 is a reply to message #635566]Wed, 27 October 2010 12:29
Dave Dick
Messages: 5
Registered: October 2010
I already had one for jdk1.6.0-22 down and unpacked so I tried it - NO JOY,.
Then what the hey, in for a nickel in for a buck, I downloaded and expanded jdk1.6.021 - it no workee either.
Same errors: 'Unrecognized option: -startup n Could not create the Java virtual machine.'
Eclipse.ini reads:
..
openFile
-vm
/home/dave/Downloads/jdk1.6.0_21/bin/java
-vmargs
..
(I know Eclipse processes this file since in a third (accidental) attempt, I misspelled the command line and Eclipse refused to start up. Spelling it properly and Eclipse comes up as I expect it to, just won't Run As Eclipse Application.
BTW, Eclipse will handle a Java app, just NOT an Eclipse plugin. I also forgot to mention this is Eclipse Helios - Version: 3.6.1 n Build id: M20100909-0800
(Ubuntu software center downloads Ganymede, and it too failed.)
Dave
Re: Unrecognized option -startup[message #635591 is a reply to message #635583]Wed, 27 October 2010 12:40
Russell Bateman
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA

On 2010.10.27 6:29, Dave Dick wrote:
> I already had one for jdk1.6.0-22 down and unpacked so I tried it - NO
> JOY,.
>
> Then what the hey, in for a nickel in for a buck, I downloaded and
> expanded jdk1.6.021 - it no workee either.
>
> Same errors: 'Unrecognized option: -startup n Could not create the Java
> virtual machine.'
> Eclipse.ini reads:
> .
> openFile
> -vm
> /home/dave/Downloads/jdk1.6.0_21/bin/java
> -vmargs
> .
>
> (I know Eclipse processes this file since in a third (accidental)
> attempt, I misspelled the command line and Eclipse refused to start up.
> Spelling it properly and Eclipse comes up as I expect it to, just won't
> Run As Eclipse Application.
>
> BTW, Eclipse will handle a Java app, just NOT an Eclipse plugin. I also
> forgot to mention this is Eclipse Helios - Version: 3.6.1 n Build id:
> M20100909-0800
> (Ubuntu software center downloads Ganymede, and it too failed.)
>
> Dave
Yeah, I haven't attempted to use build 22 which is in beta (?)
In the case of Eclipse, it's never a good idea to use what Ubuntu
Software Center offers and it's too easy to download the right stuff
from eclipse.org anyway.
I'm stumped..
1) You've verified that /home/dave/Downloads/jdk1.6.0_21/bin/java exists
and is executable?
2) You're not mixing a 64-bit Eclipse with a 32-bit JDK by happenstance?
Here's my __working__ Helios JEE eclipse.ini:
russ@tuonela:~/dev/eclipse-64/helios-jee-eclipse> cat eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.1. R36x_v20100810
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
/home/russ/dev/jdk-64/jdk1.6.0_21/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
Re: Unrecognized option -startup[message #635685 is a reply to message #635583]Wed, 27 October 2010 17:37
Eric Rizzo
Messages: 3071
Registered: July 2009
On 10/27/10 8:29 AM, Dave Dick wrote:
> I already had one for jdk1.6.0-22 down and unpacked so I tried it - NO
> JOY,.
>
> Then what the hey, in for a nickel in for a buck, I downloaded and
> expanded jdk1.6.021 - it no workee either.
>
> Same errors: 'Unrecognized option: -startup n Could not create the Java
> virtual machine.'
> Eclipse.ini reads:
> .
> openFile
> -vm
> /home/dave/Downloads/jdk1.6.0_21/bin/java
> -vmargs
> .
>
> (I know Eclipse processes this file since in a third (accidental)
> attempt, I misspelled the command line and Eclipse refused to start up.
> Spelling it properly and Eclipse comes up as I expect it to, just won't
> Run As Eclipse Application.
>
> BTW, Eclipse will handle a Java app, just NOT an Eclipse plugin. I also
> forgot to mention this is Eclipse Helios - Version: 3.6.1 n Build id:
> M20100909-0800
> (Ubuntu software center downloads Ganymede, and it too failed.)
Setting vm params in the eclipse.ini file only controls the JVM that
Eclipse itself runs in, it DOES NOT affect apps launched from inside
Eclipse. It sounds like you're talking about the latter. If so, you need
to adjust settings in the Launch Configuration that is used to run your
app (including an Eclipse instance that hosts plugin(s) you are developing).
Launching is also influenced by the Installed JREs section of the
Preferences; make sure that JRE that's being used in your Launch is the
one you intend.
Eric
Re: Unrecognized option -startup[message #636222 is a reply to message #635685]Fri, 29 October 2010 18:00
Dave Dick
Messages: 5
Registered: October 2010
Problem is solved, and was NOT JAVA related.
I had an older project created with Ganymede on Windows in the workspace. Its run configuration had a set of arguments that began '-startup ' and then a file name (I forgot the exact contents since I got rid of it. This run configuration was somehow used in place of the right one for Helios and LINUX.
Don't know if this is an incompatibility between Windows an LINUX versions of Eclipse, or just old project or I didn't add the project into the current Eclipse correctly.
Dave
Re: Unrecognized option -startup[message #636576 is a reply to message #635459]Tue, 02 November 2010 01:28
No real name
Messages: 1
Registered: November 2010
Hi Dave,
I had this problem too, and others
I found the tips here very useful
cheers!
Previous Topic:Compiling with an uncaught exception
Next Topic:File Explorer View
Goto Forum:
-=] Back to Top [=-

Current Time: Mon Mar 09 04:46:51 GMT 2020

Powered by FUDForum. Page generated in 0.03994 seconds
    Search