Page 1 of 2 12 LastLast
Results 1 to 20 of 38
  1. #1
    New_ToJava is offline Member
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default How to upgrade Java version in an application

    There is an application running on Java 2 runtime envirenment SE v1.4.2_03.
    How can i upgrade it to a latest version?

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    Depends on the application.

    Edit: And then, you're better off asking the comapny that produced it (or asking at a forum that revolves around that product or the company that produced it).

  3. #3
    New_ToJava is offline Member
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default

    What do i need to know to upgrade it?

  4. #4
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    Quote Originally Posted by New_ToJava View Post
    What do i need to know to upgrade it?
    Uhm, how it is that the application knows which jre to use, maybe?

    What is it that you want to change?

  5. #5
    New_ToJava is offline Member
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default

    You are right,application knows which jre to use.At the moment, its using 'java2 runtime environment,SE v1.4.2_0' and 'J2SE runtime environment 5.0 update 6'.As its very old version, i need to upgrade it to a newer version of java.

  6. #6
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    Okay? What application? If you know how to find out which JRE it is configured to use, you should know how to change it, as well, so, install a newer JRE and change that configuration. Where's the problem?

  7. #7
    New_ToJava is offline Member
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default

    I did.Now whne i run application,it doesnt run properly.Console tab at the bottom(eclipse IDE), comes up with loads of red statements starting of with 'java.net.malformedURLException'. do i need to change anything else?
    Thank you very much for your help so far.
    Last edited by New_ToJava; 11-05-2008 at 03:53 PM.

  8. #8
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,308
    Rep Power
    25

    Default

    application knows which jre to use
    How is that? Does the application start the jre after it has started execution? Is the application written in java or what?
    Usually its the OS that determines the commandline to use when executing a java program contained in a jar file. If the java app is executed from a batch file, then the commandline would be specifiec in the batch file. The commandline would say what jre to use.

    'net.malformedURLException
    That sounds like a runtime problem.
    Not sure where an IDE fits in with runtime problems.
    What happens when you put the app in a jar file and execute it with java (what version?)

    I'd think that Older versions of .class files should work with the latest version of java runtime. It would be when you tried to compile an older source that there would be errors.
    Could be wrong here, let others speak from experience.

  9. #9
    New_ToJava is offline Member
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default

    I tried putting application in jar file,but it doesnt create it successfully.

  10. #10
    New_ToJava is offline Member
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default

    i have upgraded the java version from1.4.2_03 to jre6.Changed properties to use jre6.Also changed JRE system library to jre6. Now when i try to run the application, it comes up with statements in red under console tab(eclipse IDE).It says 'Java.net.url.<init>(unknown source)' and many more. Can i resolve these?ANy help is appreciated.
    Thanks!!

  11. #11
    New_ToJava is offline Member
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default

    Types of errors i am getting are:
    java.net.malformedURLexception
    Java.lang.nullpointerexception
    java.io.filenotfoundexception
    exception occured during event dispatching:
    java.lang.nullpointerexception
    NetAppData:XML-Stream kann nicht gelesen werden!
    java.net.MalformedURLException

  12. #12
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,308
    Rep Power
    25

    Default

    Sorry, I don't understand how you are using an IDE when you execute the program. I use a commandline to execute my test programs from a jar file: java -jar <jarfilename>
    I don't see any red lines doing it this way. The error messages will be displayed on the console where I entered the commandline.

    When you post error messages, please copy and paste the full text of the message.

    It looks like you need to do some debugging of the program. Add some System.out.println() statements in front of the statements where you are getting the errors to show the URL, the object causing the NPE, the name of the file not found, etc

  13. #13
    New_ToJava is offline Member
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default

    My application has got a menu, one option is file.When clicked on file, it has got options like open, save,save as etc.I click on openand select a XML file from the system.When i select it, all the error(i assume these are errors) as they come up under console tabe at the bottom of Eclipse IDE.I am assuming that if i manage to resolve these, apllication would work fine.But i have no idea how to resolve these.Also i cant create a Jar file successfully.
    Can anybody help?

  14. #14
    New_ToJava is offline Member
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default

    These are the errors i am getting when i try to create a jar file.
    JAR creation failed. See details for additional information.Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/UpdateEntities.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogMakeTable.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/FileChooserOpenListener2.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogCalendar.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogChangePattern.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Calendar.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuAircraft.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuCapacity.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogInfoFields.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/FileChooserOpenListener.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogZuordnung.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogOdbcCapacity.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Project.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogInputTextfield.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DataBaseUpdate.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogOdbcInfo.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogChangeProject.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Capacity.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Settings.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuWindow.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogOdbcBudget.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Application.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogColor.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogOdbc.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/IOManager.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Aircrafts.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Document.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/FramePopUp.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogOdbcUpdate.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogFontSettings.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuFile.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuEvent.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogTimescale.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuEdit.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Frame.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Pattern.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerCloseApplication.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogCreateProject.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Entities.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DataBaseBudget.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerDocument.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/FileChooserSaveListener.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuGroup.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogShowInfo.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuCalendar.java
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuView.java
    Problem writing Planingtool/Planingtool 2.1/src/dlh/lht/.DS_Store to JAR: duplicate entry: dlh/lht/.DS_Store
    duplicate entry: dlh/lht/.DS_Store
    Problem writing Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/.DS_Store to JAR: duplicate entry: dlh/lht/jplaner/.DS_Store
    duplicate entry: dlh/lht/jplaner/.DS_Store
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Aircrafts.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/Aircrafts.class to JAR: duplicate entry: dlh/lht/jplaner/Aircrafts.class
    duplicate entry: dlh/lht/jplaner/Aircrafts.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Application.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/Application.class to JAR: duplicate entry: dlh/lht/jplaner/Application.class
    duplicate entry: dlh/lht/jplaner/Application.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Calendar.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/Calendar.class to JAR: duplicate entry: dlh/lht/jplaner/Calendar.class
    duplicate entry: dlh/lht/jplaner/Calendar.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Capacity.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/Capacity.class to JAR: duplicate entry: dlh/lht/jplaner/Capacity.class
    duplicate entry: dlh/lht/jplaner/Capacity.class
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/CapacityDao.class to JAR: duplicate entry: dlh/lht/jplaner/CapacityDao.class
    duplicate entry: dlh/lht/jplaner/CapacityDao.class
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/CapacityDaoImpl.class to JAR: duplicate entry: dlh/lht/jplaner/CapacityDaoImpl.class
    duplicate entry: dlh/lht/jplaner/CapacityDaoImpl.class
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DataBase.class to JAR: duplicate entry: dlh/lht/jplaner/DataBase.class
    duplicate entry: dlh/lht/jplaner/DataBase.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DataBaseBudget.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DataBaseBudget.class to JAR: duplicate entry: dlh/lht/jplaner/DataBaseBudget.class
    duplicate entry: dlh/lht/jplaner/DataBaseBudget.class
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DataBaseCapacity.class to JAR: duplicate entry: dlh/lht/jplaner/DataBaseCapacity.class
    duplicate entry: dlh/lht/jplaner/DataBaseCapacity.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DataBaseUpdate.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DataBaseUpdate.class to JAR: duplicate entry: dlh/lht/jplaner/DataBaseUpdate.class
    duplicate entry: dlh/lht/jplaner/DataBaseUpdate.class
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/Department.class to JAR: duplicate entry: dlh/lht/jplaner/Department.class
    duplicate entry: dlh/lht/jplaner/Department.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogCalendar.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DialogCalendar.class to JAR: duplicate entry: dlh/lht/jplaner/DialogCalendar.class
    duplicate entry: dlh/lht/jplaner/DialogCalendar.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogChangePattern.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DialogChangePattern.class to JAR: duplicate entry: dlh/lht/jplaner/DialogChangePattern.class
    duplicate entry: dlh/lht/jplaner/DialogChangePattern.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogChangeProject.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DialogChangeProject.class to JAR: duplicate entry: dlh/lht/jplaner/DialogChangeProject.class
    duplicate entry: dlh/lht/jplaner/DialogChangeProject.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogColor.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DialogColor$1.class to JAR: duplicate entry: dlh/lht/jplaner/DialogColor$1.class
    duplicate entry: dlh/lht/jplaner/DialogColor$1.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogCreateProject.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DialogCreateProject.class to JAR: duplicate entry: dlh/lht/jplaner/DialogCreateProject.class
    duplicate entry: dlh/lht/jplaner/DialogCreateProject.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogFontSettings.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DialogFontSettings$1.class to JAR: duplicate entry: dlh/lht/jplaner/DialogFontSettings$1.class
    duplicate entry: dlh/lht/jplaner/DialogFontSettings$1.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogInfoFields.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DialogInfoFields.class to JAR: duplicate entry: dlh/lht/jplaner/DialogInfoFields.class
    duplicate entry: dlh/lht/jplaner/DialogInfoFields.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogInputTextfield.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DialogInputTextfield.class to JAR: duplicate entry: dlh/lht/jplaner/DialogInputTextfield.class
    duplicate entry: dlh/lht/jplaner/DialogInputTextfield.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogMakeTable.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DialogMakeTable.class to JAR: duplicate entry: dlh/lht/jplaner/DialogMakeTable.class
    duplicate entry: dlh/lht/jplaner/DialogMakeTable.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogOdbc.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DialogOdbc.class to JAR: duplicate entry: dlh/lht/jplaner/DialogOdbc.class
    duplicate entry: dlh/lht/jplaner/DialogOdbc.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogOdbcBudget.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DialogOdbcBudget.class to JAR: duplicate entry: dlh/lht/jplaner/DialogOdbcBudget.class
    duplicate entry: dlh/lht/jplaner/DialogOdbcBudget.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogOdbcCapacity.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DialogOdbcCapacity.class to JAR: duplicate entry: dlh/lht/jplaner/DialogOdbcCapacity.class
    duplicate entry: dlh/lht/jplaner/DialogOdbcCapacity.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogOdbcInfo.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DialogOdbcInfo.class to JAR: duplicate entry: dlh/lht/jplaner/DialogOdbcInfo.class
    duplicate entry: dlh/lht/jplaner/DialogOdbcInfo.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogOdbcUpdate.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DialogOdbcUpdate.class to JAR: duplicate entry: dlh/lht/jplaner/DialogOdbcUpdate.class
    duplicate entry: dlh/lht/jplaner/DialogOdbcUpdate.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogShowInfo.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DialogShowInfo$MyPrinter.class to JAR: duplicate entry: dlh/lht/jplaner/DialogShowInfo$MyPrinter.class
    duplicate entry: dlh/lht/jplaner/DialogShowInfo$MyPrinter.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogTimescale.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DialogTimescale.class to JAR: duplicate entry: dlh/lht/jplaner/DialogTimescale.class
    duplicate entry: dlh/lht/jplaner/DialogTimescale.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/DialogZuordnung.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/DialogZuordnung.class to JAR: duplicate entry: dlh/lht/jplaner/DialogZuordnung.class
    duplicate entry: dlh/lht/jplaner/DialogZuordnung.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Document.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/Document.class to JAR: duplicate entry: dlh/lht/jplaner/Document.class
    duplicate entry: dlh/lht/jplaner/Document.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Entities.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/Entities.class to JAR: duplicate entry: dlh/lht/jplaner/Entities.class
    duplicate entry: dlh/lht/jplaner/Entities.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/FileChooserOpenListener.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/FileChooserOpenListener.class to JAR: duplicate entry: dlh/lht/jplaner/FileChooserOpenListener.class
    duplicate entry: dlh/lht/jplaner/FileChooserOpenListener.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/FileChooserOpenListener2.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/FileChooserOpenListener2.class to JAR: duplicate entry: dlh/lht/jplaner/FileChooserOpenListener2.class
    duplicate entry: dlh/lht/jplaner/FileChooserOpenListener2.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/FileChooserSaveListener.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/FileChooserSaveListener.class to JAR: duplicate entry: dlh/lht/jplaner/FileChooserSaveListener.class
    duplicate entry: dlh/lht/jplaner/FileChooserSaveListener.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Frame.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/Frame$ListenerMenuItems.class to JAR: duplicate entry: dlh/lht/jplaner/Frame$ListenerMenuItems.class
    duplicate entry: dlh/lht/jplaner/Frame$ListenerMenuItems.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/FramePopUp.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/FramePopUp.class to JAR: duplicate entry: dlh/lht/jplaner/FramePopUp.class
    duplicate entry: dlh/lht/jplaner/FramePopUp.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/IOManager.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/IOManager.class to JAR: duplicate entry: dlh/lht/jplaner/IOManager.class
    duplicate entry: dlh/lht/jplaner/IOManager.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerCloseApplication.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/ListenerCloseApplication.class to JAR: duplicate entry: dlh/lht/jplaner/ListenerCloseApplication.class
    duplicate entry: dlh/lht/jplaner/ListenerCloseApplication.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerDocument.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/ListenerDocument.class to JAR: duplicate entry: dlh/lht/jplaner/ListenerDocument.class
    duplicate entry: dlh/lht/jplaner/ListenerDocument.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuAircraft.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/ListenerMenuAircraft.class to JAR: duplicate entry: dlh/lht/jplaner/ListenerMenuAircraft.class
    duplicate entry: dlh/lht/jplaner/ListenerMenuAircraft.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuCalendar.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/ListenerMenuCalendar.class to JAR: duplicate entry: dlh/lht/jplaner/ListenerMenuCalendar.class
    duplicate entry: dlh/lht/jplaner/ListenerMenuCalendar.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuCapacity.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/ListenerMenuCapacity.class to JAR: duplicate entry: dlh/lht/jplaner/ListenerMenuCapacity.class
    duplicate entry: dlh/lht/jplaner/ListenerMenuCapacity.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuEdit.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/ListenerMenuEdit.class to JAR: duplicate entry: dlh/lht/jplaner/ListenerMenuEdit.class
    duplicate entry: dlh/lht/jplaner/ListenerMenuEdit.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuEvent.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/ListenerMenuEvent.class to JAR: duplicate entry: dlh/lht/jplaner/ListenerMenuEvent.class
    duplicate entry: dlh/lht/jplaner/ListenerMenuEvent.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuFile.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/ListenerMenuFile.class to JAR: duplicate entry: dlh/lht/jplaner/ListenerMenuFile.class
    duplicate entry: dlh/lht/jplaner/ListenerMenuFile.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuGroup.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/ListenerMenuGroup.class to JAR: duplicate entry: dlh/lht/jplaner/ListenerMenuGroup.class
    duplicate entry: dlh/lht/jplaner/ListenerMenuGroup.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuView.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/ListenerMenuView.class to JAR: duplicate entry: dlh/lht/jplaner/ListenerMenuView.class
    duplicate entry: dlh/lht/jplaner/ListenerMenuView.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/ListenerMenuWindow.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/ListenerMenuWindow.class to JAR: duplicate entry: dlh/lht/jplaner/ListenerMenuWindow.class
    duplicate entry: dlh/lht/jplaner/ListenerMenuWindow.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Pattern.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/Pattern.class to JAR: duplicate entry: dlh/lht/jplaner/Pattern.class
    duplicate entry: dlh/lht/jplaner/Pattern.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Project.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/Project.class to JAR: duplicate entry: dlh/lht/jplaner/Project.class
    duplicate entry: dlh/lht/jplaner/Project.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/Settings.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/Settings.class to JAR: duplicate entry: dlh/lht/jplaner/Settings.class
    duplicate entry: dlh/lht/jplaner/Settings.class
    Exported with compile warnings: Planingtool/Planingtool 2.1/src/dlh/lht/jplaner/UpdateEntities.java
    Problem writing Planingtool/Planingtool 2.1/bin/dlh/lht/jplaner/UpdateEntities.class to JAR: duplicate entry: dlh/lht/jplaner/UpdateEntities.class
    duplicate entry: dlh/lht/jplaner/UpdateEntities.class

  15. #15
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,308
    Rep Power
    25

    Default

    Since you are using an IDE, you need someone familiar with your IDE to help you configure it.
    Try asking your questions on the eclipse part of this forum.

    How large a program is it? Can you work on converting one class at a time so when you get compile errors, you can post them here for help.
    If you need to debug and fix the code because of the runtime errors, I'd work on one error at a time.

  16. #16
    New_ToJava is offline Member
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default

    Thank you very very much!!
    I really appreciate your help!!
    When i upgraded the version of application and tried to convert it into JAR file, it came up with errors. I went in individual file and solved the errors with the quick fix offered by java.Now Jar file is created without any errors but when i open it,nothing happens, apllication doesnt run.
    I ran the application in Debug mode in IDE, it opens up the first form where i select XML file from the system to open,after selecting the xml it jumps on to a method which is trying to open XML and says 'This element has no attached Javadoc and the javadoc could not be found in the attached source'.
    If this doesnt make any sense to you, then please let me know. I will try and explain it again.

  17. #17
    New_ToJava is offline Member
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default

    There is no source file attached to JGantt.class files....
    WHt do i need to do to get the source filess?

  18. #18
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,308
    Rep Power
    25

    Default

    when i open it,nothing happens,
    For a jar file to start execution when it is opened, it must have a manifest file with a Main-Class: entry. Does your's have that?
    How are you opening it? And there are NO messages???

    Otherwise you can manually start the application by opening a console window and entering:
    java -cp <jarfilename>.jar <package/path of main program>

    to get the source files
    Ask the programmer that wrote the app for them.

    says 'This element has no attached Javadoc ...
    This is not an error message from normal java programming. There must be some package in the app that reads XML and tries to make sense with it. That is another topic, not java programming. Perhaps you should take the XML and that message to an XML forum for help.
    Last edited by Norm; 11-06-2008 at 04:21 PM.

  19. #19
    New_ToJava is offline Member
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default

    I am using eclipse for my application,do i need to use any compiler separately?if yes then which one and how can i use it?

  20. #20
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,308
    Rep Power
    25

    Default

    I would think that the IDE would take care of chosing and using the compiler that you have told it to use. I don't use your IDE so I can't help you set it up and use it.
    My suggestions were on how to test the app outside of the IDE.

Page 1 of 2 12 LastLast

Similar Threads

  1. How to find java version
    By roshithmca in forum New To Java
    Replies: 3
    Last Post: 04-27-2012, 06:10 AM
  2. DB2 JDBC Driver upgrade
    By sanssan in forum JDBC
    Replies: 2
    Last Post: 09-23-2008, 04:52 PM
  3. version of java????
    By j2vdk in forum New To Java
    Replies: 6
    Last Post: 09-07-2008, 04:34 PM
  4. Replies: 7
    Last Post: 06-05-2008, 03:54 PM
  5. Netware: JAVA.NLM Version 1.31h Parameters
    By Larry Mateo in forum New To Java
    Replies: 0
    Last Post: 03-20-2008, 11:34 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
  •