I have exported and signed a runnable jar from eclipse and created a jnlp file. The app launches fine if the java console is set to "show console" in java settings but the app never launches if the java console is set to hide which is the default setting. The console does not show any error on launch when it is visible.
Do anyone know what might cause this behavior?
Beneath is my jnlp file if it helps.
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="https://myserver.com" href="launcher.jnlp">
<information>
<title>App name</title>
<vendor>Company name</vendor>
<icon href="res/image.png"/>
<icon kind="splash" href="res/image.png"/>
</information>
<resources>
<!-- Application Resources -->
<j2se version="1.8.0_131-b11" href=
"https://java.sun.com/products/sautdl/j2se"/>
<jar href="res/myjar.jar"
main="true" />
</resources>
<security>
<all-permissions/>
</security>
<application-desc
name="App name"
main-class="com.comp.app.main">
</application-desc>
</jnlp>