Results 1 to 8 of 8
  1. #1
    ellias2007 is offline Member
    Join Date
    Feb 2010
    Posts
    25
    Rep Power
    0

    Unhappy Double Clickable Application

    Hi every body,
    i wrote a Java code making some program...
    How to make a "Double Clickable Application"... in fact, each time i have to run my code via the IDE (i use NetBeans)...
    i can NOT find the .jar file in the dist folder in the Project Folder...
    each time i can sucsessfully build and run my code ... and then obtain my application ... but the folder dist -and what it must contain- does NOT exist... and then the file .jar does NOT exist too ...
    (i can do this under windows... But i want under My Lovely OS : Mac)
    Any idea to help me making such portable and executable Application??
    Many thanks
    :(

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    When you build the code/application NetBeans gives you the URL. Did you check that path? Actually if you get the successful build message on NetBeans there must be a jar file in dist folder. As far as I know there is no such issues with the NetBeans.

  3. #3
    ellias2007 is offline Member
    Join Date
    Feb 2010
    Posts
    25
    Rep Power
    0

    Unhappy Re

    Thanks for ur help...

    Quote Originally Posted by Eranga View Post
    When you build the code/application NetBeans gives you the URL. Did you check that path?
    Which path? where i can find it???

    Quote Originally Posted by Eranga View Post
    Actually if you get the successful build message on NetBeans there must be a jar file in dist folder. As far as I know there is no such issues with the NetBeans.
    The Problem is that No dist folder is created .. then No jar file is found ...
    and the code is build successfuly and i get the application i expect...
    :confused:

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by ellias2007 View Post
    Which path? where i can find it???
    In output window. If NetBeans able to create the jar file correctly it will display the successful message on output window, with the path where the Jar file located and how to run it. It's in read color. And also if it's failed gives the message on same window. Didn't you see any?

    Quote Originally Posted by ellias2007 View Post
    The Problem is that No dist folder is created .. then No jar file is found ...
    and the code is build successfuly and i get the application i expect...
    :confused:
    If something wrong with your build process then you cannot find the dist folder in your project folder. Did you come with any error when you build the application?

  5. #5
    ellias2007 is offline Member
    Join Date
    Feb 2010
    Posts
    25
    Rep Power
    0

    Question as in the attached photo...

    Quote Originally Posted by Eranga View Post
    In output window. If NetBeans able to create the jar file correctly it will display the successful message on output window, with the path where the Jar file located and how to run it. It's in read color. And also if it's failed gives the message on same window. Didn't you see any?



    If something wrong with your build process then you cannot find the dist folder in your project folder. Did you come with any error when you build the application?
    i get no error .. i can compile the code and run the application...
    but as in the attached photo, there is No jar and No dist folder...
    Attached Thumbnails Attached Thumbnails Double Clickable Application-nojar.jpg  

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Oh man, you cannot find the dist folder in the NetBeans project root. Using explorer traverse to the physical folder location and check there.

  7. #7
    ellias2007 is offline Member
    Join Date
    Feb 2010
    Posts
    25
    Rep Power
    0

    Cool But Yes!...

    Quote Originally Posted by Eranga View Post
    Oh man, you cannot find the dist folder in the NetBeans project root. Using explorer traverse to the physical folder location and check there.
    ... But Yes!... in the case where NetBeans creates the dist folder, it appears here ... because this panel reflect what is in the Physical folders...
    when the file/folder is created in the Physical folder it appears here and vise-versa... so i also searched the Physical folders where the projects are (in the NetBeans Project folder) ... No dist folder is created...
    :o

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. run java application from desktop with double click
    By Rose88 in forum Advanced Java
    Replies: 4
    Last Post: 09-29-2009, 07:32 PM
  2. Double Buffering an Application?
    By Moncleared in forum New To Java
    Replies: 8
    Last Post: 09-14-2009, 05:45 AM
  3. Clickable icons in a JPanel \ JList
    By szakee in forum AWT / Swing
    Replies: 1
    Last Post: 04-14-2009, 12:16 AM
  4. Putting clickable icons on an image
    By szakee in forum AWT / Swing
    Replies: 3
    Last Post: 04-06-2009, 11:25 AM
  5. Double.valueOf() vs Double.parseDouble()
    By greenbean in forum New To Java
    Replies: 10
    Last Post: 01-12-2009, 09:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •