Temat: Could not find the main class. Program will exit!
Witaj,
Faktycznie pomogło, ale jest jeszcze jakiś bug :(
W tle uruchamia się okienko DOS-a i cały czas sypie komunikatatmi w stylu:
==================================================================
at freemind.controller.Controller.changeToMode(Controller.java:475)
at freemind.main.FreeMind.<init>(FreeMind.java:300)
at freemind.main.FreeMind.main(FreeMind.java:647)
Error loading Resources
Warning - resource string not found:extension_menu
Warning - resource string not found (even in english):extension_menu
java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
at java.util.Properties.loadConvert(Unknown Source)
at java.util.Properties.load0(Unknown Source)
at java.util.Properties.load(Unknown Source)
at java.util.PropertyResourceBundle.<init>(Unknown Source)
at freemind.main.FreeMind.getLanguageResources(FreeMind.java:637)
at freemind.main.FreeMind.getResources(FreeMind.java:588)
at freemind.main.FreeMind.getResourceString(FreeMind.java:607)
at freemind.controller.Controller.getResourceString(Controller.java:263)
at freemind.modes.ControllerAdapter.getText(ControllerAdapter.java:522)
at freemind.modes.mindmapmode.MindMapController.addIconsToMenu(MindMapCo
ntroller.java:343)
at freemind.modes.mindmapmode.MindMapController.updateMenus(MindMapContr
oller.java:338)
at freemind.controller.MenuBar.updateMenus(MenuBar.java:164)
at freemind.controller.Controller.changeToMode(Controller.java:475)
at freemind.main.FreeMind.<init>(FreeMind.java:300)
at freemind.main.FreeMind.main(FreeMind.java:647)
Error loading Resources
Warning - resource string not found:icon_menu
Warning - resource string not found (even in english):icon_menu
java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
at java.util.Properties.loadConvert(Unknown Source)
at java.util.Properties.load0(Unknown Source)
at java.util.Properties.load(Unknown Source)
at java.util.PropertyResourceBundle.<init>(Unknown Source)
at freemind.main.FreeMind.getLanguageResources(FreeMind.java:637)
at freemind.main.FreeMind.getResources(FreeMind.java:588)
at freemind.main.FreeMind.getResourceString(FreeMind.java:607)
at freemind.controller.Controller.getResourceString(Controller.java:263)
at freemind.controller.Controller.changeToMode(Controller.java:484)
at freemind.main.FreeMind.<init>(FreeMind.java:300)
at freemind.main.FreeMind.main(FreeMind.java:647)
Error loading Resources
Warning - resource string not found:mode_status
Warning - resource string not found (even in english):mode_status
[Freemind-Developer-Internal-Warning (do not write a bug report, please)]: Tried
to get view without being able to get map module.
[Freemind-Developer-Internal-Warning (do not write a bug report, please)]: Tried
to get view without being able to get map module.
[Freemind-Developer-Internal-Warning (do not write a bug report, please)]: Tried
to get view without being able to get map module.
[Freemind-Developer-Internal-Warning (do not write a bug report, please)]: Tried
to get view without being able to get map module.
==================================================================
Zaglądając do katalogu znalazłem batch-a, który po uzupełnieniu o katalog z java.exe wygląda teraz tak:
@echo off
@"C:\Program Files\Java\jre1.6.0_03\bin\java" -cp lib\freemind.jar;lib\ant\lib\jaxb-api.jar;lib\ant\lib\jaxb-impl.jar;lib\ant\lib\jaxb-libs.jar;lib\ant\lib\namespace.jar;lib\ant\lib\relaxngDatatype.jar;lib\ant\lib\xsdlib.jar;lib\ant\lib\jax-qname.jar;lib\ant\lib\sax.jar;lib\ant\lib\dom.jar freemind.main.FreeMind
Co jest nie tak?
--
Pozdr.
PiotrN
Piotr Nowak edytował(a) ten post dnia 05.12.07 o godzinie 12:32