T
Tim Tyler
I found out how to run midlets in Eclipse under windows.
Other folk seem to:
* Use the WTK KToolbar, or:
* Use WSDD.
The trick is much the same as the one used for the MS JVM:
You set up a second "Installed JRE" - using the preferences - and have it
point to an installed JRE.
Then in the "bin" directory of that you make a batch file - called:
midp_emulator.bat
This contains one line:
C:\Program1\Java\WTK20\bin\emulator %6 %7 %8
Then you use a run configuration, set it to use the new JRE,
use these as your "Program arguments":
-classpath C:\Docs\Java\xyz.jar -Xdescriptor:C:\Docs\Java\xyz.jad
....and...
"midp_emulator.bat"
....as your Java executable. The "Main class" can be set to anything.
That's all.
This is a bit of a rigmarole - Eclipse appears to be to blame for that.
However the end result is midlets can be launched like any other project.
Other folk seem to:
* Use the WTK KToolbar, or:
* Use WSDD.
The trick is much the same as the one used for the MS JVM:
You set up a second "Installed JRE" - using the preferences - and have it
point to an installed JRE.
Then in the "bin" directory of that you make a batch file - called:
midp_emulator.bat
This contains one line:
C:\Program1\Java\WTK20\bin\emulator %6 %7 %8
Then you use a run configuration, set it to use the new JRE,
use these as your "Program arguments":
-classpath C:\Docs\Java\xyz.jar -Xdescriptor:C:\Docs\Java\xyz.jad
....and...
"midp_emulator.bat"
....as your Java executable. The "Main class" can be set to anything.
That's all.
This is a bit of a rigmarole - Eclipse appears to be to blame for that.
However the end result is midlets can be launched like any other project.