wah..... hikz3...ternyata dapat juga' melakukan pemrograman J2ME di ubuntu. Emang siy.. Ubuntu telah secara default menyertakan tool untuk development java yaitu java-gcj. Tetapi yaa... tu tadi si java-gcj tu bukan kluaran dari perusahaan besar Sun Microsystem ataupun Netbeans dan mungkin apakah dia bisa digabungkan dengan J2ME Wireless Toolkit..??. Jadi jika kita ingin memiliki java untuk programming mobile dari Sun ato yang lain...install ajah... ini q kasih liat caranya.. feri@feri-desktop:~$ sudo apt-get install netbeans feri@feri-desktop:~$ ./[nama_file_binary] feri@feri-desktop:~$ sudo ./sun_java_wireless_toolkit-2_5_2-linux.bin Sun Microsystems, Inc. ("Sun") ENTITLEMENT for SOFTWARE Do you agree to the above license terms? [yes or no] No suitable Java interpreter was detected This application requires Java 2 SDK, Standard Edition (1.5 or later). Enter a path to a Java 2 SDK (For example: /user/jdk1.5/bin). You can type "exit" to cancel installation. Please enter a directory into which you would like to install the Sun Java(TM) Wireless Toolkit, 2.5.2 for CLDC. Check for Product Updates? [yes or no] no Setup has enough information to start copying the program files. Extracting the installation files... feri@feri-desktop:~$/home/feri/WTK2.5.2/bin/ktoolbar
INSTALASI JDK
sebelumnya install dulu javanya (jdk) yang dapat didownload dari www.java.sun.com. Kalo aku pake netbeans yang ku install dari dvd repositori (dari www.repo.ugm.ac.id) dengan perintah
ato kalo yang download dari java.sun.com maka tinggal diinstall dengan perintah
gitu... tunggulah sampe rampung..
INSTALASI J2ME WIRELESS TOOLKIT 2.5.2
na... setelah instalasinya rampung selanjutnya adalah dengan menginstall J2ME Wireless Toolkitnya ni langkah-langkahnya...
Licensee/Company: Entity receiving Software.
Effective Date: Date of delivery of the Software to You.
Software: Sun Java Wireless Toolkit 2.5.2 for CLDC.
License Term: Perpetual (subject to termination under the SLA).
Licensed Unit: Software Copy.
Licensed unit Count: Unlimited.
Permitted Uses:
1. You may reproduce and use the Software for Your own Individual, Commercial an
d Research and Instructional Use only for the purposes of designing, developing,
testing, and running Your and applications.
.............................
dan seterusnya jika anda ingin membaca kelanjutannya tekan enter tapi jika ingin segera melanjutkannya tekan q maka akan muncul pertanyaan seperti ini
ketikkan "yes" (tanpa tanda kutip) kemudian enter
0) Specify a path to a Java interpreter directory.
1) Cancel this installation.
Select a choice [0-1]: 0
isikan "0" kemudian tekah enter
Enter a path to the Java 2 SDK: /usr/lib/jvm/java-6-openjdk/bin
masukkan pathnya seperti itu..
[ default is /home/feri/WTK2.5.2 ]:
secara default Akan diinstall di /home/[user_login]/WTK2.5.2. Jika Anda ingin menginstall-nya disitu tinggal enter sedangkan ingin menginstal di tempat lain.. juga tinggal memasukkan pathnya....
Current Settings:
Destination Directory
/home/feri/WTK2.5.2/
JVM Folder
/usr/lib/jvm/java-6-openjdk/bin/
Check for Program Updates
Disabled
Please choose one of the following options:
0) Begin copying files if you are satisfied with the settings .
1) Cancel the installation.
Select a choice [0-1]: 0
pilihlah "0" kemudian enter untuk memulai proses instalasinya
Documentation for the Sun Java(TM) Wireless Toolkit
2.5.2 for CLDC is in the file
/home/feri/WTK2.5.2/index.html
In order to start using the Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC, please run
/home/feri/WTK2.5.2/bin/ktoolbar
selamat..... Anda telah berhasil menginstallnya.... Selamat Ber-programming J2ME ria.....
Nah... sekarang jika Anda ingin membuat launcher di Desktop caranya gini....
klik kanan di desktop kemudian pilih Create Launcher... kemudian pada text Command masukkan path WTK-nya (/home/feri/WTK2.5.2/bin/ktoolbar) ... ganti icon... selesai dah......
ni... screensyutnya..........................
loading wtk......
jendela wtk...
wtk emulator.......
Programming J2ME di Ubuntu Hardy
Langganan:
Posting Komentar (Atom)
4 komentar:
Extracting the installation files...
./sun_java_wireless_toolkit-2_5_2-linux.bin: 466: /usr/lib/jvm/java-6-openjdk/bin/jar: not found
Failed to extract files. Installation will stop now.
Please try to install Sun Java(TM) Wireless Toolkit again, or contact wtk-comments@sun.com for assistance.
Please help me...
Error seperti diatas yang muncul setelah langkah ke 8.
Aku sudah install jdk sama eclipse setelah kucoba di eclipse javanya dah jalan kok.
Kira-kira apanya ya yang error.
Thank before...
@meg_greato, jadi gini, itu dikarenakan file jar-nya ilang. jadi solusinya masuk ke direktori di mana java bawaan ubuntu berada (java-gcj) pathnya ada di /usr/lib/jvm/java-gcj/bin kemudian kamu akan menemukan file bernama jar, kopi tuh filenya ke /usr/lib/jvm/java-6-openjdk/bin. kalo sudah kemudian install kembali wireless toolkitnya.
/usr/lib/jvm/java-openjdk/bin
In Fedora 10 i386 systems, I think this is the right place.
woo la njeh nek kulo mboten ngertos seng ngoten-ngoten niki, ha nggeh to mas..?? lha wong kulo niki mung wong ndeso je...
ndeso klutuk.
Posting Komentar