Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Installing J2ME tools and SDK on Linux Platform

 
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?
 
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes
 
author
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
Posts: 1436
6
Python TypeScript Java
  • 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?
 
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.
 
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.
 
You save more money with a clothesline than dozens of light bulb purchases. Tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic