Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets 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.

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