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

No comments: