aspose file tools*
The moose likes Java Micro Edition and the fly likes Installing J2ME tools and SDK on Linux Platform Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Installing J2ME tools and SDK on Linux Platform" Watch "Installing J2ME tools and SDK on Linux Platform" New topic
Author

Installing J2ME tools and SDK on Linux Platform

Glenn Castro
Ranch Hand

Joined: Aug 24, 2003
Posts: 78
How can I install and run the J2ME Wireless Toolkit on Linux Platform?


Glenn Castro<br />Sun Certified Web Component Developer
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
yes


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
I believe Michael meant to say, "just download the Linux version from java.sun.com and follow instructions"...


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
Thanks Lasse! I missed the word "how" in the original post.
Glenn Castro
Ranch Hand

Joined: Aug 24, 2003
Posts: 78
I've downloaded the wireless toolkit but I don't know how to configure it in Linux platform. Can anyone tell me how?
Daniel Moore
Ranch Hand

Joined: Dec 12, 2003
Posts: 31
I don't understand what you mean by 'configure'. I use this command line to run the emulator:
emulator -Xdescriptor:$HOME/my.jad com.moore.myMidpClass
And if I want to test OTA installation, I run
emulator -Xjam
Is that what you're looking for?


<a href="http://www.mooreds.com/weblog/" target="_blank" rel="nofollow">http://www.mooreds.com/weblog/</a>
Glenn Castro
Ranch Hand

Joined: Aug 24, 2003
Posts: 78
Hi Daniel,
I will try to run my app. thru command line. I used Windows OS before but now the company I'm working for uses Linux.
Thanks anyway.
Robert MacEwan
Greenhorn

Joined: Apr 05, 2003
Posts: 13
Originally posted by Glenn Castro:
I've downloaded the wireless toolkit but I don't know how to configure it in Linux platform. Can anyone tell me how?

________________________________
Before we start we want to find out where java is located. To do so type:
which java

On my system it displays the path shown below:
/usr/lib/java/bin/java

The part of this that we are going to use is:
/usr/lib/java/bin/

Remember that path because we will use it later.
OK, we have downloaded the toolkit into our home directory. In my case the home directory is /home/macewan and that is were I downloaded the program. The name of the downloaded program is j2me_wireless_toolkit-2_1-linux-i386.bin. Let's start.

chmod +x j2me_wireless_toolkit-2_1-linux-i386.bin
./j2me_wireless_toolkit-2_1-linux-i386.bin
q
yes
0
/usr/lib/java/bin/
[enter]
0
********** that's it *************
It was installed in /home/macewan/WTK2.1 and to run it I need to be in the bin directory of this newly created folder and type ./ktoolbar like so
cd /home/macewan/WTK2.1/bin/
./ktoolbar
and you get this.


Robert MacEwan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Installing J2ME tools and SDK on Linux Platform