MisterInsane
Gebruiker
- Lid geworden
- 7 apr 2003
- Berichten
- 168
ik probeer dus hello world in elkaar te steken en toch lukt dit me niet echt
we moeten dus staugIO invoegen, en ik weet al geen kanten waar ik deze bestanden moet plaatsen, ik heb het nu zowat in iedere map geplaatst en toch lukt het me niet,
ik gebruik netbeans en dit kreeg ik als antwoord:
init:
deps-jar:
Compiling 1 source file to C:\Documents and Settings\Pieter\HelloWorld\build\classes
C:\Documents and Settings\Pieter\HelloWorld\src\helloworld\HelloWorld.java:10: package staugIO does not exist
import staugIO.StaugIO;
C:\Documents and Settings\Pieter\HelloWorld\src\helloworld\HelloWorld.java:16: cannot access StaugIO
bad class file: C:\Program Files\Java\jdk1.6.0\jre\classes\StaugIO.class
class file contains wrong class: staugIO.StaugIO
Please remove or make sure it appears in the correct subdirectory of the classpath.
StaugIO io = new StaugIO();
2 errors
BUILD FAILED (total time: 2 seconds)
dit is hetgeen ik heb staan:
import staugIO.StaugIO;
public class HelloWorld
{
public static void main (String args[])
{
StaugIO io = new StaugIO();
io.writeInfo("HelloWorld");
System.exit(0);
}
}
kan iemand mij helpen?
mvg
we moeten dus staugIO invoegen, en ik weet al geen kanten waar ik deze bestanden moet plaatsen, ik heb het nu zowat in iedere map geplaatst en toch lukt het me niet,
ik gebruik netbeans en dit kreeg ik als antwoord:
init:
deps-jar:
Compiling 1 source file to C:\Documents and Settings\Pieter\HelloWorld\build\classes
C:\Documents and Settings\Pieter\HelloWorld\src\helloworld\HelloWorld.java:10: package staugIO does not exist
import staugIO.StaugIO;
C:\Documents and Settings\Pieter\HelloWorld\src\helloworld\HelloWorld.java:16: cannot access StaugIO
bad class file: C:\Program Files\Java\jdk1.6.0\jre\classes\StaugIO.class
class file contains wrong class: staugIO.StaugIO
Please remove or make sure it appears in the correct subdirectory of the classpath.
StaugIO io = new StaugIO();
2 errors
BUILD FAILED (total time: 2 seconds)
dit is hetgeen ik heb staan:
import staugIO.StaugIO;
public class HelloWorld
{
public static void main (String args[])
{
StaugIO io = new StaugIO();
io.writeInfo("HelloWorld");
System.exit(0);
}
}
kan iemand mij helpen?
mvg
Laatst bewerkt: