Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Jar not working?  (Read 740 times)
0 Members and 1 Guest are viewing this topic.
Offline mike_bike_kite
« Posted 2014-03-16 10:30:11 »

I had a bunch of applets I wrote that played various games, I turned them into webstart apps because that seemed the way forward. Then the Java security model changed and none of that worked. I now just provide a link to the jar and let people save the jar locally and then run it from there. Unfortunately it's difficult to really test what happens on other peoples machines.

A friend has a apple computer and tells me he's enabled Java and lowered the security but can't get my chess program to work. Any body know why? or what I can do to fix this? Is releasing things as a jar the best way forwards for me? it's such a pain having to get people to download jars when the original code worked perfectly in their browser. It's also a pain because now I have no idea what version of the code people are running - with webstart I could ensure that everyone had the same bug fixes etc.

Many thanks

Mike

PS can anyone confirm that my little connect 4 program works? on apple or linux or PC?

Arcade swarm
Board Chess - Checkers - Othello
Offline LiquidNitrogen
« Reply #1 - Posted 2014-03-16 10:33:09 »

it works on windows, i lost Sad

Offline Kefwar
« Reply #2 - Posted 2014-03-16 10:38:08 »

I lost too  Sad
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline mike_bike_kite
« Reply #3 - Posted 2014-03-16 11:27:13 »

Thanks for confirming it works on Windows guys - I was beginning to wonder if it only worked for me.
Did you try the connect 4? (you don't have to play it but just say if it starts up).
Can anyone say if the chess works on apple?
Is there a better way of releasing the programs? downloadable jars seem a bit naff to me.

Mike

Arcade swarm
Board Chess - Checkers - Othello
Offline SHC
« Reply #4 - Posted 2014-03-16 11:36:15 »

They both work on mac, though I've to shake those windows and minimise and reopen the windows to get those painted.





I've not lowered any security settings.


Offline mike_bike_kite
« Reply #5 - Posted 2014-03-16 11:55:06 »

I'm confused then. My (not so IT literate) apple friend sent me the following error and said it just wouldn't run on apple.



Mike

PS - I'd just like to say thanks to you all for replying so fast - I'd didn't expect any responses for a few days!

Arcade swarm
Board Chess - Checkers - Othello
Offline SHC
« Reply #6 - Posted 2014-03-16 12:00:43 »

Ask him what the version of Java he's running. Maybe it's an old version I guess. Could you ask him to show the terminal output?

Offline mike_bike_kite
« Reply #7 - Posted 2014-03-16 12:38:19 »

I'll ask him and get back.

Arcade swarm
Board Chess - Checkers - Othello
Offline gouessej
« Reply #8 - Posted 2014-03-16 15:49:12 »

Maybe you can try this trick (OS X 10.8 and later):
http://forum.jogamp.org/JNLP-apps-crash-on-OS-X-10-8-Mountain-Lion-tp4025732p4026647.html

Offline mike_bike_kite
« Reply #9 - Posted 2014-03-19 19:40:32 »

He mentioned that he'd updated his OS (on apple) and it must have upset Java. He then uninstalled Java and re-installed and things worked again. I'm not sure why this would of happened but at least I have an answer if anyone else has the same issue. Thanks for helping.
Mike

Arcade swarm
Board Chess - Checkers - Othello
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (49 views)
2014-10-17 03:59:02

Norakomi (38 views)
2014-10-16 15:22:06

Norakomi (31 views)
2014-10-16 15:20:20

lcass (35 views)
2014-10-15 16:18:58

TehJavaDev (65 views)
2014-10-14 00:39:48

TehJavaDev (65 views)
2014-10-14 00:35:47

TehJavaDev (55 views)
2014-10-14 00:32:37

BurntPizza (72 views)
2014-10-11 23:24:42

BurntPizza (43 views)
2014-10-11 23:10:45

BurntPizza (84 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!