Sillysoft
Lux Delux summer sale is on now!
Lux Forums
The Forums Of Universal Domination

 
  Games     Forums     Wiki     Rankings     Sillysoft Lux Online Risk Game RSS feeds    

  About     Contact     News     Sitemap     Maps     Downloads     Buy    
Memberlist     Search     Forum Sign-up     Log in
Lux 4.0 Won't Start
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Sillysoft Games Forum Index -> Bugs and Tech
View previous topic :: View next topic  
Author Message
kolakowski
Luxer


Joined: 23 Jul 2004
Posts: 6
Location: Baltimore, MD

PostPosted: Fri Jul 23, 2004 1:25 pm    Post subject: Lux 4.0 Won't Start Reply with quote

I just downloaded Lux and it won't even start. No error messages, not windows...nothing. In the console.log the following error occurs:

-[NSJavaVirtualMachine initWithClassPath:] FATAL: cannot initialize ObjCJava. Exit


This is mac os x 10.3.4 on a powerbook G3 with 512 mb of RAM
Back to top
View user's profile Send private message View kolakowski's ranking
Kef
Lux Translator


Joined: 24 Feb 2004
Posts: 4470
Location: in j0r f0rumz, Tr0||in j0r t0pixzz

PostPosted: Fri Jul 23, 2004 2:00 pm    Post subject: Reply with quote

I'm guessing sometign is wrong with your java
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger View Kef's ranking
DrgnMastr
Luxer


Joined: 24 Nov 2003
Posts: 55
Location: Nova Scotia, Canada

PostPosted: Fri Jul 23, 2004 2:35 pm    Post subject: LUX Won't Start Reply with quote

Kef wrote:
I'm guessing sometign is wrong with your java


This doesn't really help the matter. I, too, have the same problem that Lux won't start. Tell where to look to solve the problem. In fact, I have been unable to play Lux for nearly 6 months. All of my browsers (safari, mozilla, ie) all work with java.
Back to top
View user's profile Send private message View DrgnMastr's ranking
dustin
Lux Admin
Lux Admin


Joined: 15 May 2003
Posts: 8047
Location: Vancouver

PostPosted: Fri Jul 23, 2004 2:53 pm    Post subject: Reply with quote

Here are some things that you can do:

1. Go to Software Update (from the Apple menu, or System Preferences) and check to see if there are any updates with 'java' in them.

2. Open up the Applications/Utilities/Terminal application and type 'java -version' into it. Please post what it says here.
Back to top
View user's profile Send private message Send e-mail Visit poster's website View dustin's ranking
DrgnMastr
Luxer


Joined: 24 Nov 2003
Posts: 55
Location: Nova Scotia, Canada

PostPosted: Fri Jul 23, 2004 3:07 pm    Post subject: Reply with quote

1. No Java Updates

2.

java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-117.1)
Java HotSpot(TM) Client VM (build 1.4.2-34, mixed mode)
Back to top
View user's profile Send private message View DrgnMastr's ranking
dustin
Lux Admin
Lux Admin


Joined: 15 May 2003
Posts: 8047
Location: Vancouver

PostPosted: Fri Jul 23, 2004 3:23 pm    Post subject: Reply with quote

OK, your java looks up-to-date. My searches on that error message haven't turned up anything. I sent an email to Apple's java-dev mailing list and maybe that will turn up something.

You say you haven't been able to play Lux for 6 months. I assume this means at one time Lux worked for you? Can you remember any changes to your computer that happened around then?
Back to top
View user's profile Send private message Send e-mail Visit poster's website View dustin's ranking
DrgnMastr
Luxer


Joined: 24 Nov 2003
Posts: 55
Location: Nova Scotia, Canada

PostPosted: Fri Jul 23, 2004 3:31 pm    Post subject: Reply with quote

Simple, actually. I ran Apple Software Update and it put in a Java update. I have checked all permissions, and the disk, and all is fine.
Back to top
View user's profile Send private message View DrgnMastr's ranking
dustin
Lux Admin
Lux Admin


Joined: 15 May 2003
Posts: 8047
Location: Vancouver

PostPosted: Fri Jul 23, 2004 4:01 pm    Post subject: Reply with quote

