Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Need to find the OS JRE as well as User installed JRE on my UNIX box! Post 302482558 by ali40 on Wednesday 22nd of December 2010 01:15:23 AM
Old 12-22-2010
"which java" gives me "/opt/java/jdk/jdk160/bin/java"

does this mean that the application points to this location or just that it searches for the path and directory containing java...

echo $PATH gives /opt/java/jdk/jdk160/bin

are there any other environment variables i need to check or which java solves my doubt?

Thanks vbe in advance and for your patience Smilie
 

10 More Discussions You Might Find Interesting

1. BSD

JRE on frebsd 4.11

Hello I try to install ports JRE on freebsd 4.11 So I Download manually in distfiles the j2sdk-1_4_2_06-linux-i586.bin Then I tape make install in the jre ports it tell me that: ===> Vulnerability check disabled, database not found ===> Extracting for linux-sun-jdk-1.4.2.06_1 => Checksum... (1 Reply)
Discussion started by: SoulCoder
1 Replies

2. Solaris

Installing JRE 1.4 errors

I'm attempting to install the Java JRE 1.4 on SunOS 5.8 box. I installed dozens of Sun patches without error, however when I download the JRE from sunsolve, I keep getting: Do you agree to the above license terms? yes Unpacking... Checksumming... 1 The download file appears to be... (2 Replies)
Discussion started by: FredSmith
2 Replies

3. Shell Programming and Scripting

How to Find JRE installed in linux machine..?

Hi all, Im new to linux... Im in need to write a shell script to check wthr JRE in linux machine... Wtz de best way to find thru BASH?? Plz help me out to solve this issue... Thanks (3 Replies)
Discussion started by: XivaX
3 Replies

4. UNIX for Dummies Questions & Answers

JRE in Fedora 7

Hi, I am trying to install the Java Runtime Environment in Fedora 7. However, according to articles such as this: How to Install Java in Fedora Core 6 - Java Runtime Environment - Softpedia I should have a plugin directory in the jre directory. I don't have that after running the... (1 Reply)
Discussion started by: user23
1 Replies

5. Programming

JRE in Fedora 7

Perhaps this is the right forum for this question? Hi, I am trying to install the Java Runtime Environment in Fedora 7. However, according to articles such as this: How to Install Java in Fedora Core 6 - Java Runtime Environment - Softpedia I should have a plugin directory in the jre... (3 Replies)
Discussion started by: user23
3 Replies

6. AIX

JRE 1.6 for AIX

Hi, I am new to AIX and working in AIX 5.3 and I want to install the JRE1.6 in the machine.So can I can anyone tell me where I will get it and how to install it on AIX machine.. Thanks in advance for your help.. (2 Replies)
Discussion started by: smartgupta
2 Replies

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

8. UNIX for Dummies Questions & Answers

jre location PATH

How do you set the classpath for jre location....What are all the steps? (4 Replies)
Discussion started by: siddhans
4 Replies

9. UNIX for Advanced & Expert Users

Jre not working in Fedora

I am having trouble getting my jre to work. I have uninstalled and reinstalled it several times but that is not working. I have setup the firefox symlink. sudo ln -s /usr/java/jre1.7.0_21/lib/i386/libnpjp2.so I have tried to follow these instructions. ... (4 Replies)
Discussion started by: cokedude
4 Replies

10. AIX

JRE 1.4 Download location

Dear Expert, I'm will use the software monitoring server. but need the JRE ( Java runtime 1.4 for aix 6.1) I find at dvd aix doest exist, and find google I dont have the link location download. please share location file or Java runtime 1.4 for aix 6.1. regards, ~ruhul (1 Reply)
Discussion started by: williamen
1 Replies
JAVA-WRAPPERS(7)						   Java wrappers						  JAVA-WRAPPERS(7)

NAME
java-wrappers - capacities shared by java wrapper scripts DESCRIPTION
Most Java programs are not run directly, but through small shell scripts that take care of various things, such as finding a suitable java environment and looking for libraries. To ease the task of the maintainers, they rely on a library providing runtime detection, library detection and other features. This manual page describes the common features of all those scripts, and to which point you can configure them. This is mainly done via environment variables. ENVIRONMENT VARIABLES
java-wrappers understands some environment variables: JAVA_CMD The java command that will be run. If this variable is set, it disables all lookup for a java runtime. JAVA_BINDIR Specifies a directory that will be looked for a java or a jdb executable (depending on the setting of JAVA_DEBUGGER). It has prece- dence over JAVA_HOME but not over JAVA_CMD. JAVA_HOME A path to a java runtime. If this variable is set, all lookup for a java runtime is disabled, except that if no java executable is found in the path, the command java is used. JAVA_FLAVOR A probably more easy-to-use version of the JAVA_HOME variable: instead of specifying the full path of the java runtime, you name it. List of available flavors can be found in the file /usr/lib/java-wrappers/jvm-list.sh. See examples below. JAVA_DEBUGGER If this is set, the wrapper will try to pick up a java debugger rather than a java interpreter. This will fail if the jbd of the runtime found is a stub. JAVA_CLASSPATH Additional classpath, will have priority over the one found by the wrapper. JAVA_ARGS Additional arguments to the java command. They will come before all other arguments. FORCE_CLASSPATH If this variable is set, it will be the only classpath. You'd better know what you are doing. DEBUG_WRAPPER This is probably the most important variable; if it set, the wrapper will print out useful information as it goes by its business, such as which runtime it did find, and which command is run eventually. JAVA_JARPATH The path where the wrappers will go looking for jar archives. If not set, the wrapper will look into the default directory, /usr/share/java. Warning : the wrapper will not look anywhere else than in JAVA_JARPATH. Setting it incorrectly will most probably result in early crashes. EXAMPLES
The examples all rely on rasterizer(1), from the package libbatik-java, but they really apply to all scripts that use java-wrappers. Print out debugging information: DEBUG_WRAPPER=1 rasterizer Limit rasterizer's memory to 80 MB: JAVA_ARGS=-Xmx80m rasterizer Force rasterizer to run with kaffe(1): JAVA_HOME=/usr/lib/kaffe rasterizer The same, but using JAVA_BINDIR: JAVA_BINDIR=/usr/lib/kaffe/bin rasterizer Force rasterizer to run with openjdk: JAVA_FLAVOR=openjdk rasterizer Debug rasterizer with Sun's debugger, while printing debugging information from the wrapper: DEBUG_WRAPPER=1 JAVA_CMD=/usr/lib/jvm/java-6-sun/bin/jdb rasterizer BUGS
Care has been taken to make the wrappers bug-free. If that was not the case, please file a bug report against the java-wrappers package. If you wish to submit any problem with a java executable relying on java-wrappers, please also submit the output of the command run with DEBUG_WRAPPER=1. It will save one mail exchange and therefore potentially reduce the time it takes to fix the bug. DEVELOPERS
There is currently no documentation about writing a wrapper script save the comments in /usr/lib/java-wrappers/java-wrappers.sh. If you have to write one, we suggest you base yourself upon, for instance, the rasterizer wrapper script, or any other one (just pick up any direct reverse dependency of java-wrappers and look for scripts). SEE ALSO
java(1), jdb(1) /usr/lib/java-wrappers/java-wrappers.sh AUTHOR
java-wrappers and its documentation were written by Vincent Fourmond <fourmond@debian.org> Version 0.1.16 2010-05-04 JAVA-WRAPPERS(7)
All times are GMT -4. The time now is 05:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy