BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 10-28-2004, 08:42 PM   #1 (permalink)
New Member
 
Join Date: Oct 2004
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Can the Blackberry JDE run on linux OS????

Please Login to Remove!

Hi.. i would like to know whether blackberry jde 3.7 could run in linux os?
Offline  
Old 10-29-2004, 08:43 AM   #2 (permalink)
BBF Veteran User
 
Join Date: Aug 2004
Location: Hotwiring another Cessna
Model: OU812
Carrier: Nintendo
Posts: 3,492
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Possibly under an emulator, but not natively.
Offline  
Old 10-29-2004, 10:58 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2004
Posts: 60
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

There's no way it'll run in linux without using VMware (or clone) that boots Windows 2000/XP
Offline  
Old 10-29-2004, 11:41 AM   #4 (permalink)
BBF Veteran User
 
Join Date: Aug 2004
Location: Hotwiring another Cessna
Model: OU812
Carrier: Nintendo
Posts: 3,492
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

No one ever tried it using wine?
Offline  
Old 11-03-2004, 02:07 PM   #5 (permalink)
New Member
 
Join Date: Oct 2004
Location: Vancouver
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Offline  
Old 06-20-2005, 11:33 AM   #6 (permalink)
New Member
 
Join Date: Jun 2005
Model: 7520
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've tried to install it under wine, but installer itself doesn't work. I don't have any winblows boxes arount to try and see if installed version will run. One thing to try is to install it on windows, and see if
at least compilers and packagers can be run natively on Linux (are they written in Java?)
Offline  
Old 06-21-2005, 11:21 AM   #7 (permalink)
New Member
 
Join Date: Jun 2005
Model: 7520
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default JDE + Wine, partial success

Well, I tried wine from CVS yesterday, in win98 mode, installed native M$ Windows Installer 2.0 and was able to install blackberry JDE like this:

WINEDLLOVERRIDES="msi,msimsg32,msisys,ole32,oleaut 32,rpcrt4=n" wine ./JDE_4.0.exe

Once installed, I was able to use native Linux blackdown JDK to run main JDE program
(take a look at "jde.bat" in bin directory to get an idea on how to run it).
However, in order to actually compile something you'd need to be able to run "rapc" compiler.
And that is a windows executable. Well, so it seems from the first glance at least.

In reality of course it is just a wrapper around rarpc.jar (found in bin/ and/or MDS/classpath/).
Main class is net.rim.tools.Compiler
so one can start compiler like this:

java -jar $RIM/MDS/classpath/rapc.jar

Problem is that it takes few options, which are obviously not documented anywhere, that
tell it where blackberry runtime is, and which I didn't figure out yet.

Once that is figured out, all we'll need to, will be replacing rapc.exe with rapc.sh
(either replace the file, or edit the resource file that tells JDE where compiler is)

Oh, also rapc is looking for preverify program, which you can get from Sun J2ME SDK.

so, whole invocation will look something like this:
PATH=$PATH:$HOME/WTK2.2/bin java -classpath $RIM/MDS/classpath/* -jar \
$RIM/MDS/classpath/rapc.jar *.java

(again - this won't work yet - it will complain that we don't import blackberry runtime, and I still don't know how to deal with it)
Offline  
Old 06-21-2005, 01:12 PM   #8 (permalink)
New Member
 
Join Date: Jun 2005
Model: 7520
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default And even more success

So, there is absolutely nothing special about running the cod compiler.
I have jmIrc running on my BB now.

here is the sequence of actions:
1. Compile normal midp-2.0 midlet with J2ME SDK from Sun
2. set up $WTK_HOME to point to your J2ME install, $RIM to point to
your JDE/MDS/classpath, and $APPNAME to your app name
4. cd to $WTK_HOME/apps/$APPNAME
3. run
PATH=$WTK_HOME/bin:$PATH \
java -jar $RIM/rapc.jar import=$RIM/net_rim_api.jar \
codename=$APPNAME -midlet jad=bin/$APPNAME.jad bin/$APPNAME.jar

Your .cod file will end up in current dir. bin/$APPNAME.jad will be modified to contain all
BB-specific info.

That's it folks!

P.S. Of course - running emulator and all other stuff will require more work,
but I personally don't care enough for now.
Offline  
Old 06-22-2005, 03:58 PM   #9 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Feb 2005
Model: 7280
Carrier: cingular, no wait, AT&T
Posts: 300
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by iluxa
I've tried to install it under wine, but installer itself doesn't work. I don't have any winblows boxes arount to try and see if installed version will run. One thing to try is to install it on windows, and see if
at least compilers and packagers can be run natively on Linux (are they written in Java?)
HAHA "winblows" YOU MAKE FUNNY!
seriously, wtf. THAT JOKE SUCKS! (as in, its so old!)
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Auto Range UNI-T Digital Multimeter Voltmeter Ammeter Tester DC/AC Voltage K4U7
$25.94
Auto Range UNI-T Digital Multimeter Voltmeter Ammeter Tester DC/AC Voltage K4U7 pictureGeneral Electric AC Ammeter Catalog #50-162141MTMT2 Mounted in Aluminum Box
$16.99
General Electric AC Ammeter Catalog #50-162141MTMT2 Mounted in Aluminum Box  pictureSimpson Wide-Vue DC Ammeter 0-30 Amps, 3.25" Square
$26.95
Simpson Wide-Vue DC Ammeter 0-30 Amps, 3.25PEAKMETER MY60 Digital Multimeter Voltmeter Ammeter Ohmmeter Capacitance Meter
$29.42
PEAKMETER MY60 Digital Multimeter Voltmeter Ammeter Ohmmeter Capacitance Meter picturePEAKMETER MY60 Digital Multimeter Voltmeter Ammeter Ohmmeter Capacitance Meter
$29.42
PEAKMETER MY60 Digital Multimeter Voltmeter Ammeter Ohmmeter Capacitance Meter picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.