Pages

Showing posts with label JVM. Show all posts
Showing posts with label JVM. Show all posts

Thursday, February 15, 2018

java: Invalid argument on unix

I was trying to install JDK on Solaris.

I installed JDK for Solaris X64 avoiding SPARC installation as I did not know what is SPARC ;-)

once installed, I was getting error :
java: Invalid argument 

Soon I found that this error comes if java installation is of wrong type.

Find your correct type of JDK by checking the system type by
uname -p

Tuesday, February 07, 2017

How to fix Eclipse Java Virtual Machine Launcher Error?

If you play around little bit jdk/jre directories then one day you may encounter Eclipse Java Virtual Machine Launcher error.


Eclipse is not  finding the JRE to launch the eclipse.

Following has all the information to one needs for eclipse.ini file that initializes the eclipse.
http://wiki.eclipse.org/Eclipse.ini

To run the eclipse set the -vm option in the initializer file.

Example:  
-vm

C:\PROGRA~1\Java\jdk1.8.0_121\bin\javaw.exe