Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Unable to launch app of java application

  1. #1
    Junior Member
    Join Date
    May 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Unable to launch app of java application

    Hi,

    I have machine with Mac having same jre 6_u17. I created my application package for Mac. It run on first machine by double click on application.app folder, but on another mac, it did not launch the application using double click. I then go the folder which contains jar. If I run jar directly, it runs without any issue.

    We are distributing our application to clients, we can't ask them to each time copy latest JavaApplicationStub (/System/Library/Frameworks/JavaVM.framework/Resources/MacOS) to launch app.

    Is there any code so that our application can use latest JavaApplicationStub? Suggest solution.

    I am not getting right category in your forum to post this question, please suggest me.

    Thanks in Advance!


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,372
    Thanks
    184
    Thanked 836 Times in 779 Posts
    Blog Entries
    5

    Default Re: Unable to launch app of java application

    You can try to bundle the app specifically for mac users (xcode should do all the nitty gritty work for you although from memory it wasn't that trivial). Never directly had the problem you describe so this may or may not work. Bundling apps is the normal app-type distribution for mac users, and depending upon your client base may prefer this sort of distribution. See:
    Bringing your Java Application to Mac OS X
    and
    Bringing your Java Application to Mac OS X

    You may also wish - if you app does not require 1.6 - to compile for 1.5 since older macs that run leopard and below by default do not have 1.6 installed.

Similar Threads

  1. Java Application Help...
    By Brian in forum Java ME (Mobile Edition)
    Replies: 0
    Last Post: March 25th, 2010, 08:38 AM
  2. FAX Functionality in JAVA Application
    By animesh in forum Java Theory & Questions
    Replies: 0
    Last Post: February 11th, 2010, 07:39 AM
  3. Out of memory work around for a java application (please help!)
    By javameanslife in forum Java Theory & Questions
    Replies: 5
    Last Post: January 22nd, 2010, 04:27 AM
  4. Replies: 0
    Last Post: December 3rd, 2009, 04:43 PM
  5. Help with Java Application
    By Riston in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: November 19th, 2009, 07:17 PM