The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

class files & windows 2000

Posted by Ivan Villanueva on June 16, 2001 at 7:20 AM

Hello,
does anybody know how to configure windows 2000 (I know, no the best operating system) to run classes only with a doble click on one class-file in the windows explorer?
Actualy, when I want to run a class from the desktop I have to put a new lnk on the desktop with this information for a class:

- RUN COMMAND:
C:\WINNT\system32\CMD.EXE /C C:\Programme\jdk1.3jre\bin\java.exe -cp {paths for all my classes} {file name without the .class extension}

- WORKING DIRECTORY:
{The directory where the file is}




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us