Results 1 to 9 of 9
- 03-12-2011, 12:34 PM #1
Cannot Execute java programs from the command prompt
Hi guyz,
I am unable to execute any program in command prompt yet the path is set correctly. Even when i try to execute java version i get 3 errors
1. Error: Failed reading value of registry key: Software\JavaSoft\Java Runtime Enviroment\ Current Version
2. Error: Could not find java.dll
3. Error: Could not find Java SE Runtime Enviroment
Also i cannot run any jar file by double clicking!!:(
What could be the source of all these problems?
Your help will be highly appreciated
Best RegardsWe Learn Through Mistakes..,
Manfizy:rolleyes:
- 03-12-2011, 09:16 PM #2
Any help guyz?
We Learn Through Mistakes..,
Manfizy:rolleyes:
- 03-12-2011, 09:30 PM #3
This is the exact error that am getting.
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Manfrizy>java version
Error: Failed reading value of registry key:
Software\JavaSoft\Java Runtime Environment\CurrentVersion
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
C:\Users\Manfrizy>
Am so frustrated by this thing right now coz i cant do anything on my projectsWe Learn Through Mistakes..,
Manfizy:rolleyes:
- 03-12-2011, 10:47 PM #4
Senior Member
- Join Date
- Jan 2011
- Location
- Belgrade, Serbia
- Posts
- 227
- Rep Power
- 3
maybe reinstalation of jre?!?
- 03-12-2011, 10:54 PM #5
i have already done that several times but nothing happens
We Learn Through Mistakes..,
Manfizy:rolleyes:
- 03-12-2011, 10:59 PM #6
Senior Member
- Join Date
- Jan 2011
- Location
- Belgrade, Serbia
- Posts
- 227
- Rep Power
- 3
sorry man, no idea. looks like it has something with win and registry but i'm not sure...
- 03-12-2011, 11:55 PM #7
Senior Member
- Join Date
- Feb 2010
- Posts
- 128
- Rep Power
- 0
Try to remove the registry entry and reinstall the JRE again.
1.Remove registry entry that is erroring out
2.Reinstall Java itself
3.Reinstall JREMeasuring programming progress by lines of code is like measuring aircraft building progress by weight.
-
- 03-13-2011, 11:03 AM #9
Similar Threads
-
running command prompt using java
By xclaim in forum New To JavaReplies: 1Last Post: 01-14-2010, 03:46 AM -
Command Prompt Java
By kelvinsmj in forum New To JavaReplies: 8Last Post: 11-27-2009, 10:30 AM -
[SOLVED] Running java programs from the command prompt
By wiz0r in forum New To JavaReplies: 6Last Post: 04-20-2009, 04:34 AM -
Execute small java programs through Internet.........is thst possible??
By atanu.dey in forum New To JavaReplies: 1Last Post: 01-05-2008, 07:48 PM -
Unable to execute command line command in java
By LordSM in forum New To JavaReplies: 1Last Post: 08-08-2007, 12:23 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks