Re: invalid flag
Richard Gregor <[email protected]>
| Newsgroups | gmane.comp.java.sun.kvm |
|---|---|
| Message-ID | <[email protected]> |
Hi, Please read tutorial carefully :-) . You are missing "|;" between |c:\WTK2.5.2\lib\cldcapi11.jar and c:\WTK2.5.2\lib\madpapi20.jar. Also path to your java application should be different. javac -bootclasspath c:\WTK2.5.2\lib\cldcapi11.jar;c:\WTK2.5.2\lib\madpapi20.jar com\j2me\part1\DateTimeApp.java should work when you run this command from c:\WTK2.5.2\ directory. Regards, WTK Team [email protected] wrote: > Hi I am a complete Java beginner. I am doing the j2me tutorial here > http://today.java.net/pub/a/today/2005/02/09/j2me1.html?page=2 > I am trying to compile DateTimeApp.java. I changed to the DateTimeApp.java directory here: > c:\WTK2.5.2\com\j2me\part1> > but when I typed this: > javac -bootclasspath c:\WTK2.5.2\lib\cldcapi11.jar c:\WTK2.5.2\lib\madpapi20.jar c:\WTK2.5.2\com\j2me\part1\DateTimeApp.java > I got an invalid flag : c:\WTK2.5.2\lib\midpapi20.jar > > Can anyone enlighten me as to what I did wrong? > [Message sent by forum member 'rpjd' (rpjd)] > > http://forums.java.net/jive/thread.jspa?messageID=251953 > > =========================================================================== > To unsubscribe, send email to [email protected] and include in the body > of the message "signoff KVM-INTEREST". For general help, send email to > [email protected] and include in the body of the message "help". > > =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff KVM-INTEREST". For general help, send email to [email protected] and include in the body of the message "help".