01-24-2018
Can you show us the output from which java?
It may be a PATH setting ins wrong (perhaps personally or a default path set in /etc/profile or /etc/enviornment or wherever), perhaps the executable is a symbolic link to the old version or even a script to the old version.
Perhaps sh -x java version might give you clues too. It might fail completely, but that would also be useful to know.
Robin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm trying to install JDK (Java Development tools) and i get this:
WARNING:
The <SUNWj6dev> package "JDK 6.0 Dev. Tools (1.6.0)" is
a prerequisite package and should be installed.
WARNING:
The <SUNWj6rtx> package "JDK 6.0 64-bit Runtime Env.
(1.6.0)" is a prerequisite package and should be... (0 Replies)
Discussion started by: idan_cn
0 Replies
2. Red Hat
hi, i just "yum install jdk*.i386" and installation was complete without any error. however, i tried to #javac helloworld " and javac is not found in the $PATH. i tried to locate it and didn't find it.
would anyone shed some light on where the "yum install" installed my jdk to? where can i find... (0 Replies)
Discussion started by: k2k
0 Replies
3. Solaris
In Sun Solaris 10, not able to create the key. JDK 1.6 Installed & PATH & JAVA_HOME both are referred to jdk 1.6. It is showing the belwo error
Error: wrap() failed
java.security.InvalidKeyException: wrap() failed
at sun.security.pkcs11.P11RSACipher.engineWrap(P11RSACipher.java:395)
at... (10 Replies)
Discussion started by: saktiviji
10 Replies
4. Solaris
How to install the jdk 1.6 in the solaris sparc 10 64bit. Any patch is required for jdk 1.6 for solaris (2 Replies)
Discussion started by: saktiviji
2 Replies
5. Solaris
Hi,
i have installed jdk 1.6 successfully but when i issue command
java -version
it shows me old version how to handle it.
kindly help (4 Replies)
Discussion started by: malikshahid85
4 Replies
6. Ubuntu
Hello,
I have installed the default JDK from Software centre, but when i type whereis JDK on the terminal.. i don't see any path :mad:
i need JDk to install a tool ... Hurry!!! please HELP:confused::confused: (4 Replies)
Discussion started by: paramad
4 Replies
7. Red Hat
I want to install Apache (version 2.2.X), php (version 5.3.X),mysql (version 5.5.X) on RHEL 5.5. Guide re. site address for download all rpm.
X = latest version.
Thanks in advance. (1 Reply)
Discussion started by: vasdaax
1 Replies
8. Programming
I just downloaded jdk, but am unsure about updating the PATH variable.
What steps should I follow ? Evidently I have to/prefer to be logged in as root to
install jdk on my UBUNTU 10.04 linux.BTW, this question needs to go in another
forum, but out of disuse I have forgotten my root... (1 Reply)
Discussion started by: sundaresh
1 Replies
9. HP-UX
How can i see if jdk is installed or not on my system. I am on HP UX B.11.31 (3 Replies)
Discussion started by: bang_dba
3 Replies
10. Proxy Server
Hello,
The host on which i work is a remote machine behind a proxy.
I have installed the jdk like that and it works well: (I access the remote machine via ssh)
http_proxy=http://proxy:3128 && https_proxy=http://proxy:3128
sudo apt-get install openjdk-7-jre-headless
:~# java... (1 Reply)
Discussion started by: chercheur111
1 Replies
LEARN ABOUT DEBIAN
mh_linkjar
MAVEN(1) User Commands MAVEN(1)
NAME
Maven - Creates a link in /usr/share/maven-repo for an existing jar.
SYNOPSIS
mh_linkjar [option]... [pom] [dest_jar] [link]...
DESCRIPTION
Create symlinks for a jar installed by other means. The symlinks created include links to the jar in /usr/share/maven-repo, at the correct
location for Maven. It can also create additional links to the jar, usually located in /usr/share/java.
Where
[pom] is the location of the POM associated with the jar to install.
GroupId, artifactId and version will be extracted from this file.
[dest_jar] is the path of the installed jar, usually located in the
usr/share/java folder.
[link] is an additional link to the jar to install, usually there should
be a link to usr/share/java/$jar.jar and usr/share/java/$jar-$version.jar to comply with the Java packaging guidelines. Note that
there is no need to specify those particular links if the --java-lib option is used.
OPTIONS
-h --help: show this text
-V --version: show the version
-p<package> --package=<package>: name of the Debian package which
will contain this jar file
-e<version>, --set-version=<version>: set the version for the jar,
do not use the version declared in the POM file.
-r<rules> --rules=<rules>: path to the file containing the
rules to apply when cleaning the POM. Optional, the default location is debian/maven.rules Maven rules are used here to extract the
groupId, artifactId and version from the POM file.
-l --java-lib: Optional, if given it will install the jar into
/usr/share/java to comply with the Debian Java specification. The jar will be installed as /usr/share/java/$name-$version.jar and a
versionless link /usr/share/java/$name.jar will point to it, as well as the links installed in /usr/share/maven-repo
-n<name> --usj-name=<name>: Optional, the name to use when installing the
library in /usr/share/java when --java-lib is used. Defaults to the artifact id found in the POM.
-j<version> --usj-version=<version>: Optional, the version to use when
installing the library in /usr/share/java when --java-lib is used. Defaults to the version found in the POM.
-s --no-usj-versionless: Optional, don't install the versionless link
in /usr/share/java. This flag is used only when the -l or --java-lib option is given.
-c<classifier> --classifier=<classifier>: Optional, the classifier for
the jar. Empty by default.
-v --verbose: show more information while running
-n --no-act: don't actually do anything, just print the results
--skip-clean-pom: don't clean the pom, assume that a previous action ran
mh_cleanpom with the correct options. mh_cleanpom is run only to extract the groupId, artifactId and version of the jar
Maven Repo Helper version 1.7.1 January 2012 MAVEN(1)