Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » pocket pc, J9 - Tree
pocket pc, J9 - Tree [message #449983] Wed, 02 February 2005 22:19 Go to next message
No real name is currently offline No real nameFriend
Messages: 92
Registered: July 2009
Member
I'm trying to get a tree control working in J9. I just used one of the
snippets from the site and modified it slightly, but I just can't get it to
run. I'm running loads of other widgets and I am gradually building up my
application, but for the life of me I cannot get Tree or Scale controls to
load in J9.

I did manage to get the tree code running under Creme, but not J9 as yet.

255#"\Program
Files\J9\PPRO10\bin\j9w.exe" -jcl:ppro10:loadlibrary=swt-win32-3063 -cp "\My
Documents\testjava\testtree.jar;\Program Files\j9\ppro10\lib\3063\swt.jar"
TestTree

I've also tried build 3116 but to no avail.

Also - it would be nice to have some output from J9 as to what is happening.
Creme provides a simple log file of standard output, can J9 do the same? I
am using Eclipse as my IDE, but have not tried any of the tools or the IDE
in the WSDD kit. Maybe there is a debug tool for monitoring J9 from the
desktop?

thanks,
Andy

here is the code i was testing...

public static void main (String [] args) {
Display display = new Display ();

Shell shell = new Shell (display,SWT.CLOSE);
shell.setLayout(new FillLayout());
Tree tree = new Tree (shell,SWT.SINGLE);

for (int i=0; i<4; i++) {
TreeItem iItem = new TreeItem (tree, 0);
iItem.setText ("TreeItem (0) -" + i);
for (int j=0; j<4; j++) {
TreeItem jItem = new TreeItem (iItem, 0);
jItem.setText ("TreeItem (1) -" + j);
}
}
shell.open ();
while (!shell.isDisposed()) {
if (!display.readAndDispatch ()) display.sleep ();
}
display.dispose ();
}
Re: pocket pc, J9 - Tree [message #449993 is a reply to message #449983] Thu, 03 February 2005 14:37 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 92
Registered: July 2009
Member
> I'm running loads of other widgets and I am gradually building up my
> application, but for the life of me I cannot get Tree or Scale controls to
> I did manage to get the tree code running under Creme, but not J9 as yet.

I must be doing something stupid? I can't work it out so if anyone can spot
the mistake I have made I'd be very grateful.

Andy
Re: pocket pc, J9 - Tree [message #450004 is a reply to message #449993] Thu, 03 February 2005 22:18 Go to previous messageGo to next message
Christophe Cornu is currently offline Christophe CornuFriend
Messages: 304
Registered: July 2009
Senior Member
Hi Andy,

Use j9.exe instead of j9w.exe to get the console.
Should show the problem quickly.

One gratuitous guess: maybe you are catching another swt.jar from one jcl
profile which does not contain the Tree widget. But paste back the output of
the console if things are still confusing.

255#"\Program
Files\J9\PPRO10\bin\j9.exe" -jcl:ppro10:loadlibrary=swt-win32-3063 -cp "\My
Documents\testjava\testtree.jar;\Program Files\j9\ppro10\lib\3063\swt.jar"
TestTree

Chris
Re: pocket pc, J9 - Tree [message #450016 is a reply to message #450004] Fri, 04 February 2005 13:48 Go to previous messageGo to next message
Stef van Dijk is currently offline Stef van DijkFriend
Messages: 31
Registered: July 2009
Member
"Christophe Cornu" <christophe_cornu@ca.ibm.com> wrote in message
news:ctu808$ppu$1@www.eclipse.org...
> One gratuitous guess: maybe you are catching another swt.jar from one jcl
> profile which does not contain the Tree widget. But paste back the output
of
> the console if things are still confusing.

Good guess I'd say. PersonalProfile contains a subset of SWT classes which
does not include the Tree widget. By using the jcl:ppro10 tag, you have put
the PPro jar (containing the SWT classes) in the bootclasspath ahead of the
SWT jar you added to the classpath. Thus, that jar will go largely, if not
totally, unused.
So one question is, are you really trying to use PersonalProfile (ie, AWT)
as well as SWT? If not, then try using Foundation instead (jcl:foun10). If
you are, well this is probably going to be a very problematic (and
unsupported) arrangement.

Stef
Re: pocket pc, J9 - Tree [message #450026 is a reply to message #450004] Fri, 04 February 2005 08:49 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 92
Registered: July 2009
Member
thanks,

I didn't realise it was that easy to pull up the console, I feel a little
stupid!

Here is my output -

Exception in thread "main" java.lang.IllegalAccessError:
org/eclipse/swt/widgets/Widget.checkBits(IIIIIII)I

at org.eclipse.swt.widgets.Tree.checkStyle(Unknown Source)

at org.eclipse.swt.widgets.Tree.<init>(Unknown Source)

at TestTree.main(Unknown Source)

So it cannot find the Tree class? Not sure how I can catch another swt.jar
if I'm specifying the one I want in the class path?

Andy


"Christophe Cornu" <christophe_cornu@ca.ibm.com> wrote in message
news:ctu808$ppu$1@www.eclipse.org...
> Hi Andy,
>
> Use j9.exe instead of j9w.exe to get the console.
> Should show the problem quickly.
>
> One gratuitous guess: maybe you are catching another swt.jar from one jcl
> profile which does not contain the Tree widget. But paste back the output
of
> the console if things are still confusing.
>
> 255#"\Program
> Files\J9\PPRO10\bin\j9.exe" -jcl:ppro10:loadlibrary=swt-win32-3063 -cp
"\My
> Documents\testjava\testtree.jar;\Program Files\j9\ppro10\lib\3063\swt.jar"
> TestTree
>
> Chris
>
>
Re: pocket pc, J9 - Tree [message #450027 is a reply to message #450016] Sun, 06 February 2005 16:14 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 92
Registered: July 2009
Member
thanks for that Stef.

Most of the stuff I've read so far is considering either CDC or CLDC, but
within CDC I had not considered the impact of either Personal vs Foundation
profiles. Looking at my reference book you are right and since SWT is the
GUI I have no need for AWT.

I've just got the default install of "personal profile" from the WEME. Can't
see the foundation profile and I'm getting an error. I'll have a dig around
and try to work out where I can obtain the foundation profile - the choices
I had from the WEME installer were either MIDP 2.0 or Personal Profile 1.0.
I'm guessing all I need is another dll file, maybe jclfoun10_22.dll or
something like that?

Andy


"Stef van Dijk" <not-me@not-here.com> wrote in message
news:ctvufh$8i9$1@www.eclipse.org...
> "Christophe Cornu" <christophe_cornu@ca.ibm.com> wrote in message
> news:ctu808$ppu$1@www.eclipse.org...
> > One gratuitous guess: maybe you are catching another swt.jar from one
jcl
> > profile which does not contain the Tree widget. But paste back the
output
> of
> > the console if things are still confusing.
>
> Good guess I'd say. PersonalProfile contains a subset of SWT classes which
> does not include the Tree widget. By using the jcl:ppro10 tag, you have
put
> the PPro jar (containing the SWT classes) in the bootclasspath ahead of
the
> SWT jar you added to the classpath. Thus, that jar will go largely, if not
> totally, unused.
> So one question is, are you really trying to use PersonalProfile (ie, AWT)
> as well as SWT? If not, then try using Foundation instead (jcl:foun10). If
> you are, well this is probably going to be a very problematic (and
> unsupported) arrangement.
>
> Stef
>
>
Re: pocket pc, J9 - Tree [message #450030 is a reply to message #450027] Sun, 06 February 2005 17:43 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 92
Registered: July 2009
Member
I've done some digging around and it looks like my j9 setup is a little
different to other (older?) versions that I've seen discussed elsewhere. See
attached file. I've got the latest 5.7.1 version from the IBM site.

I installed both MIDP 2.0 and PPRO 1.0, but have only been using ppro10. If
I try the -jcl:foun10 switch, then there should be a folder called jclfoun10
under the lib directory maybe?

There seems to be very little info on this. The only think I can think of is
to drop the org.eclipse.swt packages from the ppro-ui.jar file, so maybe
then my swt.jar will be used as intended? The installation notes only say
this:

The possible library arguments are:
-jcl:foun10 (jclFoundation10 class library)
-jcl:ppro10 (jclPPro10 class library)
-jcl:midp20 (jclMidp2.0 class library)
-jcl:max (jclMax class library)
-jcl:rm (jclRM class library)
Note: Not all these options are available for all platforms.

Not available on mine it would seem (PPC2003, dell axim) any insights?

thanks,
Andy


> I've just got the default install of "personal profile" from the WEME.
Can't
> see the foundation profile and I'm getting an error. I'll have a dig
around
> and try to work out where I can obtain the foundation profile - the
choices
> I had from the WEME installer were either MIDP 2.0 or Personal Profile
1.0.
> I'm guessing all I need is another dll file, maybe jclfoun10_22.dll or
> something like that?


Re: pocket pc, J9 - Tree [message #450064 is a reply to message #450030] Mon, 07 February 2005 14:05 Go to previous messageGo to next message
Stef van Dijk is currently offline Stef van DijkFriend
Messages: 31
Registered: July 2009
Member
Foundation is most certainly available for PPC2003. I had always thought it
was "pre-installed" with WEME (on your development machine under an
ive/runtimes directory or somethign like that) but I'm not as familiar with
the tooling side. Your best bet is to probably ask this over on the
DeviceDeveloper newsgroup. You can find it on server news.software.ibm.com
as ibm.software.websphere.studio.device-developer. They should be able to
tell you how to get Foundation installed.

Stef

"Andy Harrison" <andyh@agaricus.co.uk> wrote in message
news:cu5lj2$9na$1@www.eclipse.org...
> I've done some digging around and it looks like my j9 setup is a little
> different to other (older?) versions that I've seen discussed elsewhere.
See
> attached file. I've got the latest 5.7.1 version from the IBM site.
>
> I installed both MIDP 2.0 and PPRO 1.0, but have only been using ppro10.
If
> I try the -jcl:foun10 switch, then there should be a folder called
jclfoun10
> under the lib directory maybe?
>
> There seems to be very little info on this. The only think I can think of
is
> to drop the org.eclipse.swt packages from the ppro-ui.jar file, so maybe
> then my swt.jar will be used as intended? The installation notes only say
> this:
>
> The possible library arguments are:
> -jcl:foun10 (jclFoundation10 class library)
> -jcl:ppro10 (jclPPro10 class library)
> -jcl:midp20 (jclMidp2.0 class library)
> -jcl:max (jclMax class library)
> -jcl:rm (jclRM class library)
> Note: Not all these options are available for all platforms.
>
> Not available on mine it would seem (PPC2003, dell axim) any insights?
>
> thanks,
> Andy
>
>
> > I've just got the default install of "personal profile" from the WEME.
> Can't
> > see the foundation profile and I'm getting an error. I'll have a dig
> around
> > and try to work out where I can obtain the foundation profile - the
> choices
> > I had from the WEME installer were either MIDP 2.0 or Personal Profile
> 1.0.
> > I'm guessing all I need is another dll file, maybe jclfoun10_22.dll or
> > something like that?
>
>
>
Re: pocket pc, J9 - Tree [message #450275 is a reply to message #450064] Wed, 09 February 2005 11:16 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 92
Registered: July 2009
Member
Thanks for your help Stef. I posted the question on the DeviceDeveloper
newsgroup a few days ago, but it doesn't seem to be very active.

I'm surprised nobody else has found this problem, so maybe I have missed
something, I'm not sure. I might just delete the swt class files from the
ppro-ui.jar. It's a bit of a hack but that might work. I don't know why IBM
don't ship SWT packages with J9 in their original format, at least that way
you can upgrade them easily.

Andy


"Stef van Dijk" <not-me@not-here.com> wrote in message
news:cu7ski$cc5$1@www.eclipse.org...
> Foundation is most certainly available for PPC2003. I had always thought
it
> was "pre-installed" with WEME (on your development machine under an
> ive/runtimes directory or somethign like that) but I'm not as familiar
with
> the tooling side. Your best bet is to probably ask this over on the
> DeviceDeveloper newsgroup. You can find it on server news.software.ibm.com
> as ibm.software.websphere.studio.device-developer. They should be able to
> tell you how to get Foundation installed.
>
> Stef
>
> "Andy Harrison" <andyh@agaricus.co.uk> wrote in message
> news:cu5lj2$9na$1@www.eclipse.org...
> > I've done some digging around and it looks like my j9 setup is a little
> > different to other (older?) versions that I've seen discussed elsewhere.
> See
> > attached file. I've got the latest 5.7.1 version from the IBM site.
> >
> > I installed both MIDP 2.0 and PPRO 1.0, but have only been using ppro10.
> If
> > I try the -jcl:foun10 switch, then there should be a folder called
> jclfoun10
> > under the lib directory maybe?
> >
> > There seems to be very little info on this. The only think I can think
of
> is
> > to drop the org.eclipse.swt packages from the ppro-ui.jar file, so maybe
> > then my swt.jar will be used as intended? The installation notes only
say
> > this:
> >
> > The possible library arguments are:
> > -jcl:foun10 (jclFoundation10 class library)
> > -jcl:ppro10 (jclPPro10 class library)
> > -jcl:midp20 (jclMidp2.0 class library)
> > -jcl:max (jclMax class library)
> > -jcl:rm (jclRM class library)
> > Note: Not all these options are available for all platforms.
> >
> > Not available on mine it would seem (PPC2003, dell axim) any insights?
> >
> > thanks,
> > Andy
> >
> >
> > > I've just got the default install of "personal profile" from the WEME.
> > Can't
> > > see the foundation profile and I'm getting an error. I'll have a dig
> > around
> > > and try to work out where I can obtain the foundation profile - the
> > choices
> > > I had from the WEME installer were either MIDP 2.0 or Personal Profile
> > 1.0.
> > > I'm guessing all I need is another dll file, maybe jclfoun10_22.dll or
> > > something like that?
> >
> >
> >
>
>
Re: pocket pc, J9 - Tree [message #450278 is a reply to message #450275] Wed, 09 February 2005 14:10 Go to previous messageGo to next message
Stef van Dijk is currently offline Stef van DijkFriend
Messages: 31
Registered: July 2009
Member
Yeah, I saw your post and I'm surprised no one responded. We're usually
fairly helpful over there. ;-)
Let me see if I can dig up an installable and figure out where Foundation is
for you.
Rather than hack the PPro jar (since you don't need AWT either), try
overriding the bootclasspath by using the following:
-Xbootclasspath={pathToPPro}/classes.zip;{pathToPPro}/locale .zip;{pathToL
ib}/charconv.zip
This will do all the same things as the -jcl:ppro10 setting except include
the ppro-ui.jar. You'll still want to use the -jcl:ppro10 option though so
the VM doesn't try to default you to something else, though again, the
override should get you the right jars.
While this gets you something very close to Foundation, it's obviously not
the best answer. But it should get you going until I can figure out where
you can find Foundation.

Stef

"Andy Harrison" <andyh@agaricus.co.uk> wrote in message
news:cucs5j$2n4$1@www.eclipse.org...
> Thanks for your help Stef. I posted the question on the DeviceDeveloper
> newsgroup a few days ago, but it doesn't seem to be very active.
>
> I'm surprised nobody else has found this problem, so maybe I have missed
> something, I'm not sure. I might just delete the swt class files from the
> ppro-ui.jar. It's a bit of a hack but that might work. I don't know why
IBM
> don't ship SWT packages with J9 in their original format, at least that
way
> you can upgrade them easily.
>
> Andy
>
>
> "Stef van Dijk" <not-me@not-here.com> wrote in message
> news:cu7ski$cc5$1@www.eclipse.org...
> > Foundation is most certainly available for PPC2003. I had always thought
> it
> > was "pre-installed" with WEME (on your development machine under an
> > ive/runtimes directory or somethign like that) but I'm not as familiar
> with
> > the tooling side. Your best bet is to probably ask this over on the
> > DeviceDeveloper newsgroup. You can find it on server
news.software.ibm.com
> > as ibm.software.websphere.studio.device-developer. They should be able
to
> > tell you how to get Foundation installed.
> >
> > Stef
> >
> > "Andy Harrison" <andyh@agaricus.co.uk> wrote in message
> > news:cu5lj2$9na$1@www.eclipse.org...
> > > I've done some digging around and it looks like my j9 setup is a
little
> > > different to other (older?) versions that I've seen discussed
elsewhere.
> > See
> > > attached file. I've got the latest 5.7.1 version from the IBM site.
> > >
> > > I installed both MIDP 2.0 and PPRO 1.0, but have only been using
ppro10.
> > If
> > > I try the -jcl:foun10 switch, then there should be a folder called
> > jclfoun10
> > > under the lib directory maybe?
> > >
> > > There seems to be very little info on this. The only think I can think
> of
> > is
> > > to drop the org.eclipse.swt packages from the ppro-ui.jar file, so
maybe
> > > then my swt.jar will be used as intended? The installation notes only
> say
> > > this:
> > >
> > > The possible library arguments are:
> > > -jcl:foun10 (jclFoundation10 class library)
> > > -jcl:ppro10 (jclPPro10 class library)
> > > -jcl:midp20 (jclMidp2.0 class library)
> > > -jcl:max (jclMax class library)
> > > -jcl:rm (jclRM class library)
> > > Note: Not all these options are available for all platforms.
> > >
> > > Not available on mine it would seem (PPC2003, dell axim) any insights?
> > >
> > > thanks,
> > > Andy
> > >
> > >
> > > > I've just got the default install of "personal profile" from the
WEME.
> > > Can't
> > > > see the foundation profile and I'm getting an error. I'll have a dig
> > > around
> > > > and try to work out where I can obtain the foundation profile - the
> > > choices
> > > > I had from the WEME installer were either MIDP 2.0 or Personal
Profile
> > > 1.0.
> > > > I'm guessing all I need is another dll file, maybe jclfoun10_22.dll
or
> > > > something like that?
> > >
> > >
> > >
> >
> >
>
>
Re: pocket pc, J9 - Tree [message #450279 is a reply to message #450278] Wed, 09 February 2005 14:14 Go to previous messageGo to next message
Stef van Dijk is currently offline Stef van DijkFriend
Messages: 31
Registered: July 2009
Member
BTW, you can point at where you got WEME from? I may as well get exactly
what you got or we might continue going round and round on this. Did you
maybe only get the LPPs (runtimes) and not the dev environment? It's
probably true that there's no Foundation LPP.

Stef

"Stef van Dijk" <not-me@not-here.com> wrote in message
news:cud5lh$egg$1@www.eclipse.org...
> Yeah, I saw your post and I'm surprised no one responded. We're usually
> fairly helpful over there. ;-)
> Let me see if I can dig up an installable and figure out where Foundation
is
> for you.
> Rather than hack the PPro jar (since you don't need AWT either), try
> overriding the bootclasspath by using the following:
> -Xbootclasspath={pathToPPro}/classes.zip;{pathToPPro}/locale .zip;{pathT
oL
> ib}/charconv.zip
> This will do all the same things as the -jcl:ppro10 setting except include
> the ppro-ui.jar. You'll still want to use the -jcl:ppro10 option though so
> the VM doesn't try to default you to something else, though again, the
> override should get you the right jars.
> While this gets you something very close to Foundation, it's obviously not
> the best answer. But it should get you going until I can figure out where
> you can find Foundation.
>
> Stef
>
> "Andy Harrison" <andyh@agaricus.co.uk> wrote in message
> news:cucs5j$2n4$1@www.eclipse.org...
> > Thanks for your help Stef. I posted the question on the DeviceDeveloper
> > newsgroup a few days ago, but it doesn't seem to be very active.
> >
> > I'm surprised nobody else has found this problem, so maybe I have missed
> > something, I'm not sure. I might just delete the swt class files from
the
> > ppro-ui.jar. It's a bit of a hack but that might work. I don't know why
> IBM
> > don't ship SWT packages with J9 in their original format, at least that
> way
> > you can upgrade them easily.
> >
> > Andy
> >
> >
> > "Stef van Dijk" <not-me@not-here.com> wrote in message
> > news:cu7ski$cc5$1@www.eclipse.org...
> > > Foundation is most certainly available for PPC2003. I had always
thought
> > it
> > > was "pre-installed" with WEME (on your development machine under an
> > > ive/runtimes directory or somethign like that) but I'm not as familiar
> > with
> > > the tooling side. Your best bet is to probably ask this over on the
> > > DeviceDeveloper newsgroup. You can find it on server
> news.software.ibm.com
> > > as ibm.software.websphere.studio.device-developer. They should be able
> to
> > > tell you how to get Foundation installed.
> > >
> > > Stef
> > >
> > > "Andy Harrison" <andyh@agaricus.co.uk> wrote in message
> > > news:cu5lj2$9na$1@www.eclipse.org...
> > > > I've done some digging around and it looks like my j9 setup is a
> little
> > > > different to other (older?) versions that I've seen discussed
> elsewhere.
> > > See
> > > > attached file. I've got the latest 5.7.1 version from the IBM site.
> > > >
> > > > I installed both MIDP 2.0 and PPRO 1.0, but have only been using
> ppro10.
> > > If
> > > > I try the -jcl:foun10 switch, then there should be a folder called
> > > jclfoun10
> > > > under the lib directory maybe?
> > > >
> > > > There seems to be very little info on this. The only think I can
think
> > of
> > > is
> > > > to drop the org.eclipse.swt packages from the ppro-ui.jar file, so
> maybe
> > > > then my swt.jar will be used as intended? The installation notes
only
> > say
> > > > this:
> > > >
> > > > The possible library arguments are:
> > > > -jcl:foun10 (jclFoundation10 class library)
> > > > -jcl:ppro10 (jclPPro10 class library)
> > > > -jcl:midp20 (jclMidp2.0 class library)
> > > > -jcl:max (jclMax class library)
> > > > -jcl:rm (jclRM class library)
> > > > Note: Not all these options are available for all platforms.
> > > >
> > > > Not available on mine it would seem (PPC2003, dell axim) any
insights?
> > > >
> > > > thanks,
> > > > Andy
> > > >
> > > >
> > > > > I've just got the default install of "personal profile" from the
> WEME.
> > > > Can't
> > > > > see the foundation profile and I'm getting an error. I'll have a
dig
> > > > around
> > > > > and try to work out where I can obtain the foundation profile -
the
> > > > choices
> > > > > I had from the WEME installer were either MIDP 2.0 or Personal
> Profile
> > > > 1.0.
> > > > > I'm guessing all I need is another dll file, maybe
jclfoun10_22.dll
> or
> > > > > something like that?
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Re: pocket pc, J9 - Tree [message #450282 is a reply to message #450279] Wed, 09 February 2005 14:42 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 92
Registered: July 2009
Member
I got J9 on a CDROM image, it came as a zip file rather than an iso
called:

"IBM Workplace Client Technology, Micro Edition"

I just chose the link ...

"Install Websphere Everyplace Micro Environment Personal Profile 1.0 for
Windows Mobile 2003"

.... when the cd launches.

Version is 5.7.1
http://www14.software.ibm.com/webapp/download/product.jsp?s= p&id=DVDE-634P22

try that!

Maybe I have to install the full WSDD to get access to the foundation
profile? I'm sure WSDD is great, but I'm just getting along fine with
Eclipse.

Meantime, I'll try those changes to the bootstrap.

thanks for your help!

Andy



"Stef van Dijk" <not-me@not-here.com> wrote in message
news:cud5sn$fk4$1@www.eclipse.org...
> BTW, you can point at where you got WEME from? I may as well get exactly
> what you got or we might continue going round and round on this. Did you
> maybe only get the LPPs (runtimes) and not the dev environment? It's
> probably true that there's no Foundation LPP.
>
> Stef
>
Re: pocket pc, J9 - Tree [message #450285 is a reply to message #450282] Wed, 09 February 2005 15:16 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 92
Registered: July 2009
Member
-Xbootclasspath stuff
Didn't work for me, but the arguments you told me to supply seemed to cause
J9 to look for the foundation module...

(W)J9VM0011 Unable to load jclfoun10_22: The specified module could not be
found.

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

(I)EXEX0014 Run \Program Files\J9\PPRO10\bin\j9.exe -help for usage

So it didn't load, but we did manage to create one of the longest
"shortcuts" ever written...

347#"\Program Files\J9\PPRO10\bin\j9.exe" -Xbootclasspath="\Program
Files\J9\PPRO10\lib\jclPPro10\classes.zip;\Program
Files\J9\PPRO10\lib\jclPPro10\locale.zip;\Program
Files\J9\PPRO10\lib\jclPPro10\ext\charconv_en.zip" -jcl:ppro10:loadlibrary=s
wt-win32-3063 -cp "\My Documents\testjava\testtree.jar;\Program
Files\j9\ppro10\lib\3063\swt.jar" TestTree

can any readers beat this?

Andy



"Andy Harrison" <andyh@agaricus.co.uk> wrote in message
news:cud883$r3c$1@www.eclipse.org...
> I got J9 on a CDROM image, it came as a zip file rather than an iso
> called:
>
> "IBM Workplace Client Technology, Micro Edition"
>
> I just chose the link ...
>
> "Install Websphere Everyplace Micro Environment Personal Profile 1.0 for
> Windows Mobile 2003"
>
> ... when the cd launches.
>
> Version is 5.7.1
>
http://www14.software.ibm.com/webapp/download/product.jsp?s= p&id=DVDE-634P22
>
> try that!
>
> Maybe I have to install the full WSDD to get access to the foundation
> profile? I'm sure WSDD is great, but I'm just getting along fine with
> Eclipse.
>
> Meantime, I'll try those changes to the bootstrap.
>
> thanks for your help!
>
> Andy
>
>
>
> "Stef van Dijk" <not-me@not-here.com> wrote in message
> news:cud5sn$fk4$1@www.eclipse.org...
> > BTW, you can point at where you got WEME from? I may as well get exactly
> > what you got or we might continue going round and round on this. Did you
> > maybe only get the LPPs (runtimes) and not the dev environment? It's
> > probably true that there's no Foundation LPP.
> >
> > Stef
> >
Re: pocket pc, J9 - Tree [message #450289 is a reply to message #450285] Wed, 09 February 2005 16:51 Go to previous messageGo to next message
Stef van Dijk is currently offline Stef van DijkFriend
Messages: 31
Registered: July 2009
Member
Actually, you're going to have to shorten that. Shortcuts can't exceed 255
(or 256?) characters in length. The problem you're having now is probably
because the command was truncated and it never saw your -jcl option.
Of course the only way to shorten it is to redo the directory structure
where you have the j9 libs. :-(

Stef

"Andy Harrison" <andyh@agaricus.co.uk> wrote in message
news:cuda8f$60v$1@www.eclipse.org...
> -Xbootclasspath stuff
> Didn't work for me, but the arguments you told me to supply seemed to
cause
> J9 to look for the foundation module...
>
> (W)J9VM0011 Unable to load jclfoun10_22: The specified module could not be
> found.
>
> (E)EXEX0013 Internal VM error: Failed to create Java VM
>
> (I)EXEX0014 Run \Program Files\J9\PPRO10\bin\j9.exe -help for usage
>
> So it didn't load, but we did manage to create one of the longest
> "shortcuts" ever written...
>
> 347#"\Program Files\J9\PPRO10\bin\j9.exe" -Xbootclasspath="\Program
> Files\J9\PPRO10\lib\jclPPro10\classes.zip;\Program
> Files\J9\PPRO10\lib\jclPPro10\locale.zip;\Program
>
Files\J9\PPRO10\lib\jclPPro10\ext\charconv_en.zip" -jcl:ppro10:loadlibrary=s
> wt-win32-3063 -cp "\My Documents\testjava\testtree.jar;\Program
> Files\j9\ppro10\lib\3063\swt.jar" TestTree
>
> can any readers beat this?
>
> Andy
>
>
>
> "Andy Harrison" <andyh@agaricus.co.uk> wrote in message
> news:cud883$r3c$1@www.eclipse.org...
> > I got J9 on a CDROM image, it came as a zip file rather than an iso
> > called:
> >
> > "IBM Workplace Client Technology, Micro Edition"
> >
> > I just chose the link ...
> >
> > "Install Websphere Everyplace Micro Environment Personal Profile 1.0 for
> > Windows Mobile 2003"
> >
> > ... when the cd launches.
> >
> > Version is 5.7.1
> >
>
http://www14.software.ibm.com/webapp/download/product.jsp?s= p&id=DVDE-634P22
> >
> > try that!
> >
> > Maybe I have to install the full WSDD to get access to the foundation
> > profile? I'm sure WSDD is great, but I'm just getting along fine with
> > Eclipse.
> >
> > Meantime, I'll try those changes to the bootstrap.
> >
> > thanks for your help!
> >
> > Andy
> >
> >
> >
> > "Stef van Dijk" <not-me@not-here.com> wrote in message
> > news:cud5sn$fk4$1@www.eclipse.org...
> > > BTW, you can point at where you got WEME from? I may as well get
exactly
> > > what you got or we might continue going round and round on this. Did
you
> > > maybe only get the LPPs (runtimes) and not the dev environment? It's
> > > probably true that there's no Foundation LPP.
> > >
> > > Stef
> > >
>
>
Re: pocket pc, J9 - Tree [message #450334 is a reply to message #450289] Thu, 10 February 2005 11:21 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 92
Registered: July 2009
Member
right enough!

I only managed to shorten it to 253 chars by moving the J9 installation
folder from "program files" to the root directory and moving my testtree.jar
file to the root also. If I was to include anything else (and I am also
using jakarta-regexp-1.3.jar for my project) I can see it start to get a
little tricky. Mind you I can always move the charconv, locale and classes
files to the root.

253#"\J9\PPRO10\bin\j9.exe" -Xbootclasspath:\J9\PPRO10\lib\jclPPro10\classes
..zip;\J9\PPRO10\lib\jclPPro10\locale.zip;\J9\PPRO10\lib\jcl PPro10\ext\charco
nv_en.zip -jcl:ppro10:loadlibrary=swt-win32-3116 -cp
"\testtree.jar;\j9\ppro10\lib\swt.jar" TestTree

It works at least!

Thanks for your help, I can start testing some of my widgets. It's obviously
not the ideal way to run j9 though by hacking at the installation folder.
There's no option given to install j9 to a specific folder so you have to
move it manually. So I'd really like to do a proper install for the
foundation profile.

thanks,
Andy


"Stef van Dijk" <not-me@not-here.com> wrote in message
news:cudf35$uam$1@www.eclipse.org...
> Actually, you're going to have to shorten that. Shortcuts can't exceed 255
> (or 256?) characters in length. The problem you're having now is probably
> because the command was truncated and it never saw your -jcl option.
> Of course the only way to shorten it is to redo the directory structure
> where you have the j9 libs. :-(
>
> Stef
Re: pocket pc, J9 - Tree [message #450336 is a reply to message #450334] Thu, 10 February 2005 11:30 Go to previous message
No real name is currently offline No real nameFriend
Messages: 92
Registered: July 2009
Member
I got my answer from websphere.studio.device-developer...

need to install all of WSDD...

After installation, you should find the class libraries and cab file here:
<WSDD 5.7.x>\wsdd5.0\ive-2.2\runtimes\wm2003\arm\foundation10

I'm not sure what this means for deploying an application on a larger scale.
Presumably you can redistribute the files to your customers. Think I'll ask
them about that.

cheers
andy
Previous Topic:StackOverflow in setText
Next Topic:DSOFramer ActiveX and SWT - SWTOleSample.java (0/1)
Goto Forum:
  


Current Time: Fri May 03 22:55:03 GMT 2024

Powered by FUDForum. Page generated in 0.04001 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top