Results 1 to 4 of 4
Like Tree1Likes
  • 1 Post By DarrylBurke

Thread: How to Correct Error In Desktop Application

  1. #1
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    162
    Rep Power
    2

    Exclamation How to Correct Error In Desktop Application

    Hi
    i am try to create Desktop application using jdk.7 With Netbeans 7

    i build the project data from MySQL database to Jtable,
    i can run from Netbeans.
    But
    if i create jar, the jar self run from it's own path by duble click (E:\Raj\Gui\Mytabless\dist)

    The problem is, if i copy to another location (desktop) i unable to run
    the clean and build error is

    Java Code:
    init:
    deps-clean:
    Updating property file: E:\Raj\Gui\jesus\build\built-clean.properties
    Deleting directory E:\Raj\Gui\jesus\build
    clean:
    init:
    deps-jar:
    Created dir: E:\Raj\Gui\jesus\build
    Updating property file: E:\Raj\Gui\jesus\build\built-jar.properties
    Created dir: E:\Raj\Gui\jesus\build\classes
    Created dir: E:\Raj\Gui\jesus\build\classes\META-INF
    Copying 1 file to E:\Raj\Gui\jesus\build\classes\META-INF
    Created dir: E:\Raj\Gui\jesus\build\empty
    Compiling 5 source files to E:\Raj\Gui\jesus\build\classes
    [COLOR="#FF0000"]warning: [options] bootstrap class path not set in conjunction with -source 1.5
    1 warning[/COLOR]
    Copying 22 files to E:\Raj\Gui\jesus\build\classes
    compile:
    Created dir: E:\Raj\Gui\jesus\dist
    Copying 1 file to E:\Raj\Gui\jesus\build
    Copy libraries to E:\Raj\Gui\jesus\dist\lib.
    Building jar: E:\Raj\Gui\jesus\dist\jesus.jar
    To run this application from the command line without Ant, try:
    java -jar "E:\Raj\Gui\jesus\dist\jesus.jar"
    jar:
    BUILD SUCCESSFUL (total time: 0 seconds)
    Any one can answer me please..,

    Thank you..,

  2. #2
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    162
    Rep Power
    2

    Default Re: How to Correct Error In Desktop Application

    How to correct this Error

    warning: [options] bootstrap class path not set in conjunction with -source 1.5
    1 warning

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Moderator
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    9,928
    Rep Power
    16

    Default Re: How to Correct Error In Desktop Application

    NetBeans creates a readme.txt file in the dist folder. You're meant to read it.

    Moving to the NetBeans section.

    db
    Why do they call it rush hour when nothing moves? - Robin Williams

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Moderator
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    9,928
    Rep Power
    16

    Default Re: How to Correct Error In Desktop Application

    And the warning is just that: a warning. It has nothing at all to do with the problem you've vaguely identified as
    The problem is, if i copy to another location (desktop) i unable to run
    db
    Tolls likes this.
    Why do they call it rush hour when nothing moves? - Robin Williams

Similar Threads

  1. Datasource in desktop application
    By Manolo in forum Advanced Java
    Replies: 4
    Last Post: 04-28-2011, 07:29 AM
  2. Desktop Application to Applet?
    By Silversurfer20 in forum Java Applets
    Replies: 4
    Last Post: 02-15-2011, 01:46 PM
  3. Desktop Application
    By vineet osho in forum New To Java
    Replies: 3
    Last Post: 06-13-2010, 05:37 AM
  4. Remote Desktop Application
    By Drango in forum CLDC and MIDP
    Replies: 2
    Last Post: 05-17-2010, 11:22 PM
  5. Replies: 3
    Last Post: 12-04-2009, 12:10 PM

Posting Permissions

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