Windows 2000 Shortcut ot Java Class


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Windows 2000 Shortcut ot Java Class

Hybrid View

  1. #1
    Ken Guest

    Windows 2000 Shortcut ot Java Class


    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.

  2. #2
    Paul Clapham Guest

    Re: Windows 2000 Shortcut ot Java Class

    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.




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center