07-12-2018
I don't say you are doing it wrong... But somehow you do... Java should be in your path and that should be a link to the version you are using! Also maybe it is wrong on my site and you are doing it... You decide
For me
java is in
/usr/bin and that is a link to
/usr/bin/java -> /some very long path/java
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Forgive the sheer volume of verbiage:
Sco Openserver 6 - how to install Java 1.42_14b:
The documentation says:
"Make a subdirectory and unwind the tar file into that subdirectory.
mkdir JAVA142
cd JAVA142; tar -xf ../OSR6_Java2_142.VOLS.tar
Run the Software Manager with the command: ... (6 Replies)
Discussion started by: LetSco
6 Replies
2. Solaris
Hello.
I was trying to installe oracle 10g on solaris t0 x86 and got few exception? Could you please suggest, what might be going wrong?
$ ls -l
total 32
drwxr-xr-x 9 oracle dba 512 Nov 21 03:50 doc
drwxr-xr-x 5 oracle dba 512 Nov 21 03:50 install
drwxr-xr-x 2... (5 Replies)
Discussion started by: panchpan
5 Replies
3. HP-UX
please help me how to install java 5.0 in HPUX ...where can i download java 5.0 for HPUX?
thanks
winky (6 Replies)
Discussion started by: winky
6 Replies
4. UNIX for Dummies Questions & Answers
I have created a server monitor program in Java that connects to servers via SSH and constantly refreshes the new server load every 3 mins. The problem is that even though it is a Java app running shell commands to get the load info, the commands still appear in 'history'.
The question is.. is... (1 Reply)
Discussion started by: AndrewSH
1 Replies
5. Web Development
Hi all,
I recently changed the name of my hostname from 'abc123' to 'abc456' (as an example).
I then added a user in my mysql database with the new host and removed references to the old users and hostname.
The strange thing is though, a process using the database still uses the old... (1 Reply)
Discussion started by: muay_tb
1 Replies
6. Red Hat
Hi Forum
Im a new to fedora and was wondering ,Can anybody direct me to a site that shows me how to install Java EE 6 SDK Update 1 (with JDK 6 Update 23) for fedora 14. NOT openjdk i need oracles java to develop a web app using tomcat 7.0
Any help would be much appreciated and thank you in advance (1 Reply)
Discussion started by: ShinTec
1 Replies
7. UNIX for Dummies Questions & Answers
Hello,
When i attempt to install Java. I get this error code
Can someone tell me what im doing wrong. (2 Replies)
Discussion started by: Fob Upset
2 Replies
8. Shell Programming and Scripting
more works.sh
#!/bin/ksh
{
print "From: reportgenerator@myserver.com"
print "To: randomguy@myfirm.com"
print "MIME-Version: 1.0"
print "Content-Type: text/html"
print "Subject: Disk Report"
print "<body>"
print "<table border=1>"
... (3 Replies)
Discussion started by: mohtashims
3 Replies
LEARN ABOUT DEBIAN
update-java-alternatives
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)