[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: j9 Pocket PC installation

Shaun Jackman wrote:
> I'm attempting to install j9 on my Pocket PC to run an SWT app. If
> there is a better forum for this question, I'd appreciate the pointer.
>
> I followed the instructions in the WSDD help item titled "Pocket PC
> Target Resources". My Pocket PC j9 installation includes the files
> listed at the end of this e-mail. When I start j9 with the following
> command line \j9\bin\j9.exe -Djava.home=\j9 -cp \java\swt.jar;\java
> HelloSWT
> I get the error
> "Fatal error: Unable to find and initialize required class
> java/lang/Object"

Better asked on ibm.software.websphere.studio.device-developer on
news.software.ibm.com, but ...

Unless you use the -jcl option, or otherwise arrange to point to a valid
'base' class library, j9 assumes you want to use jclMax, which you've not
downloaded.  You should be fine with foundation, so to your command-line
invocation add -jcl:foun and you should be ok ... I would also remove
that -Djava.home, shouldn't be required, and so will just get you into
trouble later ...


-- 
Patrick Mueller
pmuellr@xxxxxxxxx