Something that you could try is re-installing the most recent java 1.4.2 update. It is available at http://www.apple.com/support/downloads/javaupdate.html
Back to top
View user's profile Send private message Send e-mail Visit poster's website View dustin's ranking
DrgnMastr
Luxer


Joined: 24 Nov 2003
Posts: 55
Location: Nova Scotia, Canada

PostPosted: Fri Jul 23, 2004 4:23 pm    Post subject: Reply with quote

Java reinstalled. No change in the LUX behaviour.

java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-117.1)
Java HotSpot(TM) Client VM (build 1.4.2-34, mixed mode)

The error:
-[NSJavaVirtualMachine initWithClassPath:] FATAL: cannot initialize ObjCJava. Exit
Back to top
View user's profile Send private message View DrgnMastr's ranking
dustin
Lux Admin
Lux Admin


Joined: 15 May 2003
Posts: 8047
Location: Vancouver

PostPosted: Fri Jul 23, 2004 4:35 pm    Post subject: Reply with quote

Sorry I haven't been able to solve your problem. Can you think of anything else about your computer that might be relevant?

You could try launching Lux from inside the Terminal application. Assuming you have Lux inside your Applications folder you would type:
/Applications/Lux.app/Contents/MacOS/Lux
Back to top
View user's profile Send private message Send e-mail Visit poster's website View dustin's ranking
DrgnMastr
Luxer


Joined: 24 Nov 2003
Posts: 55
Location: Nova Scotia, Canada

PostPosted: Fri Jul 23, 2004 5:17 pm    Post subject: Reply with quote

Launching from Terminal responds with:

-[NSJavaVirtualMachine initWithClassPath:] FATAL: cannot initialize ObjCJava. Exit

to the terminal window.

I reported this problem about 6 months ago, and there was no solution for it at time either. I sympathize with the original poster, as it is really disapointing.
Back to top
View user's profile Send private message View DrgnMastr's ranking
Kef
Lux Translator


Joined: 24 Feb 2004
Posts: 4470
Location: in j0r f0rumz, Tr0||in j0r t0pixzz

PostPosted: Fri Jul 23, 2004 5:19 pm    Post subject: Reply with quote

You use application enhancer? iirc that gave some problems with alot of things, java included
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger View Kef's ranking
kolakowski
Luxer


Joined: 23 Jul 2004
Posts: 6
Location: Baltimore, MD

PostPosted: Fri Jul 23, 2004 7:36 pm    Post subject: Reply with quote

My java is

java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-135)
Java HotSpot(TM) Client VM (build 1.4.2-36, mixed mode)


I have no problem with any other java programs incloding Acquisition.

Thanks
Back to top
View user's profile Send private message View kolakowski's ranking
DrgnMastr
Luxer


Joined: 24 Nov 2003
Posts: 55
Location: Nova Scotia, Canada

PostPosted: Fri Jul 23, 2004 10:01 pm    Post subject: Reply with quote

I do not have application enhancer, nor iirc.

Why is your java version different than mine. I re-installed the latest Apple Java (1.42) and don't have those numbers.
Back to top
View user's profile Send private message View DrgnMastr's ranking
kolakowski
Luxer


Joined: 23 Jul 2004
Posts: 6
Location: Baltimore, MD

PostPosted: Sat Jul 24, 2004 7:47 am    Post subject: Reply with quote

I do not use app enhancer nor ircc (whatever that is)

I use the downloads from connect.apple.com the developers connection.
That may account for small differences. We are both using 1.42 java and there have been few changes.
Back to top
View user's profile Send private message View kolakowski's ranking
ephica
Guest





PostPosted: Sat Jul 24, 2004 8:44 am    Post subject: crash on startup ;) Reply with quote

same problems described above.

java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-117.1)
Java HotSpot(TM) Client VM (build 1.4.2-34, mixed mode)

standard java 1.4.2 from software update, reinstall yields no change.

have had application installer installed at one time, but has been long un-installed for some time now.

by the way, i believe what kef meant by "iirc" was an abbreviation for "if i recall correctly." so don't worry, you probably never installed it on your computer Laughing.
Back to top
View ephica's ranking
DrgnMastr
Luxer


Joined: 24 Nov 2003
Posts: 55
Location: Nova Scotia, Canada

