Sponsored Content
Full Discussion: Java Install Failure
Operating Systems Solaris Java Install Failure Post 302981020 by jlliagre on Tuesday 6th of September 2016 12:47:53 PM
Old 09-06-2016
/usr/java belongs to the Operating System, not to the local administrator so it is not a proper location to install an arbitrary program. You should extract the tarball under a suitable location, for example /opt/java and set your PATH accordingly should you want this version of java to be used instead of the one supported and bundled with the Operating System. Only packaging commands (pkgadd on Solaris 10, pkg on solaris 11) are allowed to install anything under /usr.
These 2 Users Gave Thanks to jlliagre For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

fbdesk install failure

hello all. I just started to use fluxbox (www.fluxbox.org) as my gui, i like the fact that it is much faster than kde. The only problem is that it doesn't support icons on the desktop nativly. If you want that ability you have to instal the fbdesk package. When i go to instal this package i get an... (0 Replies)
Discussion started by: Shifty
0 Replies

2. Solaris

java install sheild

dear all there is any one can help me in a document about java install sheild in solaris (0 Replies)
Discussion started by: murad.jaber
0 Replies

3. AIX

Trying to install Java 5

I am not an AIX admin, but the guy that usually is has left and I am now the default person to do this stuff (scary for them). I am trying to install Java 5 on AIX 5.3, and am getting MISSING REQUISITES: The following filesets are required by one or more of the selected filesets listed... (5 Replies)
Discussion started by: Kirath
5 Replies

4. AIX

bos.rte.5.2.0.10 - Failure to Install (/usr/lib/methods/cfgsf bad permissions)

I have a RS/6000 B80 which just had a disk failure; I've added a new drive and am in the process of rebuilding. I have reinstalled AIX 5.2 and am now looking to begin updating. (fyi this will be the second time I have attempted to rebuild this machine, the first time i installed ML 5200-10 and... (1 Reply)
Discussion started by: wesiman
1 Replies

5. Solaris

Failure to telnet in new install Sun5.10

Hi, I telnet to the localost in new install Sun 5.10 I get below error I also telnet from other to this mahcine but get "access deny" after input root password. The password is correct as I can login in console "Not on system console connection to unknown cloase by foregin host" Why ,... (25 Replies)
Discussion started by: chuikingman
25 Replies

6. UNIX for Dummies Questions & Answers

Failure to install Linux

I need help. My recently downloaded LINUX version won't install. Is this because of as previous OS being installed in my PC. I removed it prior to my LINUX installation and this is where problems started. (2 Replies)
Discussion started by: henzbelmont
2 Replies

7. Shell Programming and Scripting

Rsync through java program - issues with remote connection failure

Hi Everybody, I am running rsync through my java application. The Java application will sync the files with remote machine. During our connection failure testing we noticed an issue running rsync through java program. The java application which is running at source side is not receiving any... (2 Replies)
Discussion started by: MVEERA
2 Replies

8. Solaris

Oracle DB install failure

Hi all, I'm quite new to Solaris and I've been searching around everywhere to try and find the root of my Oracle DB install problem. It quits immediately when it runs isainfo when it gets a return of 3md64. To me this looks like there is a typo where ever isainfo pulls it's info from, but I... (13 Replies)
Discussion started by: asilv
13 Replies

9. Gentoo

Java install

Hi Guys I have installed latest java version 8.0, but now when I use java -version I still get an old version. How do I correct this ? Thanks in advance... (3 Replies)
Discussion started by: Phuti
3 Replies

10. Fedora

Fedora: Uninstall Java JDK 1.8 and install Oracle Java 1.7.15

Hi All, I have just downloaded fedora 27 iso and set it up in virtual box. I want to learn Hadoop so trying to install Apache hadoop. Before all those I have to install Oracle Java 1.7.15 (as mentioned in the Apache hadoop page). Can you please help me how to Uninstall currently installed... (6 Replies)
Discussion started by: TechGyaann
6 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 07:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy