You are on page 1of 1

Mobile and Pervasive Computing Laboratory

Java Installation:

As the WTK needs the latest version of java, install the jdk 1.6 given.

Copy the jdk bin file to your home folder

Run
./jdk-6u19-linux-i586.bin

In the terminal enter

gedit ~/.bashrc

In the last line enter the following

JAVA_HOME=/home/student/jdk1.6.0_19/bin
PATH=$JAVA_HOME:$PATH

Then In the terminal enter

source ~/.bashrc

Netbeans Installation:

For installing netbeans copy the netbeans.sh file to the home folder.

In the terminal enter

sh netbeans-6.8-ml-linux.sh

Select all the packages and click next till you finish.

Configuring Wireless Tool Kit:

After installing netbeans we have to specify the path for the emulator to work.

Open the file /home/student/netbeans-6.8/mobility8/WTK2.5.2/bin/emulator

Edit the javapathtowtk as

javapathtowtk=/home/student/jdk1.6.0_19/bin/

Now everything is ready for you to work for J2ME. Select new project in Netbeans and open a
Mobile Application under J2ME.
Also try the Sample applications under J2ME.

You might also like