• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Application slow on Mac

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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.
 
Marshal
Posts: 67279
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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 ]
 
The problems of the world fade way as you eat a piece of pie. This tiny ad has never known problems:
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!