aspose file tools*
The moose likes Beginning Java and the fly likes jre in sdk does not work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "jre in sdk does not work" Watch "jre in sdk does not work" New topic
Author

jre in sdk does not work

Ender Ak
Greenhorn

Joined: Aug 11, 2007
Posts: 4
Hi
i downloaded java SDK includes jre and installed it. and i now difference between them, jre to run java program and, sdk is development kit which include compiler etc..and my code is running ,i mean i wrote hello.java to test my installations and it is working i compiled and run it. but i dont understand why my JRE is not working..None of the browser could detect my jre. So i go sun.com and download only jre and install it. After this installation browser can detect my jre.
Now my question: is there any thing that after install the SDK that i should do to be able to run jre?
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

"ender," please check your private messages by clicking on My Private Messages. Thanks!


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170

The SDK includes the JRE. That should include the plugins for the browsers. So there was just some problem there.


The JRE that is inside the SDK subdirectory is only to run the SDK's tools. Still the SDK should install a proper JRE as well.
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

If you can run your "Hello" program, then your JRE is working. It sounds like your browser (IE?) was just missing a Java plugin.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jre in sdk does not work