亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

Tutorial: install and use Java on the IPhone

系統(tǒng) 3890 0

?

With this tutorial you will be able to install? Java ? on the IPhone, compile and run simple? Java applications ?using IPhone.

I decided to split this tutorial into two different ones. So here they are:

Have fun and leave comments.


Tutorial: install Java on the IPhone

?

Installed packages

This is a tutorial, that shows step by step how to install? Java ?on the IPhone.

What we need is a working? unlocked and jailbraked ?IPhone with? Installer . I used latest? firmware ?1.1.4, unlocked, jailbreaked and customized by? winpwn .

First of all I'd like to say we all want to use legal IPhones and operators. So everything written below is for testing purposes only? :-) ?. Hopefully this technology will be avaliable on all IPhones sold worldwide. You also might need to recover your IPhone, so make sure you backed up all your data. I personally did everything without any problems and needs to recover. Everything you do is your responsibility, etc...

So let's start, because it's worth it! It's just one evening and you will be able to create your personal Java application, compile and run it on the IPhone, and amaze all your friends? :-) ?.

There are two steps:

?

Step 1: Go to Installer and install? Mobile Terminal ?and? Cydia ?Installer.

  1. Go to Settings -> General -> Auto-Lock and set it to Never. This will avoid some troubles during installation.
  2. Run Installer. Repository for Terminal should be already there (BigBoss), because it is in latest Community Sources.
  3. Add repository http://apptapp.saurik.com for Cydia Installer and refresh
  4. Go to Install -> System
  5. Find Term-vt100 - Mibile Terminal App. I used version svn278. Install it.
  6. Go to System again and find Cydia Installer - The Future of the IPhone. I used version 1.0. Install it.
  7. Exit. Restart IPhone. Two icons for Terminal and Cydia should appear.

Here are some screenshots for Step1:

Go to Installer ? Go to System ? Find Term-vt100

? Find Cydia Installer ? Install Cydia Installer

Two icons should appear

Step 2: Go to Cydia Installer and install Java.

  1. Run Cydia Installer.
  2. Go to Install - Java section. You will find many programms there.
  3. Select IPhone/Java. It will install most of the needed packages, which includes vm, libraries, etc.
  4. Click confirm and wait a little bit.
  5. Go to Java section again and install Jikes package (itwill be probably the only one left). Jikes is a compiler.
  6. Go to Installed Packages tab. Check that Classpath, IPhone/Java, JamVM, Jikes are installed. Several? other packages will be there too (Java SQLite, JocStap, etc).
  7. Exit Cydia and restart IPhone. Congratulations!!! You're done installing Java.

Run Cydia Installer ? Go to Java section ? Java section

?

Select IPhone/Java ? IPhone/Java dependencies ? Installation of IPhone/Java

?

Jikes ? Jikes ? Install Jikes

?

Installed packages ?

That's it. The tutorial about using all this stuff is? here? :)

?

?

Tutorial: compile and run Java application on the IPhone

Run
This is a tutorial, that shows step by step how to use installed? Java ?on the IPhone. Just in case you do not have Java installed on your IPhone there is a? tutorial ?how to do it.

What we need is a working? jailbraked ?IPhone with? Java Installed . I used latest? firmware ?1.1.4, unlocked, jailbreaked and customized by? winpwn .

Step 1: Create simple Java application, compile and run.

?

  1. Create file Java4IPhone.java and put simple Java hello-world code there. I used the following code: Create Java hello-world
  2. Upload to IPhone. I used /tmp directory. For uploading I used? IPhone Browser .
  3. Run Terminal.
  4. Use command? java -fullversion ?or? jamvm ?-fullversion ?to see if java is avaliable.
  5. Use command? jikes? to invoke java compiler.
  6. Go to /tmp directory, using command? cd /tmp
  7. Compile. We need to specify classpath to basic java packages. If we do not do that, jikes will produce an error (see? screenshot ). So use the following command: ? jikes Java4IPhone.java -cp /usr/lib/rt.jar
  8. After compiling? Java4IPhone.class? file should appear in the same directory. To run use command java Java4IPhone
  9. Take a look at the? screenshots . Hopefully you'll have something similar.

Upload Java application to IPhone

Check Java and Jikes ? Compile using Jikes ? Run

Upload Java application to IPhone

Step 2: Have fun!


?

?

Tutorial: install and use Java on the IPhone


更多文章、技術(shù)交流、商務合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯(lián)系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發(fā)表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 久久美剧 | 伊人久久在线 | 99在线在线视频免费视频观看 | 私人影院在线 | 波多野结衣亚洲一区 | 国产激情一区二区三区 | www.一区二区三区 | 夜夜夜夜夜操 | 久久免费激情视频 | 欧美成人免费观看国产 | 狼人香蕉香蕉在线视频播放 | 国产青草亚洲香蕉精品久久 | 人人揉人人爽五月天视频 | 特黄特级毛片免费视 | 久久精品亚洲日本筱田优 | 99美国热| 欧美一级刺激毛片 | 久久精品综合一区二区三区 | 国产成人性毛片aaww | 四虎影视在线影院在线观看 | 国产精品入口麻豆午夜 | 久久免费视频在线观看30 | 天天操天天干天天做 | 伊人久久欧美综合精品 | 毛片在线看网站 | 亚洲欧美日本一区 | 久久www香蕉免费人成 | 91视频国产91久久久 | 免费福利入口在线观看 | aaa影院 | 亚洲精品二三区伊人久久 | 久久久久久综合七次郎 | 亚洲国产精品一区二区九九 | 国产成人在线免费观看 | 国产在线观看不卡 | 亚洲精品国产字幕久久不卡 | 99热综合在线| 欧美91 | 免费观看久久 | 久久久久国产午夜 | 一道精品视频一区二区三区图片 |