This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark ""no publich JRE."" Watch ""no publich JRE."" New topic

"no publich JRE."

Paul O'Donnell

Joined: May 20, 2009
Posts: 2
I installed Java 6, compiled a program successfully. When I tried to run it, I got the message: "no publich JRE."

What causes this error, and how do I fix it?

The environment is XP. Java 5 is also installed on this box.

Geoff Jefferson
Ranch Hand

Joined: Apr 09, 2009
Posts: 102
The only thing I can think of is to re-install the JKD to make sure you got it and not just JRE which
can cause this message.

I agree. Here's the link:
subject: "no publich JRE."
Similar Threads
Jave EE/JRE installation
jre & jvm
Jboss failed to run on vista
URGENT! Cant use mouse in swing application
Classpath variable in Eclipse