Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

newib needs help...

Status
Not open for further replies.

A1METALHEAD

Programmer
May 21, 2004
76
0
0
US
hello, i just started in java, and i installed J2EE 1.4 SDK and the free version of JCreator. and evry time i start my page, it comes up with java.lang.ClassNotFoundException , and then the class name. here is the sorce of the app:

public class javaTest extends java.applet.Applet
{
public void paint(java.awt.Graphics g)
{
g.drawString("Hello world!",100,25);
}

}

then the HTML file:

<body>
<applet codebase="classes" code="javaTest.class" width=584 height=58>
</applet>
</body>

thank you
~metalhead
 
u need to set the classpath to refer to physical location of javaTest
 
im sorry, but what dose that mean, and how do i do it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top