Help with java version
23/01/2018 12:08
I installed the jdk1.7 from Sun and Eclipse promptly broke.

So I uninstalled jdk1.7 and Eclipse is still broken.

From a command prompt, I do a java -version
java version 1.7.0-eaJava(TM) SE Runtime Environment (build 1.7.0-ea-b10)Java HotSpot(TM) Client VM (build 1.7.0-ea-b10, mixed mode, sharing)
How does the OS know what Java version I am running and why is it reporting the version I unistalled?

Source is Usenet: comp.lang.java.help
Sign in to add a comment

Answer score: 5
23/01/2018 12:08 - The installation of jdk1.7 did not fail, nor did the uninstall. I found what the problem is... the jre 1.7 was still installed which would explain why my java -version was reporting what it was.


Now that I have uninstalled the jre I am getting the correct response
java version 1.6.0-rcJava(TM) SE Runtime Environment (build 1.6.0-rc-b90)Java HotSpot(TM) Client VM (build 1.6.0-rc-b90, mixed mode)
Anyway, I got around it by creating a dos batch job to run eclipse specifying the correct jre, which is probably not needed now that I am getting the correct version. Must have been something in the registry.


Source is Usenet: comp.lang.java.help
Sign in to add a comment

Answer score: 5
23/01/2018 12:08 -
Hi! I am not able to provide help with failedinstallations, but it is a tricky subject, andonly a few people are willing to take it on.

For that reason, I thought I'd take the libertyof changing the subject line, to help gain theattention of those folks.


(thinks hard, does quick search) On the otherhand, this page from mindprod might provide someuseful tips..

<http://mindprod.com/jgloss/jdk.html#FAILED>
Best of luck with it.


Andrew T.



Source is Usenet: comp.lang.java.help
Sign in to add a comment

eDiscover
Helpforce eDiscover provides technical articles updated each dayHelpforce eDiscover RSS feed contains the latest technical articles in RSS
Click the logo to go back to the main page
Search eDiscover
  
Categories

Click an icon to go to that category

Helpforce eDiscover contains articles about Microsoft Windows Helpforce eDiscover contains articles about Apple products and MacOS Helpforce eDiscover contains articles about Linux and POSIX operating systems Helpforce eDiscover contains articles about Helpforce Helpforce has a large variety of technical information and articles for you to read Helpforce eDiscover contains articles about databases, MYSQL, SQL Server Oracle Helpforce eDiscover contains articles about Java, JVM and the JRE Helpforce eDiscover contains articles about the QNX operating system Helpforce eDiscover contains articles about Oracle Solaris and Open Solaris Helpforce eDiscover contains articles about RISC OS, Acorn and the BBC Micro Helpforce eDiscover contains articles about Amiga and AmigaOS

Type your comment into the box below