Sponsored Content
Operating Systems Solaris Upgrade java version on solaris 10 SPARC Post 302557556 by prash358 on Wednesday 21st of September 2011 01:59:22 PM
Old 09-21-2011
Upgrade java version on solaris 10 SPARC

Hi Friends,

I am trying to upgrade my java version on solaris sparc machine. I have installed the o/s software from scratch and it came with some default java version. I want to install the newer version of java available on top of this machine.

I have already installed the latest version in my home directory (i.e)
jdk-6u26-solaris-sparcv9.sh jdk1.6.0_26

But still it is pointing to the old version. Can you please help me in creating symbolic links to point to the newer version.

Current java version as below:

Code:
java -version
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)

which java
/bin/java

ls -la /bin/java
lrwxrwxrwx   1 root     other         16 Aug 19 19:53 /bin/java -> ../java/bin/java


cd /usr/jdk
 >ls -la
total 16
drwxr-xr-x   4 root     bin          512 Sep 14 15:33 .
drwxr-xr-x  46 root     sys         1024 Sep 14 15:35 ..
lrwxrwxrwx   1 root     root          27 Sep 14 15:32 entsys-j2se -> /usr/jdk/instances/jdk1.5.0
drwxr-xr-x   3 root     bin          512 Aug 19 19:52 instances
lrwxrwxrwx   1 root     other          7 Aug 19 19:56 j2sdk1.4.2_22 -> ../j2se
lrwxrwxrwx   1 root     other         18 Sep 14 15:33 jdk1.5.0_04 -> instances/jdk1.5.0
lrwxrwxrwx   1 root     other         11 Sep 14 15:33 latest -> jdk1.5.0_04
drwxr-xr-x   8 root     bin          512 Aug 19 20:15 packages


Moderator's Comments:
Mod Comment Please use code tags!

Last edited by radoulov; 09-21-2011 at 05:38 PM..
 

8 More Discussions You Might Find Interesting

1. Solaris

what is the command to see the java version in solaris 8 and solaris 10

what is the command to see the java version in solaris 8 and solaris 10 (1 Reply)
Discussion started by: tv.praveenkumar
1 Replies

2. Solaris

Solaris ASR - Update JAVA version

Hi, all I wish to implement ASR for a SUN server in my production. currently the version of JAVA for this SUN server is root@procyon # java -version java version "1.5.0_12" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04) Java HotSpot(TM) Server VM (build 1.5.0_12-b04,... (3 Replies)
Discussion started by: SmartAntz
3 Replies

3. Solaris

Solaris 10 Java version

I have an issue here setting up ASR with a server. In order to have the SASM service runnning/enabled, the required java version is 1.6 U18(latest). My OS came with JDK 1.5 I downloaded and installed 1.6 But when I did java -version , its still showing 1.5 I captured the below from another... (4 Replies)
Discussion started by: incredible
4 Replies

4. Solaris

upgrade solaris mysql version...

hi i need to upgrade my solaris mysql version.. can u guide me the upgrade steps.. my current version is 4.0.31-log i need to upgrade to 5.0 .. thanks.. ---------- Post updated at 12:04 PM ---------- Previous update was at 11:28 AM ---------- my solaris version is 10.. ----------... (2 Replies)
Discussion started by: senkerth
2 Replies

5. UNIX for Advanced & Expert Users

Advanced Search * View * Edit JAVA version to WORK in GLASSFISH Forum topic JAVA version

Would like to confirm the ff. I got confused actually with the version I needed to download that will work on glassfish 3.0.1 a. Debian Squeeze (HP DL360). Need to use java version6 On Debian, I did apt-get install sun-java6-jdk. So when I check it's java version "1.6.0_22" Java(TM) SE... (1 Reply)
Discussion started by: lhareigh890
1 Replies

6. Solaris

Upgrade Apache to new version? Solaris 10, goal:PHP

Hello, I have been searching on unix.com and google in general. I can't find what I am looking for. Maybe too dumb of a question. I've downloaded and installed the sunfreeware package for PHP 5.3.6 and made sure all dependencies are satisfied. Apache 2.2.8 is currently installed and... (2 Replies)
Discussion started by: CSLibrary
2 Replies

7. Shell Programming and Scripting

Upgrade Perl version on Solaris machine

Hi, Can you please assist in upgrading perl from 5.8.x to 5.10? Right now i am running the below verison on my Solaris SPARC machine. Thanks in advance (8 Replies)
Discussion started by: prash358
8 Replies

8. Solaris

How to read this Solaris version:-Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC?

Hi Guys, Could you please tell me how to read this Solaris version:- Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC Thanks. (3 Replies)
Discussion started by: manalisharmabe
3 Replies
install-solaris(1M)													       install-solaris(1M)

NAME
install-solaris - install the Solaris operating system SYNOPSIS
install-solaris install-solaris invokes the Solaris Install program. Depending on graphical capability and available memory at the time of invocation, install-solaris invokes either a text-based installer or a graphical installer. The following minimum requirements for physical memory dictate which features are available during installation: For SPARC machines: 128 MB Minimum physical memory for all installation types 128 MB Minimum physical memory required for windowing system 384 MB Minimum physical memory required for graphical-based installation For x86 machines: 256 MB Minimum physical memory for all installation types 256 MB Minimum physical memory required for windowing system 512 MB Minimum physical memory required for graphical-based installation In some cases, even if the minimum physical memory is present, available virtual memory after system startup can limit the number of fea- tures available. install-solaris exists only on the Solaris installation media (CD or DVD) and should be invoked only from there. Refer to the for more details. install-solaris allows installation of the operating system onto any standalone system. install-solaris loads the software available on the installation media. Refer to the for disk space requirements. Refer to the for more information on the various menus and selections. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcdrom (Solaris instal- | | |lation media) | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ pkginfo(1), install(1M), pkgadd(1M), attributes(5) It is advisable to exit install-solaris by means of the exit options in the install-solaris menus. 23 Sep 2005 install-solaris(1M)
All times are GMT -4. The time now is 03:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy