This should be very simple, but I can't figure it out. How do you set up
a shortcut in Windows 2000 that executes a java class file. I tried several
shortcuts like C:\JDK\1.3\JRE\Java ClassName or Java ClassName etc, but no
luck.
Printable View
This should be very simple, but I can't figure it out. How do you set up
a shortcut in Windows 2000 that executes a java class file. I tried several
shortcuts like C:\JDK\1.3\JRE\Java ClassName or Java ClassName etc, but no
luck.
So far so good (specify the full path to java.exe unless your PATH
environment variable already points to it). Next, right-click the shortcut
you just created, select Properties, and change the "Start In" field to
contain the directory where the class you want to run is (i.e. set the
"current directory"). Just tried it - worked for me. You can also change
the icon of the shortcut so it doesn't appear as the blank screen icon.
PC2
"Ken" <mclaughlin@ftintegrators.com> wrote in message
news:3abfa83c$1@news.devx.com...
>
> This should be very simple, but I can't figure it out. How do you set up
> a shortcut in Windows 2000 that executes a java class file. I tried
several
> shortcuts like C:\JDK\1.3\JRE\Java ClassName or Java ClassName etc, but no
> luck.