![]() ![]() SUNWj6rt SUNWj6dev SUNWj6cfg SUNWj6man SUNWj6dmo The ' -R' option of pkgadd comes in handy in this case. What is not mentioned in the documentation is the case when you need a local installation (in a local zone), separate from a global JDK already installed in /usr/java ( /usr is not writable from a local zone). Since the content extraction of those compressed archives creates files directly in the current directory, I would advise moving each archive in its dedicated repository $ mkdir jdk-6u16-solaris-sparc (small package, used for 64-bits additional-step installation).(main package, used for 32-bits installation). #Jdk 6 download 64 bit installSince the Self-extracting binary is not meant to be configured to install in non-standard path, I would recommend the later one (packages). There are two methods for installing a JDK: #Jdk 6 download 64 bit updateUpdate 2011: see my updated answer: no more sudo pkgadd necessary. (note: the JAVA_HOME isn't set of course, but it never is by any installation process anyway) This installation won't disturb any of your current environment settings. ![]() no environment variable modified: you will need to add $HOME/usr/local/jdf1.6.0_26/bin to your $PATH if you want to use that particular JDK, but the point is:.no root right necessary (contrary to pkgadd).That will create a $HOME/usr/local/jdf1.6.0_26 in which you have a fully operation JDK. sh (the second being needed only if you have a 64-bit Solaris).Įxecute them both (for instance in $HOME/usr/local, as the user without needing any root privilege), first jdk-6u26-solaris-sparc.sh, then if needed jdk-6u26-solaris-sparcv9.sh. Once on the server, you need to chmod 755 the two. You need to be careful if you copy them from Windows to your server (with winscp for instance): you need to copy those two sh scripts as binary (or they won't work once copied on the Unix server). IMPORTANT: Set an environment variable JAVAHOME to the pathname of the directory into which you installed the JDK release. Solaris SPARC 64-bit - Self Extracting Binary 12.24 MB jdk-6u26-solaris-sparcv9.sh Download a Java Development Kit (JDK) release (version 5) The JDK can be downloaded following the 'Previous Releases' link from here. The latest Oracle JDK download page lists: Solaris SPARC - Self Extracting Binary 86.05 MB jdk-6u26-solaris-sparc.sh Since 2009 (time of my first answer), I found out that the self-extracting scripts were perfectly compatible with non-standard path (like installing a JDK in a user's $HOME/usr/local for instance, instead of the system path /usr/local) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |