Crashing on startup (MAC)

Forum for bugs and technical problems.

Re: Crashing on startup (MAC)

Postby Wournos » Sun Dec 16, 2012 11:52 am

PoetofTragedies wrote:
nostra wrote:I SOLVED IT!

Step 1: Uninstall your Java 7 stuff
Step 2: Install this http://support.apple.com/kb/DL1572?viewlocale=de_DE
Step 3: Run your Salem with the 1.6 version with direct path (from command line):
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javaws /path/to/game/salem.jnlp

It works perfect!!



Hi!

I've uninstall java 7, and installed Java 6...

When I do your exact command line he tells me that its impossible to open the aplication, "no such file or directory"

So, I realized that's because I need to change the "/path/to/game/" to the exact path where I have the salem.jnlp
In my case, and maybe in the majority of the people here... I have the Salem.jnlp in the downloads folder...

so, I've changed the /path/to/game/ to /users/bruno/downloads/salem.jnlp

(bruno is my user name in my mac)

so the command are exactly the above:

System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javaws /users/bruno/downloads/salem.jnlp

what is wrong with my command line to not work?

can you help, please?

Cheers!!

The only thought that springs to mind is that you have a space between /javaws and /users/
But if this is the problem I don't know. I have an "old" Mac (Snow Leopard) and apparently run Java v.6 already, which means I don't need to do this update. I do experience extreme slowness and loading times at times. The game has crashed twice so far but I think it has more to do with the state of my computer than anything else (been problematic ever since I installed Snow Leopard).
Reminder to self: Patience is a virtue.
If Apple blocks Java on Mac: delete
Image
User avatar
Wournos
 
Posts: 519
Joined: Thu Dec 13, 2012 11:45 am
Location: Sweden

Re: Crashing on startup (MAC)

Postby pazustep » Tue Dec 18, 2012 9:34 pm

No solutions so far? I'm a developer and I can't uninstall Java 7 — you guys should update the jnlp file to require a 1.6 JVM so the system can pick the correct version.

I've tried downloading the jnlp file and manually launching the app using the 1.6 jvm:

/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javaws -verbose -wait salem.jnlp

But then, Java refuses to trust your self-signed certificate:

http://pbrd.co/T5lHei

So: 1.7 doesn't load .jnilib files, breaking JGL — 1.6 doesn't accept the self-signed certificate. You guys need to fix one of the two.
pazustep
 
Posts: 1
Joined: Tue Dec 18, 2012 9:14 pm

Re: Crashing on startup (MAC)

Postby johnnyzg » Tue Jan 22, 2013 10:50 pm

nostra wrote:I SOLVED IT!

Step 1: Uninstall your Java 7 stuff
Step 2: Install this http://support.apple.com/kb/DL1572?viewlocale=de_DE
Step 3: Run your Salem with the 1.6 version with direct path (from command line):
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javaws /path/to/game/salem.jnlp

It works perfect!!


I'm using the following command to install it and later to start it up without removing Java 7 (just doing Step 3):
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javaws http://plymouth.seatribe.se/java/salem.jnlp

It works on Mountain Lion, upgraded from Lion, so old Java is still here. Java version is "1.6.0_37".
johnnyzg
 
Posts: 1
Joined: Sun Jan 20, 2013 9:23 am

Re: Crashing on startup (MAC)

Postby Kruzminator » Sat Feb 02, 2013 4:47 pm

Hello

I also can't play Salem. I have followed the instructions mentioned in the previous posts and nothing works.

The very first time it worked but since then nothing.

I moved the salem file to the desktop and used the following command line:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javaws /Users/joaocruz/Desktop/salem.jnlp

I always get the following message:
Java Web Start splash screen process exiting ...
Can not find message file: No such file or directory]

when I check my java version on the command line I get the following:
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

Hope you can reply as I can't wait to play Salem.

Joao Cruz
Kruzminator
 
Posts: 2
Joined: Sat Feb 02, 2013 11:53 am

Re: Crashing on startup (MAC)

Postby Wournos » Sat Feb 02, 2013 4:52 pm

You might want to try this: http://forum.salemthegame.com/viewtopic.php?f=10&t=4074#p47669
Apple has blocked Java (read from post 6 if you're interested in why).
Reminder to self: Patience is a virtue.
If Apple blocks Java on Mac: delete
Image
User avatar
Wournos
 
Posts: 519
Joined: Thu Dec 13, 2012 11:45 am
Location: Sweden

Re: Crashing on startup (MAC)

Postby Kruzminator » Sat Feb 02, 2013 5:00 pm

thanks Wournos,

I have read and tried that solution as well and still its not working. However I feel my problem is slightly different as I get a different message error.

They get something like:

2013-01-31 08.32.40 [0x0-0x1c01c].com.apple.JavaWebStart Java Web Start splash screen process exiting .....
2013-01-31 08.32.40 [0x0-0x1c01c].com.apple.JavaWebStart Bad installation. No JRE found in configuration file: No such file or directory

while mine says:
Java Web Start splash screen process exiting ...
Can not find message file: No such file or directory

Im not an IT guy but as far as i understood Apple says we dont like Java anymore so lets forbid it for everyone. =)
Kruzminator
 
Posts: 2
Joined: Sat Feb 02, 2013 11:53 am

Re: Crashing on startup (MAC)

Postby Wournos » Sat Feb 02, 2013 6:35 pm

Kruzminator wrote:Im not an IT guy but as far as i understood Apple says we dont like Java anymore so lets forbid it for everyone. =)

Yes, that pretty much sums it up.

I searched for the message you got and found the following: http://stackoverflow.com/questions/5763646/starting-javaws-on-mac-os-fails-with-cannot-find-message-file
I ran sudo nano /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist in the terminal just to check what happens and I get the same file content as displayed on this site, but without the comment signs ( <!-- --> ) so I don't know if this will help you or not. Hopefully someone else here has better knowledge than I do.
Reminder to self: Patience is a virtue.
If Apple blocks Java on Mac: delete
Image
User avatar
Wournos
 
Posts: 519
Joined: Thu Dec 13, 2012 11:45 am
Location: Sweden

Re: Crashing on startup (MAC)

Postby bdilello » Mon Feb 11, 2013 12:07 am

Hey guys,

I was having the "Java Web Start splash screen process exiting ..... Bad installation. No JRE found in configuration file" problem, and the solution posted in this thread worked for me:

viewtopic.php?f=10&t=4074#p47669

It basically says to run this command:

sudo /usr/libexec/PlistBuddy -c "Delete :JavaWebComponentVersionMinimum" /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist

Then, launch the jnlp as usual:

/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javaws /path/to/game/salem.jnlp

Hope it works for you too!
bdilello
 
Posts: 1
Joined: Sun Feb 10, 2013 7:43 pm

Previous

Return to Bugs & Technicalities

Who is online

Users browsing this forum: Majestic-12 [Bot] and 4 guests