Sponsored Content
Full Discussion: Solaris 10 Java version
Operating Systems Solaris Solaris 10 Java version Post 302398373 by incredible on Wednesday 24th of February 2010 11:39:19 AM
Old 02-24-2010
Error 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 system (cos I dont have access to the problem system now)

Code:
bash-3.00# 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, mixed mode)
bash-3.00# cd /usr/jdk/
bash-3.00# ls -l
total 10
drwxr-xr-x   3 root     bin          512 Nov 30  2007 instances
lrwxrwxrwx   1 root     other          7 Dec 17  2007 j2sdk1.4.2_13 -> ../j2se
lrwxrwxrwx   1 root     other         18 Dec 17  2007 jdk1.5.0_12 -> instances/jdk1.5.0
lrwxrwxrwx   1 root     other         11 Dec 17  2007 latest -> jdk1.5.0_12
drwxr-xr-x   8 root     bin          512 Nov 30  2007 packages

Instead of the pointing to 1.6, the JDK is still pointing to 1.5 as the latest similar to shown above. Please assume that 1.6 is already visible under the /usr/jdk directory.

Can anyone advise if following instructions from this link is feasible?:-
change existing java from 1.5 to 1.6 on solaris 10 sparc

Last edited by incredible; 02-24-2010 at 12:45 PM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

echo Java version

Hi When I say java -version, the following text is printed java version "1.4.2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2) Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20060421 (SR5) (JIT enabled: jitc)) Is there a way to echo Java version? (1 Reply)
Discussion started by: neeto
1 Replies

2. 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

3. 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

4. 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

5. Solaris

java (java -version)

hi my box is a global zone with no local zones and the command java -version shows as "1.5.0_26". now we got a requirement from the application team to install jdk1.5.0_24. Is it possible to install the version of java(jdk1.5.0_24) as requested by the application team or is it possible to... (2 Replies)
Discussion started by: newtoaixos
2 Replies

6. Solaris

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... (7 Replies)
Discussion started by: prash358
7 Replies

7. Shell Programming and Scripting

installed java version ?

Hi, I want to know what version of the java is installed? Please let me know the command or process to identify the installed java version in sun solaris box. Thanks in advance for all your support. (3 Replies)
Discussion started by: sridhardwh
3 Replies

8. UNIX for Dummies Questions & Answers

Switching the version of java used

Hello, I'm trying to run a program that needs java 7, but java 6 is in the default folder and I don't have permission to change the /usr/bin/java folder and change the version. I have java 7 downloaded in a different folder (~/java) and am wondering how I can use that version while running the... (1 Reply)
Discussion started by: Jautis
1 Replies

9. HP-UX

Setting up new version of java

Hi, I have got jre 1.5 that I have got to install in the HP.UX version 11.31. I managed to install it with this command : # swinstall -s /tmp/<jre.XXXXX.depot> It automatically gets created in /opt/java1.5/jre/bin. However, now I am not sure how to set the PATH to JAVA_HOME, and path to... (1 Reply)
Discussion started by: anaigini45
1 Replies
JSVC(1) 						   Apache Commons Daemon project						   JSVC(1)

NAME
jsvc - application to launch java daemon SYNOPSIS
jsvc [-jvm JVM name] [-client client JVM] [-server server JVM] [-classpath path] [-cp path] [-java-home directory] [-version] [-help] [-?] [-nodetach] [-debug] [-check] [-user user] [-wait waittime] [-umask mask] [-stop] [-verbose:class|gc|jni] [-outfile /full/path/to/file] [-errfile /full/path/to/file] [-pidfile /full/path/to/file] [-Dproperty=value] [-Xoption] DESCRIPTION
jsvc executes classfile that implements a Daemon interface. OPTIONS
-jvm JVM name use a specific Java Virtual Machine. -client client JVM use a client Java Virtual Machine. -server server JVM use a server Java Virtual Machine. -cp/ -classpath directory and zip/jar files set search path for service classes and resouces -java-home directory set the path of your JDK or JRE installation (or set the JAVA_HOME environment variable) -version show the current Java environment version (to check correctness of -home and -jvm. Implies -nodetach) -help show this help page (implies -nodetach) -nodetach don't detach from parent process and become a daemon -debug verbosely print debugging information -check only check service (implies -nodetach) -stop stop the service using the file given in the -pidfile option -wait waittime wait up to waittime seconds for the service to start waittime should multiple of 10 (min=10) -umask mask sets the file mode creation mask -user user user used to run the daemon (defaults to current user) -verbose[:class|gc|jni] enable verbose output -outfile /full/path/to/file Location for output from stdout (defaults to /dev/null). Use the value '&2' to simulate '1>&2', or 'SYSLOG' to send output to the system log. -errfile /full/path/to/file Location for output from stderr (defaults to /dev/null). Use the value '&1' to simulate '2>&1', or 'SYSLOG' to send output to the system log. -pidfile /full/path/to/file Location for output from the file containing the pid of jsvc (defaults to /var/run/jsvc.pid) -D<name>=<value> set a Java system property -X<option> set Virtual Machine specific option AUTHOR
JSVC is part of the Apache Commons Daemon project. Authors are Jean-Frederic Clere, Remy Maucherat, Yoav Shapira, Bill Barker, Mladen Turk. JSVC is released under the Apache License Version 2.0. Jsvc version 1.0.6 06/10/2014 JSVC(1)
All times are GMT -4. The time now is 09:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy