Search found 4 matches

by shohreh
Sun May 21, 2006 1:22 am
Forum: Java
Topic: class or interface error
Replies: 2
Views: 1697

class or interface error

How do I correct this error
circle.java:56: 'class' or 'interface' expected
{
^
1 error
import java.util.StringTokenizer;
import java.applet.Applet;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.geom.Ellipse2D;
import java.awt.event.MouseAdapter;
import java.awt.event ...
by shohreh
Tue May 09, 2006 1:33 am
Forum: Java
Topic: the run or compile shows nothing in text pad.
Replies: 2
Views: 1835

the run or compile shows nothing in text pad.

Please tell me if this is correct?

In the command area I have entered
C:\Program Files\Java\jdk1.5.0_06\bin\javac.exe

In the parameters I have entered
$File

In the inital folder I have entered:
C:\Program Files\Java\jdk1.5.0_06\bin

I have capture output checked.


When I run or compile the code ...
by shohreh
Tue May 02, 2006 7:54 pm
Forum: Java
Topic: Compile Java Error: javac.exe
Replies: 5
Views: 5064

java.lang.NoClassDefFoundError

I have entered in the run command C:\Program Files\Java\jre1.5.0_06\bin\java.exe
in the parameters I have entered $File
in the initial folder is entered C:Program Files\Java\jre1.5.0_6\bin
and I get this error java.lang.NoClassDefFoundError the address and Exception in thread "main". How do I ...
by shohreh
Sun Apr 23, 2006 9:57 pm
Forum: Java
Topic: Compile Java Error: javac.exe
Replies: 5
Views: 5064

How do I set up the compile and run command

I tried downloading JDK 5.0 Update 6, but it still gives me the javac error.
C:\WINDOWS\system32\javac.exe.

What do I insert into the run command, parameters, initial folder?


Please reply I would truly appreciate your help.