Thanks for the help :),
ive now read through it but its generating a class file of 0 bytes im following this;
Example - Two Arg Files
You can create two argument files – one for the javac options and the other for the source filenames: (Notice the following lists have no line-continuation characters.)
Create a file named “options” containing:
-d classes
-g
-sourcepath \java\pubs\ws\1.3\src\share\classes
Create a file named “classes” containing:
MyClass1.java
MyClass2.java
MyClass3.java
You would then run javac with:
C:> javac @options @classes
my files are options;
-d classes
-g
-sourcepath \SpaceInvaders\org\newdawn\spaceinvaders
and classes;
AlienEntity.java
SpriteStore.java
and the others.
both saved in spaceinvaders then i open command prompt go to batch file then change drive to spaceinvaders folder
and type c:> javac @options @classes
This generates a class file of 0 kb called javac.
What am i doing wrong ? :-\
i also read this but dont understand whether i type this straight on the command line as i tried but didnt work;
Compiling Multiple Source Files
This example compiles all the source files in the package greetings.
C:> dir
greetings\
C:> dir greetings
Aloha.java GutenTag.java Hello.java Hi.java
C:> javac greetings\*.java
C:> dir greetings
Aloha.class GutenTag.class Hello.class Hi.class
Aloha.java GutenTag.java Hello.java Hi.java
i know the package is org.newdawn.spaceinvaders. Sorry for being usless ;p.