# java.io.EOFException iPhone 4s iOS6.1.2 	7.5.6 (b1316)

**URL:** <https://forum.inductiveautomation.com/t/java-io-eofexception-iphone-4s-ios6-1-2-7-5-6-b1316/5961>\
**Category:** Ignition\
**Created:** [March 4, 2013, 5:32pm UTC](https://forum.inductiveautomation.com/t/java-io-eofexception-iphone-4s-ios6-1-2-7-5-6-b1316/5961 "2013-03-04T17:32:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ecujak](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@ecujak](https://forum.inductiveautomation.com/u/ecujak)\
**Post date:** [March 4, 2013, 5:32pm UTC](https://forum.inductiveautomation.com/t/java-io-eofexception-iphone-4s-ios6-1-2-7-5-6-b1316/5961/1 "2013-03-04T17:32:44Z")

</div>

From my iPhone, I can get to the Ignition Mobile launch page, but when I click on an aplicaiton I get the following error:  
java.io.EOFException

iPhone 4s  
iOS6.1.2   
ignition 7.5.6 (b1316)

Java 1.7.0\_15

---

<div class="post-metadata">

**Author:** ![ecujak](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@ecujak](https://forum.inductiveautomation.com/u/ecujak)\
**Post date:** [March 4, 2013, 6:01pm UTC](https://forum.inductiveautomation.com/t/java-io-eofexception-iphone-4s-ios6-1-2-7-5-6-b1316/5961/2 "2013-03-04T18:01:53Z")

</div>

Please explain more on the VNC options. I use tightVNC in some cases. VNC wants a password, but there isn’t an option in the Mobile VNC settings. If VNC is already running on port 5800 and 5900. Should I change the VNC port in ignition to 5901(Default is 5900)?

I would love to know more about VNC as an option for machines that can’t use jre.

---

<div class="post-metadata">

**Author:** ![0sm0](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/0sm0/32/15228_2.png) [@0sm0](https://forum.inductiveautomation.com/u/0sm0)\
**Post date:** [March 5, 2013, 2:32am UTC](https://forum.inductiveautomation.com/t/java-io-eofexception-iphone-4s-ios6-1-2-7-5-6-b1316/5961/3 "2013-03-05T02:32:57Z")

</div>

For the error you are getting you will need to install Java 6 on the gateway server as the Mobile module doesn’t seem to work with Java 7 yet.

you will then need to set the path to java in the mobile settings… first line…

eg. C:\Program Files\Java\jre6\bin\java.exe

---

<div class="post-metadata">

**Author:** ![ecujak](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@ecujak](https://forum.inductiveautomation.com/u/ecujak)\
**Post date:** [March 5, 2013, 8:57pm UTC](https://forum.inductiveautomation.com/t/java-io-eofexception-iphone-4s-ios6-1-2-7-5-6-b1316/5961/4 "2013-03-05T20:57:15Z")

</div>

Do I key the full path to jre6 or to the bin directory?

D:\Program Files\Java\jre6  
or  
D:\Program Files\Java\jre6\bin

---

<div class="post-metadata">

**Author:** ![0sm0](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/0sm0/32/15228_2.png) [@0sm0](https://forum.inductiveautomation.com/u/0sm0)\
**Post date:** [March 5, 2013, 10:03pm UTC](https://forum.inductiveautomation.com/t/java-io-eofexception-iphone-4s-ios6-1-2-7-5-6-b1316/5961/5 "2013-03-05T22:03:07Z")

</div>

I had to do the full path as per my previous post…

Worked for me under the exact same setup as you.

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [March 5, 2013, 10:12pm UTC](https://forum.inductiveautomation.com/t/java-io-eofexception-iphone-4s-ios6-1-2-7-5-6-b1316/5961/6 "2013-03-05T22:12:24Z")

</div>

You will need the full path to where the Java 6 is, just as 0sm0 stated. As for your other question, that will be answered in the other thread that you created.

---

<div class="post-metadata">

**Author:** ![jasoncoope](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jasoncoope/32/18674_2.png) [@jasoncoope](https://forum.inductiveautomation.com/u/jasoncoope)\
**Post date:** [April 17, 2014, 8:21pm UTC](https://forum.inductiveautomation.com/t/java-io-eofexception-iphone-4s-ios6-1-2-7-5-6-b1316/5961/7 "2014-04-17T20:21:45Z")

</div>

Has this been fixed or do we still need to rollback to Java 6 on the gateway?

---

<div class="post-metadata">

**Author:** ![0sm0](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/0sm0/32/15228_2.png) [@0sm0](https://forum.inductiveautomation.com/u/0sm0)\
**Post date:** [April 17, 2014, 9:59pm UTC](https://forum.inductiveautomation.com/t/java-io-eofexception-iphone-4s-ios6-1-2-7-5-6-b1316/5961/8 "2014-04-17T21:59:27Z")

</div>

Working fine with latest java 7

---

<div class="post-metadata">

**Author:** ![anna](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@anna](https://forum.inductiveautomation.com/u/anna)\
**Post date:** [April 18, 2014, 7:37pm UTC](https://forum.inductiveautomation.com/t/java-io-eofexception-iphone-4s-ios6-1-2-7-5-6-b1316/5961/9 "2014-04-18T19:37:53Z")

</div>

The Mobile Module on the current 7.5 LTS and 7.6 releases, in fact, requires Java 7.

jasoncoope, the updates are indicated by the 3rd digit in the version number, so 7.5.11 is the updated (5 updates up) version, and it works with Java 7. If you absolutely have to stay on 7.5.6, you can still use Java 7 for the Gateway (specifying the path to it in /Inductive Automation/Igntion/data/igntion.conf file), while pointing the Mobile Module to Java 6 by specifying the full path to it in the “Java Path” setting on the “Configure \> Mobile / Settings” page.
