What is the correct way to manualy compile a MIDlet?
I currently do:
javac -bootclasspath myPathToMIDPapi/midpapi.zip -d apps/myProject/classes -classpath apps/myProject/classes -sourcepath apps/myProject/src apps/myProject/src/myProject.java
but the class files I then get only works in the emulator (making a .jar of them and sending them to a nokia 7650 doesn't work (the phone wont run the program) (a .jar made of the classes compiled from the IDE works fine on the phone) )
I've tried this with javac 1.4.1 and javac 1.3.1 both on linux and on windows.
I realy need to compile it by 'myself' (can't use the IDE in this case)