• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Application slow on Mac

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

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.
 
Sheriff
Posts: 67537
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Mohammad Salahuddin
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?

Thanks.
 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
What are you doing in my house? Get 'em tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic