File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Mac OS and the fly likes Application slow on Mac Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Application slow on Mac" Watch "Application slow on Mac" New topic

Application slow on Mac

Mohammad Salahuddin

Joined: Oct 31, 2003
Posts: 4

I am new to the Macintosh environment and was wondering if someone could help me here.

I have written a java application (stand-alone) on a Windows platform. The application is computation intensive and uses Java3D APIs to render 3D objects. Also, the application uses JSci APIs to render 2D graphs and has a number of other features, which use extremely large arrays. The application is built using Swing APIs whereever possible.

Now, when I run the application (jar) on a Windows platform (XP), it runs fine as expected. However, when I run the same application on Mac OS X (10.3.5), it runs extremely slow, takes ages to render 3D objects or to do anything as a matter a fact.

In summary, the application runs much much faster on Windows (Intel P4 - 1.4 GHz, 768MB RAM) as compared to running it on a Dual 1.42 GHz PowerPC G4 with 1GB RAM. This does not make sense to me.

Any insight/help would be highly appreciated.

Thanks in advance.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63838

Do you have the most up-to-date Java imaging library? I recall having to download and install an update for a graphics app I was using.

[Asking smart questions] [About Bear] [Books by Bear]
Mohammad Salahuddin

Joined: Oct 31, 2003
Posts: 4
Yes, I have the latest Java3D and JAI library installed on my Mac. As a matter of fact, problem exists with the entire application and not just the graphics rendering.

Any other thoughts?

Sonny Pondrom
Ranch Hand

Joined: Jun 05, 2001
Posts: 128
The use of Java3D on the Mac is news to me. I have read that Apple chose not to support the Java3D extension.

Is this the reason it does not work?

If it is support now, that would be great
[ January 15, 2005: Message edited by: Sonny Pondrom ]
I agree. Here's the link:
subject: Application slow on Mac
It's not a secret anymore!