Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Installing J2ME tools and SDK on Linux Platform

 
Glenn Castro
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I install and run the J2ME Wireless Toolkit on Linux Platform?
 
Michael Yuan
author
Ranch Hand
Posts: 1427
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe Michael meant to say, "just download the Linux version from java.sun.com and follow instructions"...
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Lasse! I missed the word "how" in the original post.
 
Glenn Castro
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Glenn Castro
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic