Sponsored Content
Full Discussion: install jre in local zone
Operating Systems Solaris install jre in local zone Post 302495045 by lhareigh890 on Wednesday 9th of February 2011 08:20:48 AM
Old 02-09-2011
I already installed the JDK 6
Code:
bash-3.00# echo $JAVA_HOME
/opt/jdk1.6.0_23
bash-3.00# java -version
java version "1.5.0_26"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_26-b03)
Java HotSpot(TM) Server VM (build 1.5.0_26-b03, mixed mode)

how can I point it to the alternate java? I could not locate the alternatives though. thanks

Last edited by DukeNuke2; 02-09-2011 at 09:27 AM..
 

9 More Discussions You Might Find Interesting

1. Solaris

Not able to ping global zone from local zone

Hi Gurus I am not able to ping the local zone from global zone when i am trying to ping i am getting below ICMP Host Unreachable from gateway zone ( 192.268.35.210) for icmp from zone ( 192.168.35.210) to sun1 ( 192.168.35.210) However i can ping local zone from global please... (12 Replies)
Discussion started by: kumarmani
12 Replies

2. Solaris

Global zone name from local zone

How to check the global zone name from local zone. (6 Replies)
Discussion started by: fugitive
6 Replies

3. Solaris

Swap in local zone

Hello folks, I have question regarding behavior of local zone which has no dedicated swap configured. Zone has set only capped memory, and my question is if all memory is occupied if this zone will start to use swap from the global zone?? I'm little bit confused from information regarding... (6 Replies)
Discussion started by: brusell
6 Replies

4. SCO

How to install Apache 5.0 and JRE 1.4.0

Hello, I have a problem to run the the Web aplication Cincom Mantis XML on a SCO 6.0 with MP2. My Tomcat is 4.1.31 The Cincom support tell me tha I need the Apache Tomcat 5.5 and Java JRE 1.4.0 Can I install a linux version into SCO 6.0 system ? Thank you for your help. ... (1 Reply)
Discussion started by: hrmaldonado
1 Replies

5. Solaris

Covert Global zone to local zone

Dears, I would like to convert solaris 10 x86 and solaris 10 sparc (Global Zones) physical servers into Local zones. i found a document which seems to be helpful but i'm stuck @ the 1st step. to test this i want to do it 1st on x86 system running under vmware ESXi and if it succeeds i will... (1 Reply)
Discussion started by: mduweik
1 Replies

6. UNIX for Dummies Questions & Answers

Need to find the OS JRE as well as User installed JRE on my UNIX box!

Hi, I want to determine whether my java application is pointing to the OS version of Java or the User installed Java version on my Unix box. I am aware of the "java -version" command, however I am unsure if the version returned is the OS one or the user one. Please help. Ali. (5 Replies)
Discussion started by: ali40
5 Replies

7. Solaris

SIGPWR on local zone

Can anyone explain how you can get a SIGPWR signal on a Solaris 10 local zone, but none of the other zones on the frame had a problem. :confused: (1 Reply)
Discussion started by: JerryHone
1 Replies

8. Solaris

Solaris 10 local zone on Solaris 11 global zone

Hi, A quick question: Can Solaris 10 local zones be moved to a Solaris 11 global zone and work well? Thank you in advance! (5 Replies)
Discussion started by: aixlover
5 Replies

9. Solaris

New ZFS FS not seen on local zone

Hi , I added a new fs to the global zone and also did the zonecfg to add the FS to the zone but finally I do not see the new "FS" on the local zone. Even in th e/etc/zones/zone.xml the fs and the correct directory is mentioned. Any Idea please ? (4 Replies)
Discussion started by: manni2
4 Replies
UPDATE-JAVA-ALTERNATIVES(8)				      System Manager's Manual				       UPDATE-JAVA-ALTERNATIVES(8)

NAME
update-java-alternatives - update alternatives for jre/sdk installations SYNOPSIS
update-java-alternatives [--jre] [--plugin] [-t|--test|-v|--verbose] -l|--list [<jname>] -s|--set <jname> -a|--auto -h|-?|--help DESCRIPTION
update-java-alternatives updates all alternatives belonging to one runtime or development kit for the Java language. A package does pro- vide these information of it's alternatives in /usr/lib/jvm/.<jname>.jinfo. OPTIONS
-l|--list [<jname>] List all installed packages (or just <jname>) providing information to set a bunch of java alternatives. Verbose output shows each alternative provided by the packages. -a|--auto Switch all alternatives of registered jre/sdk installations to automatic mode. -s|--set <jname> Set all alternatives of the registered jre/sdk installation to the program path provided by the <jname> installation. --jre Limit the actions to alternatives belong to a runtime environment, not a development kit. --jre-headless Limit the actions to alternatives belong to the headless part of a runtime environment. --plugin Limit the actions to alternatives providing browser plugins. -h|--help Display a help message. -t|--test Don't actually do anything, just say what would be done. The implementation status of this option is the same as for update-alter- natives (not implemented). -v|--verbose Verbose output. FILES
/usr/lib/jvm/.*.jinfo A text file describing a jre/sdk installation. Consists of some variables of the form <var>=<value> and a list of alternatives of the form jre|jdk <name> <path>. AUTHOR
update-java-alternatives and this manual page was written by Matthias Klose <doko@ubuntu.com>. May 2006 UPDATE-JAVA-ALTERNATIVES(8)
All times are GMT -4. The time now is 01:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy