JDK installation. An awesome challenge.

Thread Tools Search this Thread
Operating Systems Solaris JDK installation. An awesome challenge.
# 1  
Old 01-24-2018
JDK installation. An awesome challenge.

Hello guys,
I've tried to install more recent version of JDK (1.8.0_161), SVR4 package.
Everything went succesfully except one thing.
The OS persistenly refuses to recognize newest java version. Smilie There should be 1.8.0_161 instead.
I've done everything that is described for SVR4 packages, here: JDK 8 Installation on the Oracle Solaris Operating System

#java -version
java version "1.5.0_06"

Please any ideas.

Thanks in advance

Last edited by wolfgang; 01-25-2018 at 05:33 AM..
# 2  
Old 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.

# 3  
Old 01-24-2018
Hi there,
It seems, I've just solved that.
The solution was creating newest link called "java" that is linked to the another link "jdk1.8.0_161" that was created just after packages installation.
Just had done that by analogy as it was done by OS itself for original JDK.

Of course, the "original" link ''java" was removed. Passed first challenge. There are lots of them ahead..

Last edited by wolfgang; 01-24-2018 at 08:47 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Proxy Server

Installation JDK in the LXC container - Host behind Proxy

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

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

3. Programming

Installing jdk

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

4. Red Hat

Apache,php,mysql, and jdk 1.6 update 20 installation on RHEL 5.5

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

5. Ubuntu

JDK path

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

6. Solaris

jdk installation - update environment?

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

7. Solaris

Jdk 1.6 Installtion

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

8. Solaris

Solaris SPARC 10 64Bit -JDK Installation 1.6.05

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

9. Red Hat

jdk installation question

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

10. UNIX for Dummies Questions & Answers

JDK Installation

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
Login or Register to Ask a Question

Featured Tech Videos