# Mobile Client Error Message

**URL:** <https://forum.inductiveautomation.com/t/mobile-client-error-message/4715>\
**Category:** Ignition\
**Created:** [June 27, 2012, 6:57pm UTC](https://forum.inductiveautomation.com/t/mobile-client-error-message/4715 "2012-06-27T18:57:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgele](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cgele/32/3453_2.png) [@cgele](https://forum.inductiveautomation.com/u/cgele)\
**Post date:** [June 27, 2012, 6:57pm UTC](https://forum.inductiveautomation.com/t/mobile-client-error-message/4715/1 "2012-06-27T18:57:20Z")

</div>

I’m receiving this message when launching the moblie client.

java.lang.IllegalStateException: Client VM not initialized.

Any suggestions?

Thanks.

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [June 27, 2012, 7:01pm UTC](https://forum.inductiveautomation.com/t/mobile-client-error-message/4715/2 "2012-06-27T19:01:04Z")

</div>

That means that the mobile module doesn’t know where java.exe is located on the server. Go into the Ignition Gateway configuration page and select Mobile \> Settings on the left hand side. Enter in the path to Java in the Java Path text field. It is usually something like:`c:\program files\java\jre6\bin\java.exe`Save and try launching again.

---

<div class="post-metadata">

**Author:** ![cgele](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cgele/32/3453_2.png) [@cgele](https://forum.inductiveautomation.com/u/cgele)\
**Post date:** [June 27, 2012, 7:22pm UTC](https://forum.inductiveautomation.com/t/mobile-client-error-message/4715/3 "2012-06-27T19:22:49Z")

</div>

I’ve made those changes and now I’m seeing this message.

com.inductiveautomation.mobile.gateway.InvalidSetupException: Java setup is not valid for launching mobile VMs.

We’re running CentOS and here’s our path

/usr/bin/java

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 27, 2012, 7:56pm UTC](https://forum.inductiveautomation.com/t/mobile-client-error-message/4715/4 "2012-06-27T19:56:38Z")

</div>

[quote=“cgele”]I’ve made those changes and now I’m seeing this message.

com.inductiveautomation.mobile.gateway.InvalidSetupException: Java setup is not valid for launching mobile VMs.

We’re running CentOS and here’s our path

/usr/bin/java[/quote]

Are you running Sun/Oracle Java or OpenJDK? Headless or do you have a desktop environment installed? We’ll help you troubleshoot over the forums, but you should be aware that the mobile module is not officially supported on Linux.

---

<div class="post-metadata">

**Author:** ![cgele](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cgele/32/3453_2.png) [@cgele](https://forum.inductiveautomation.com/u/cgele)\
**Post date:** [June 27, 2012, 8:19pm UTC](https://forum.inductiveautomation.com/t/mobile-client-error-message/4715/5 "2012-06-27T20:19:47Z")

</div>

Kevin:

We are running Sun/Oracle Java and headless CentOS Linux on a virtual machine with 1 GB of memory.

Is there a worksheet for memory usage required by Ignition clients? I know the default is 256MB. Is it possible to reduce or increase this size?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 27, 2012, 8:29pm UTC](https://forum.inductiveautomation.com/t/mobile-client-error-message/4715/6 "2012-06-27T20:29:41Z")

</div>

Mobile module doesn’t work at all on a headless linux install because of the technology used to run the client VMs. You’ll need a graphical environment (X) installed. You’ll also certainly run into memory problems with just 1GB for the VM, almost immediately, because the way the mobile module works is that for each mobile session connected a VM is running the client on the gateway.

---

<div class="post-metadata">

**Author:** ![Koot](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@Koot](https://forum.inductiveautomation.com/u/Koot)\
**Post date:** [July 16, 2012, 9:34am UTC](https://forum.inductiveautomation.com/t/mobile-client-error-message/4715/7 "2012-07-16T09:34:14Z")

</div>

I am experiencing a similar issue. I’m running Ignition 7.42 (need to upgrade to 7.5 still) on a VM with Ubuntu 9.04. I assume this is considered a headless installation as it is accessible only via SSH. Based on the responses I’ve read here, am I to understand then that if I install KDE or X or something of the like then the mobile module would work?

Regards

---

<div class="post-metadata">

**Author:** ![Greg.Buehler](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@Greg.Buehler](https://forum.inductiveautomation.com/u/Greg.Buehler)\
**Post date:** [July 16, 2012, 1:57pm UTC](https://forum.inductiveautomation.com/t/mobile-client-error-message/4715/8 "2012-07-16T13:57:26Z")

</div>

Indeed. You’ll need x installed. The mobile module on Linux actually creates a virtual x session and that’s what you’re looking at.
