I built executable jar and now I want to wrap it in .exe file. I am using
Launch4J for that purpose. I managed to build .exe file and my application
successfully starts on double click. But after some data is loaded I get the
following exception.Exception in thread "main"
java.lang.ExceptionInInitializerError
at org.geotools.swing.action.NoToolAction.<clinit>(NoToolAction.java:36)
at org.geotools.swing.JMapFrame.initComponents(JMapFrame.java:356)
at org.geotools.swing.JMapFrame.getToolBar(JMapFrame.java:477)
at org.geotools.cp_map.SelectionLab.displayShapefile(SelectionLab.java:248)
at org.geotools.cp_map.SelectionLab.main(SelectionLab.java:207)
where line 248 is simply:JToolBar toolBar = mapFrame.getToolBar();
Now I don't get this at all. Like I said my project works fine from both
Eclipse and when it is started from executable jar and here this kind of
exception is raised. Does anybody know how to fix this?
Ilija
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users