

* This property must be set before the JShellLink class is loaded. * property JSHORTCUT_HOME to point to that directory. * for the native library in a specific directory by setting the system * The application can override this behavior and force JShellLink to look * in the directory containing that jar file. Right-click on that particular file or application for which you want to create shortcut. * then JShellLink looks for the native library Locate the file or application location for which you want to create the shortcut. * If an entry in the CLASSPATH is a jar file, * (as determined by the value of the system property ). * JShellLink then looks through each directory in the CLASSPATH * If the native library is not found in the PATH,

* By default, JShellLink first looks for the native library in the PATH, * The native library (jshortcut.dll) is loaded when JShellLink is first ** Provide access to shortcuts (shell links) from Java. JShellLink only looks for shortcut.dll, it ignores all other names.

Rename the dll to shortcut.dll after downloading. Step 4: Type in a suitable name for the shortcut and click on. Step 2: In the Shortcut wizard, click on the Browse button to locate the file, folder, or app shortcut you wish to add. Most Important: When downloading your jshortcut.dll- Version, use AMD for all actual Intel machines. Step 1: Right-click anywhere on the empty space on the desktop, go to New, and select Shortcut.JShellLink looks at this folder on its own, so you dont need to add the DLL`s path to any path, which could cause trouble when running on some closed-down machines. Instead put jshortcut.dll to that particular folder where you store your jar s for this project.
#Create a desktop shortcut for minimserver code#
Adding this dll by source code like " tProperty("", yourDllPath)" does not work either.Adding jshortcut.dll to from wihtin NetBeans using properties->Run->VM options did not work.This is a fairly old topic, nevertheless I came across Austin`s brilliant answer and encountered some problems using jshortcut from within NetBeans, but I fear this might also affect Ecclipse.
