Solved

Mac fails to run Java app that works on PC

Posted on 2008-10-22
5
275 Views
Last Modified: 2013-11-24
I am running a beta test on a Java application, it's on private servers so I can't point you there.  I have a grab from the console log on a MAC running OS X 10.4.11 - JRE 1.5.0_16  - this app fails on the mac, but not on a PC or on a mac running JRE 1.5.0_13.  I cannot swear there are no other differences between the two machines.

The system complains that it cannot parse the file helpset.hs, also there is a complaint about a malformed URL "map.jhm."  Yes, the period is included in the error output.

No, I have No Business trying to figure this out myself, I am completely out of my element.

I have attached the console log in a .jpg - it doesn't seem to want to let me get the text from it.
It is not a complete snap, I am hoping someone can point me in the right direction or give me a clue for my developer.  I've tried three or four of his solutions, none have worked.

Thanks,

M

image.jpg
0
Comment
Question by:chakaal
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:DJDecay
ID: 22806282
Are you using an obfuscator, or any assemblies are obfuscated?


0
 
LVL 2

Author Comment

by:chakaal
ID: 22806700
I have found/heard that this is a known Java bug, and the best I can hope for is a quick solution from them, or an easier work-around than the ones that have so far turned up.  The bug prevents URLs from being retrieved from a JAR which is why the errors fall out as they do. I'm told it is a known, high-priority bug, but that doesn't tell me whether a fix will be fast or not.

I guess my search is now for a workaround my developer can put in place pretty easily, since he is unfortunately also rather new to Java.  Failing that I may just have to deal with a broken application until there's a bug fix.

--M
0
 
LVL 4

Expert Comment

by:DJDecay
ID: 22809429
Could you try uncompress the JARs into .java assemblies. Repoint CLASS_PATHS to assembly directories? It should be a quick workaround if you're in a pinch

.


0
 
LVL 2

Author Comment

by:chakaal
ID: 22809535
I'll run it up the flagpole and see if he salutes it...

M
0
 
LVL 2

Accepted Solution

by:
chakaal earned 0 total points
ID: 23000579
We are out of time and the solution is I lose, so I'm going to accept my own answer and close this question rather than delete it.  
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The error "There was an error performing the update" occurred on a Mac OS X client workstation running  Symantec AntiVirus for Mac (http://www.symantec.com/business/products/purchasing.jsp?pcid=pcat_security&pvid=825_1) - the Enterprise product vers…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now