Java Update Java Version to 5.0 - Instructions & Tips

  • Thread starter Thread starter hytechpro
  • Start date Start date
  • Tags Tags
    Java
Click For Summary
After updating to version 5.0 and changing the Java version in preferences, the user is experiencing an issue where the terminal still shows Java version 1.4 as the default when executing "java -version." They seek guidance on how to set version 5.0 as the default from the terminal. A response suggests installing jdk1.5.0_04 from Google and running the setup, noting that there may not be significant differences between the versions.
hytechpro
Messages
2
Reaction score
0
Hi,

I just updated to 5.0 and changed the java version from the java preferences as instructed in the installation instructions. However, from the terminal if I type java -version it shows that the 1.4 is still the default. Can someone tell me how to set 5.0 as the default from the terminal.

Thanks:
http://www.hytechpro.om"
 
Last edited by a moderator:
Technology news on Phys.org
hai,

You can install the jdk1.5.0_04 from the google.com.And run the Setup.
But mainly no difference each other.

Thank:
www.handshakeit.com
 
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
15K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K