PostPosted: Sat Jul 24, 2004 1:46 pm    Post subject: Reply with quote

OK, I downloaded and installed Java 1.42 Update 1 RD3 from ADC, giving me java:

java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-135)
Java HotSpot(TM) Client VM (build 1.4.2-36, mixed mode)


which is the same version as you. However, starting LUX still results in the same error of:

-[NSJavaVirtualMachine initWithClassPath:] FATAL: cannot initialize ObjCJava. Exit

Did you also install the developper tools for RD3?



kolakowski wrote:
My java is

java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-135)
Java HotSpot(TM) Client VM (build 1.4.2-36, mixed mode)


I have no problem with any other java programs incloding Acquisition.

Thanks
Back to top
View user's profile Send private message View DrgnMastr's ranking
kolakowski
Luxer


Joined: 23 Jul 2004
Posts: 6
Location: Baltimore, MD

PostPosted: Sat Jul 24, 2004 1:52 pm    Post subject: Reply with quote

I have that same error as I stated when we started.

I do have the developer tools installed also.

I did search for the error via google. I found a number of instantance
errors on other posts.

This is the kind of thing that can happen when the class or framework fails to get loaded. Perhaps we could get a version of Lux with debugging enable. I bet this will show the failure to load the framework.
Back to top
View user's profile Send private message View kolakowski's ranking
dustin
Lux Admin
Lux Admin


Joined: 15 May 2003
Posts: 8047
Location: Vancouver

PostPosted: Sat Jul 24, 2004 3:16 pm    Post subject: Reply with quote

All the framework loading is done by apple code. Lux only gets called into once that is done. So I do not know if it would be possible to add any debugging info about the frameworks.

I created 2 very simple cocoa-java applications (which is what Lux is). Can you run them and see if the same thing happens?

http://sillysoft.net/download/SimpleCocoaJavaApp.zip (11 k download)
http://sillysoft.net/download/SimpleCocoaJavaApp2.zip (13 k download)
Back to top
View user's profile Send private message Send e-mail Visit poster's website View dustin's ranking
DrgnMastr
Luxer


Joined: 24 Nov 2003
Posts: 55
Location: Nova Scotia, Canada

PostPosted: Sat Jul 24, 2004 5:07 pm    Post subject: Reply with quote

SimpleCocoaApp returns:

-[NSJavaVirtualMachine initWithClassPath:] FATAL: cannot initialize ObjCJava. Exit

SimpleCocoaApp2 returns (with username really my short user name on this machine)

Starting NSApplication with params:

-> /Users/username/Documents/Downloads/Scratch/SimpleCocoaJavaApp2.app/Contents/MacOS/SimpleCocoaJavaApp

-> -psn_0_5767169

-[NSJavaVirtualMachine initWithClassPath:] FATAL: cannot initialize ObjCJava. Exit
Back to top
View user's profile Send private message View DrgnMastr's ranking
kolakowski
Luxer


Joined: 23 Jul 2004
Posts: 6
Location: Baltimore, MD

PostPosted: Sat Jul 24, 2004 8:58 pm    Post subject: Reply with quote

SimpleCocoaJavaApp reports in console.log
-[NSJavaVirtualMachine initWithClassPath:] FATAL: cannot initialize ObjCJava. Exit

SimpleCocoaJavaApp2 reports in console.log
Starting NSApplication with params:
-> /Users/lfk/Desktop/SimpleCocoaJavaApp2.app/Contents/MacOS/SimpleCocoaJavaApp
-> -psn_0_13762561
-[NSJavaVirtualMachine initWithClassPath:] FATAL: cannot initialize ObjCJava. Exit

That is all. Nothing else happens with either app
Back to top
View user's profile Send private message View kolakowski's ranking
dustin
Lux Admin
Lux Admin


Joined: 15 May 2003
Posts: 8047
Location: Vancouver

PostPosted: Sat Jul 24, 2004 10:51 pm    Post subject: Reply with quote

OK, so it looks as if it is nothing in particular to Lux that is the problem. Cocoa-java programs in general just do not run. Here is the Xcode project for one of the above programs. It is possible that running or debugging the program from within XCode will give some more information about the error.

http://sillysoft.net/download/SimpleCocoaJavaProject.zip (20 k download)

