Any source for Windows?

Hi all,I only found the src for linux/x86, then how can I develop at windows platform? And I've read a previous post said IBM Websphere Device Developer can be a IDE for CDC+PP, is that "WebSphere Studio Device Developer "?Thanks & regards,Gary
[277 byte] By [G.Laua] at [2007-10-2 4:00:55]
# 1
Yes it is "WebShpere Studio Device Developer". Current Version should be 5.7.1. An evaluation version is available which runs 3 months, with all functions!
JBraina at 2007-7-15 23:23:03 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

Thanks for reply first, JBrain.

Device Developer only have evaluation? If no, how to get full version? Because I may use this until April 2006 for my school project.

And I'd like to ask how to J9 in PPC? When I open the j9.exe, system said:

(W) J9VM0022 Unable to load jclfoun10_22

(E) EXEX0013 Internal VM error: Failed to create Java VM

Could you teach me fix this problem? Thanks!

G.Laua at 2007-7-15 23:23:03 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
> I only found the src for linux/x86, then how can I develop at windows platform?What source? Or do you mean that the reference implementation installer is only for Linux/x86?
YAT_Archivista at 2007-7-15 23:23:03 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4

> What source? Or do you mean that the reference

> implementation installer is only for Linux/x86?

Yes, I think you know what I mean. For cldc & midp they have cldc-1_1-fcs-src-winunix.zip & midp-2_0-src-windows-i686.zip. Why CDC & PP only have linux/x86 for download?

G.Laua at 2007-7-15 23:23:03 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5

> Device Developer only have evaluation? If no, how to

> get full version? Because I may use this until April

> 2006 for my school project.

Of course you can also buy it ;-)

See http://www-306.ibm.com/software/wireless/wsdd/ for details. Here you can get the evaluation version and the "how to buy link" (in the menu on the left side!)

>

> And I'd like to ask how to J9 in PPC? When I open the

> j9.exe, system said:

> (W) J9VM0022 Unable to load jclfoun10_22

> (E) EXEX0013 Internal VM error: Failed to create Java

> VM

>

> Could you teach me fix this problem? Thanks!

You can not run j9.exe without command line parameters (See the IBM Workplace Client Technology, Micro Edition (== J9) documentation for details about the parameters). If you have installed the J9 on your PDA, try to run the GolfScoreTracker example in the examples folder of your J9 installation to test the J9 installation.

JBraina at 2007-7-15 23:23:03 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 6
I think the download we're talking about is http://java.sun.com/products/personalprofile/download.htmlIt's a zip. You can unzip it on Windows. Then compile with -bootclasspath btclasses.zip and you're fine.
YAT_Archivista at 2007-7-15 23:23:03 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 7

> You can not run j9.exe without command line

> parameters (See the IBM Workplace Client Technology,

> Micro Edition (== J9) documentation for details about

> the parameters).

You mean the WCTMEReadme.html? I only found the "WEME J2ME Personal Profile". (so I think I'm doing wrong)

And I read some previous post said I need to create a shortcut or link file of the program to run. But.. I still confuse about how to run java files with j9, I just know convert the java files to JAR. Could you mind to give me brief steps about it? :-)

> If you have installed the J9 on your

> PDA, try to run the GolfScoreTracker example in the

> examples folder of your J9 installation to test the

> J9 installation.

I haven't see the examples folder, there are only \bin & \lib in \J9\PPRO10. I'm used CAB file to install j9 in PPC which is C:\...\ive-2.2\runtimes\wm2003\arm\ppro10\cab\. Is there any problem?

Many thanks!

G.Laua at 2007-7-15 23:23:03 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 8

I have used the Installer and I have the example folder. But this is a nice to know, because I must try to reduce the installation overhead of J9 ;-)

Take a look into the DeviceDeveloper online help. Under the topic WebSphere Everplace Micro Environment (as J9 is now called by IBM) you will find information.

The PersonalProfile Developer's Guide is good to understand how to create PersonalProfile projects in the device developer.

The J9 Runtime guide contains information about the J9 (installation, parameters, etc.)

JBraina at 2007-7-15 23:23:03 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 9

> The PersonalProfile Developer's Guide is good to

> understand how to create PersonalProfile projects in

> the device developer.

> The J9 Runtime guide contains information about the

> J9 (installation, parameters, etc.)

I try to use installer to install the j9 vm in PDA, then I can see the example folder and also can run the golf demo fine.

And... two problems here

1. I've read the PP Installation Guide, in the topic "About the CAB File" I found some files are missing in my PDA, should I need to copy them from PC under \ive-2.2?

2. I've created a project and convert it to .jar already. I should create the project shortcut in dos prompt right? I used:

C:\...\wsdd5.0\ive-2.2\bin\j9 -jcl:ppro10 -cp d:\temp\SeatPlan.jar SeatPlan

but it just help me run the program.. no shortcut created. I also tried add -Xbootclasspath: C:\...wsdd5.0\ive-2.2\lib\jclPPro10\classes.zip, but it show me "java.lang.NoClassDefFoundError".

Please help and sorry for my stupid.. thanks a lot.

G.Laua at 2007-7-15 23:23:03 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 10

> 1. I've read the PP Installation Guide, in the topic "About the CAB File" I found some files are

> missing in my PDA, should I need to copy them from PC under \ive-2.2?

That file's far from accurate. Try installing one of the weme-ppro10_?-wm2003-arm_22.CAB files, where ? is the locale you want. (Or use nl1 for all supported locales).

YAT_Archivista at 2007-7-15 23:23:03 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 11

> And... two problems here

> 1. I've read the PP Installation Guide, in the topic

> "About the CAB File" I found some files are missing

> in my PDA, should I need to copy them from PC under

> \ive-2.2?

The files which are not automatically installed should only be files which you will need for debugging. You can copy them to the PDA manually as described in the J9 guide.

>

> 2. I've created a project and convert it to .jar

> already. I should create the project shortcut in dos

> prompt right? I used:

>

> C:\...\wsdd5.0\ive-2.2\bin\j9 -jcl:ppro10 -cp

> d:\temp\SeatPlan.jar SeatPlan

>

> but it just help me run the program.. no shortcut

> created. I also tried add -Xbootclasspath:

> C:\...wsdd5.0\ive-2.2\lib\jclPPro10\classes.zip, but

> it show me "java.lang.NoClassDefFoundError".

>

> Please help and sorry for my stupid.. thanks a lot.

Copy the link from the golf demo as template to your PC. Open it in a text editor. Your link should look like this:

255#"\Program Files\J9\PPRO10\bin\j9.exe" "-jcl:ppro10" "-cp" "\MayFolder\MyJar.jar" "MyPackage.MyClassFile"

Replace the "My.." Stuff with you classpath and class file name and it should work.

JBraina at 2007-7-15 23:23:03 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 12
Finally, I succeed.Thank you very much, JBrain!:-D
G.Laua at 2007-7-15 23:23:03 > top of Java-index,Java Mobility Forums,Java ME Technologies...