How to Upgrade Jdk After install in linux

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to Upgrade Jdk After install in linux
# 1  
Old 08-13-2009
How to Upgrade Jdk After install in linux


i want to upgrade my java version 1.4.2 to 1.6 in linux plateform after installing JDK. so what are the steps & commands in linux to upgrade it . Please Help me ...
# 2  
Old 08-13-2009
I would leave the older version of JDK in place for the moment just in case. You can delete it later onece you are satified that you no longer need it.

Download the new JDK version from Sun/Java and install it wherever you like. All you need to do then is set JAVA_HOME to point to the new JDK instead of the old JDK.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

2. UNIX for Beginners Questions & Answers

Upgrade/install real vnc from

Hi, I'm currently running real VNC version 5.3.1 and want to install (upgrade) to real VNC version 5.3.2, I have downloaded all the proper files for 5.3.2 and have them in the dir: HOME/APPS/VNC/13_AUG_2016 With 5.3.1 currently running, and properly licensed, what are the exact steps... (0 Replies)
Discussion started by: Janning
0 Replies

3. Solaris

How to install java (jdk-74) on solaris 10?

What kind of required java type for installed? which address link, i need to download the package. i have zcat this version jdk-7-solaris-sparc.tar.Z and then installed each the packages with pkgadd -d . , but my java version still java full version "1.5.0_24-b02".is it need doanything after... (1 Reply)
Discussion started by: aagusman
1 Replies

4. Shell Programming and Scripting

how to Install jdk.bin using shell script with auto yes/no?

#!/bin/sh echo "Installing Java!!!" cd /opt echo "Want to give execute Permissions to java!!!" chmod 755 jdk-6u7-linux-i586.bin echo "Executing the jdk script" ./jdk-6u7-linux-i586.bin This is the shell commands I am using... I want to know how to give answer to yes and no automatically... (6 Replies)
Discussion started by: sandeepbharmori
6 Replies

5. Shell Programming and Scripting

How to install jdk 6u17 in a prompt-less script

I came across this site while Googling for how to silently install JDK 6u17. I didn't find a solution, but I came up with this hack so I thought I'd post it here: The trick is to just temporarily disable the "more" application: ]# chmod u+x jdk-6u17-linux-x64-rpm.bin ]# # Prevent prompts...... (0 Replies)
Discussion started by: mhart
0 Replies

6. Solaris

solaris 8 - upgrade install

Hi, Im getting a downtime to upgrade a Solaris 8 system to Solaris 10 U8. Thus live upgrade is not necessary. Can I do the following? 1.break the svm mirror 2.change boot disk to raw device replacing the metadevice entries 3.from ok> prompt, boot cdrom <solaris 10 DVD> 4. Follow the screens of... (2 Replies)
Discussion started by: incredible
2 Replies

7. UNIX for Dummies Questions & Answers

Download & install JDK 1.6

Hi.. I want to download & install JDK 1.6 for linux so please help me where i can downlod it free Regards Rinku Garg (1 Reply)
Discussion started by: rinkugarg
1 Replies

8. Solaris

error during install jdk 5.0.11 packages

hi all i tried to install jdk on solaris 10 2008 and i used these packages in installation pkgadd -d SUNWj5cfg SUNWj5dmo SUNWj5dev SUNWj5rt SUNWj5jmp SUNWj5man all was good except one (SUNWj5rt) some of the output ERROR: attribute verification of... (3 Replies)
Discussion started by: maxim42
3 Replies

9. Shell Programming and Scripting

Script to install jdk

Hi, I need a shell script that would do silent installation of jdk on a linux machine. Can anyone help me with this? Thanx Sunny (6 Replies)
Discussion started by: eamani_sun
6 Replies

10. UNIX for Dummies Questions & Answers

Question about install JDK on SCO Unix

I try to run java file on SCO Unix, but my Unix doesn't setup with JDK environment. I go to to download JDK for SCO Unix, but there is only JDK for HP-UNIX, is it ok for SCO Unix? If it's ok, how can I install it to my Unix after I download? If it's not ok, How can I do to run java file in... (0 Replies)
Discussion started by: wendyz
0 Replies
Login or Register to Ask a Question