Double click the .xcode file to open the project. Then you can Build/Run/Debug the program from the Build menu or the toolbar.
Back to top
View user's profile Send private message Send e-mail Visit poster's website View dustin's ranking
Guest






PostPosted: Sun Jul 25, 2004 12:19 am    Post subject: Reply with quote

this can't be good
Back to top
View Guest's ranking
ephica
Luxer


Joined: 25 Jul 2004
Posts: 3

PostPosted: Sun Jul 25, 2004 12:23 am    Post subject: Reply with quote

sorry i forgot to put in a name; i'm the previous poster Wink.
Back to top
View user's profile Send private message AIM Address MSN Messenger View ephica's ranking
dustin
Lux Admin
Lux Admin


Joined: 15 May 2003
Posts: 8047
Location: Vancouver

PostPosted: Sun Jul 25, 2004 12:56 am    Post subject: Reply with quote

No, that should not happen. There should be lots of .class files inside of

/System/Library/Java/com/apple/cocoa/application
and
/System/Library/Java/com/apple/cocoa/foundation

Are there?
Back to top
View user's profile Send private message Send e-mail Visit poster's website View dustin's ranking
ephica
Luxer


Joined: 25 Jul 2004
Posts: 3

PostPosted: Sun Jul 25, 2004 1:16 am    Post subject: Reply with quote

heh.. uhh..
/System/Library/Java/com/ doesn't exist at all Confused
whichs makes me think i might have deleted it, after troubleshooting some java applet issues.
and i would suppose java reinstallation didn't replace them :\
perhaps others have done similar things?
Back to top
View user's profile Send private message AIM Address MSN Messenger View ephica's ranking
ephica
Luxer


Joined: 25 Jul 2004
Posts: 3

PostPosted: Sun Jul 25, 2004 2:12 am    Post subject: Reply with quote

PROBLEM SOLVED!

w00t!

got a friend to send me his "com" folder,
and i put it in /System/Library/Java/

then all is well
hopefully this solves everyone's problems

you can download the com folder here (zipped) and try it for yourself:

http://ktvoelker.dyndns.org/~insanity/tmp/com.zip

you will have to authenticate when you drag it to /System/Library/Java/

also no guarantees on how long this file will be available
Back to top
View user's profile Send private message AIM Address MSN Messenger View ephica's ranking
DrgnMastr
Luxer


Joined: 24 Nov 2003
Posts: 55
Location: Nova Scotia, Canada

PostPosted: Sun Jul 25, 2004 8:46 am    Post subject: Reply with quote

Very Happy

Adding the com folder did the trick!!!! You will have to authenticate before you can add the com folder to /System/Library/Java. However, the system will tell when to authenticate.

Thanks for solving this one.

- D.M.
Back to top
View user's profile Send private message View DrgnMastr's ranking
kolakowski
Luxer


Joined: 23 Jul 2004
Posts: 6
Location: Baltimore, MD

PostPosted: Sun Jul 25, 2004 12:47 pm    Post subject: Reply with quote

Wow -


Solve my problem too.
Thanks
Back to top
View user's profile Send private message View kolakowski's ranking
elew
Guest





PostPosted: Tue Jul 27, 2004 4:27 pm    Post subject: Reply with quote

I did everything you guys did and I still can't get lux 4.0 to run. What else should I try?
Back to top
View elew's ranking
Display posts from previous:   
Post new topic   Reply to topic    Sillysoft Games Forum Index -> Bugs and Tech All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Lux Delux is our flagship product: an advanced Risk world domination game with over 800 maps, hard AI, and online multi-player.

American History Lux takes you through the wars of USA history. — Ancient Empires Lux spans Babylon to the Roman Empire.

Lux Touch, Lux USA and Lux DLX let you conquer the world on your iPhone, iPod, and iPad.

Castle Vox is coming soon...

Free Game Downloads has direct download links to all the games. — We love playing fun Strategy Games.

Sillysoft Games makes games for Mac OS X, Windows XP/98/ME/2000/NT/Vista and Linux.

Macintosh users may be interested to see our favorite Mac OS X games. For the full Sillysoft empire check out the sitemap.

Because taking over the world is fun.
                                 - Lux