There is an application running on Java 2 runtime envirenment SE v1.4.2_03.
How can i upgrade it to a latest version?
Printable View
There is an application running on Java 2 runtime envirenment SE v1.4.2_03.
How can i upgrade it to a latest version?
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).
What do i need to know to upgrade it?
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.
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?
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.
How is that? Does the application start the jre after it has started execution? Is the application written in java or what?Quote:
application knows which jre to use
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.
That sounds like a runtime problem.Quote:
'net.malformedURLException
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.
I tried putting application in jar file,but it doesnt create it successfully.
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!!
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
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
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?
These are the errors i am getting when i try to create a jar file.
Quote:
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
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.
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.
There is no source file attached to JGantt.class files....
WHt do i need to do to get the source filess?
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?Quote:
when i open it,nothing happens,
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>
Ask the programmer that wrote the app for them.Quote:
to get the source files
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.Quote:
says 'This element has no attached Javadoc ...
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?
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.