[izpack-changes] izpack-src/src/doc-ng/XHTML node3.html,1.1,1.1.2.1
miraodb
nobody at sheep.berlios.de
Thu Jan 12 12:03:48 CET 2006
Update of /cvsroot/izpack/izpack-src/src/doc-ng/XHTML
In directory sheep:/tmp/cvs-serv3287/src/doc-ng/XHTML
Modified Files:
Tag: branch-3-8
node3.html
Log Message:
Update Compilation Chapter with troubleshooting
Index: node3.html
===================================================================
RCS file: /cvsroot/izpack/izpack-src/src/doc-ng/XHTML/node3.html,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -d -r1.1 -r1.1.2.1
--- node3.html 1 Sep 2005 08:45:30 -0000 1.1
+++ node3.html 12 Jan 2006 11:03:46 -0000 1.1.2.1
@@ -338,10 +338,35 @@
select "User classes" (2.x) or "User Entries" (3.x)<br />
select "Add External JARs..."<br />
select %INSTALLER_DEST%\install.jar (may be, that's the trick...)<br />
-install.jar must be under the project entry<br />
+install.jar must be under the project entry<br /><br />
-For 2.x :<br />
-copy %IZPACK_HOME%\bin\native\izpack\ShellLink.dll to<br />
+<p class="underlinebold">BUGS and TROUBLESHOOTING:</p>
+If you get this error when running the application <br />
+could not create shortcut instance<br /><br />
+java.lang.Exception: error loading library<br />
+at com.izforge.izpack.util.Librarian.loadLibrary(Librarian.java:249)<br />
+at com.izforge.izpack.util.os.ShellLink.initialize(ShellLink.java:461)<br />
+at com.izforge.izpack.util.os.ShellLink.<init>(ShellLink.java:349)<br />
+at com.izforge.izpack.util.os.Win_Shortcut.initialize(Win_Shortcut.java:79)<br />
+at com.izforge.izpack.panels.ShortcutPanel.<init>(ShortcutPanel.java:473)<br />
+at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)<br />
+at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)<br />
+at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)<br />
+at java.lang.reflect.Constructor.newInstance(Unknown Source)<br />
+at com.izforge.izpack.installer.InstallerFrame.loadPanels(InstallerFrame.java:203)<br />
+at com.izforge.izpack.installer.InstallerFrame.<init>(InstallerFrame.java:160)<br />
+at com.izforge.izpack.installer.GUIInstaller.loadGUI(GUIInstaller.java:391)<br />
+at com.izforge.izpack.installer.GUIInstaller.<init>(GUIInstaller.java:128)<br />
+at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)<br />
+at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)<br />
+at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)<br />
+at java.lang.reflect.Constructor.newInstance(Unknown Source)<br />
+at java.lang.Class.newInstance0(Unknown Source)<br />
+at java.lang.Class.newInstance(Unknown Source)<br />
+at com.izforge.izpack.installer.Installer.main(Installer.java:62)<br /><br />
+
+then it means you forgot to put the shelllink.dll into the correct source folder
+in that case, copy %IZPACK_HOME%\bin\native\izpack\ShellLink.dll to<br />
%IZPACK_HOME%\src\lib\com\izforge\izpack\util\os\ShellLink.dll<br /><br />
Now you can debug the installation. With 2.x you can edit on demand,<br />
More information about the izpack-changes
mailing list