The application works fully in console but not by clicking on the jar

87 Views Asked by At

I have created an application with scala and it works from the console by using java -jar application.jar, but when I double click on my application, the application doesn't work fully.

This is a gif that I've take which show exactly the problem:

http://i.imgur.com/uitgSky.mp4

https://www.youtube.com/watch?v=OQRb6biSGf0

My manifest:

enter image description here

How to solve this problem? This is because I use scala? I don't think it's really hard to fix because java -jar app.jar work great so... Maybe it's the firewall which blocks the response from the server ? (I use the serversocket) ...

1

There are 1 best solutions below

0
On

Okay so after launch my app in console i've view a scanner in while and it's the cause of the problem.

Solved ;)