java - Can't make jar anymore in Netbeans after new jre, jdk update -
i' angry. last summer started create game in java, after 1 month had more 5000 lines of working code. working, 0 errors or malfunctions. tested jar file on every os. used jdk 7.
i delayed job, , after 3 months brought game friend show him, , it's doesn't work anymore.
runned inside new netbeans 8 totally working, can't make jar anymore, because long list of errors.
i found disastreous. after every jre update need rewrite code? never java programs again, going c. eclipse better?
i don't want share code.
what can make program again runnable jar file without rewrite code? tried install older jre' doesn't situation.
thank you! sorry english.
added part program errors:
exception in thread "awt-eventqueue-0" java.lang.arrayindexoutofboundsexception: 1 @ kj01.kezdolap.jbutton6actionperformed(kezdolap.java:1006) @ kj01.kezdolap.access$2100(kezdolap.java:32) @ kj01.kezdolap$19.actionperformed(kezdolap.java:801) @ javax.swing.abstractbutton.fireactionperformed(unknown source) @ javax.swing.abstractbutton$handler.actionperformed(unknown source) @ javax.swing.defaultbuttonmodel.fireactionperformed(unknown source) @ javax.swing.defaultbuttonmodel.setpressed(unknown source) @ javax.swing.plaf.basic.basicbuttonlistener.mousereleased(unknown sour ce) @ java.awt.component.processmouseevent(unknown source) @ javax.swing.jcomponent.processmouseevent(unknown source) @ java.awt.component.processevent(unknown source) @ java.awt.container.processevent(unknown source) @ java.awt.component.dispatcheventimpl(unknown source) @ java.awt.container.dispatcheventimpl(unknown source) @ java.awt.component.dispatchevent(unknown source) @ java.awt.lightweightdispatcher.retargetmouseevent(unknown source) @ java.awt.lightweightdispatcher.processmouseevent(unknown source) @ java.awt.lightweightdispatcher.dispatchevent(unknown source) @ java.awt.container.dispatcheventimpl(unknown source) @ java.awt.window.dispatcheventimpl(unknown source) @ java.awt.component.dispatchevent(unknown source) @ java.awt.eventqueue.dispatcheventimpl(unknown source) @ java.awt.eventqueue.access$400(unknown source) @ java.awt.eventqueue$3.run(unknown source) @ java.awt.eventqueue$3.run(unknown source) @ java.security.accesscontroller.doprivileged(native method) @ java.security.protectiondomain$1.dointersectionprivilege(unknown sour ce) @ java.security.protectiondomain$1.dointersectionprivilege(unknown sour ce) @ java.awt.eventqueue$4.run(unknown source) @ java.awt.eventqueue$4.run(unknown source) @ java.security.accesscontroller.doprivileged(native method) @ java.security.protectiondomain$1.dointersectionprivilege(unknown sour ce) @ java.awt.eventqueue.dispatchevent(unknown source) @ java.awt.eventdispatchthread.pumponeeventforfilters(unknown source) @ java.awt.eventdispatchthread.pumpeventsforfilter(unknown source) @ java.awt.eventdispatchthread.pumpeventsforhierarchy(unknown source) @ java.awt.eventdispatchthread.pumpevents(unknown source) @ java.awt.eventdispatchthread.pumpevents(unknown source) @ java.awt.eventdispatchthread.run(unknown source)
okay, found answer.
netbeans jumps out arrayoutofbounds type errors jre compiler doesn't. somehow older jre compiler jumped out arrayoutofbounds errors. netbeans can run app arrayoutofbounds error.
i ported app eclipse right away warned me:
.splits() caused problems.
edit: did split file location inside source directory , outside of source cannot found file locations.
Comments
Post a Comment