[1943] in java-interest
Re: Compiling under WIN95
daemon@ATHENA.MIT.EDU (Jim Carroll)
Wed Sep 20 13:42:27 1995
Date: Wed, 20 Sep 1995 10:09:38 -0400
To: java-interest@java.sun.com
From: Jim Carroll <maxit@together.net>
>Has anyone had any luck compiling Java code under WIN95? It seems the
>compiler requires the sourcefile to have the extension .java, but
>since it can only be run from a dos-prompt, that's not possible. So
>what do I do?
Dear Kvan,
The hard way is to create you java source as HELLO.JAV, then just before
you compile, go to the WIN95 dos prompt and give the command:
RENAME HELLO.JAV HELLO.JAVA
then
JAVAC HELLO.JAVA
The Dos prompt can handle the long filenames. If you are using 4dos
or ndos, then you have to upgrade to the latest version of 4dos: 5.51
The easy way is to use a text editor that can handle the
long names in the first place. (I like visual slickedit.)
-Jim
--------------
Max'IT Inc.
Burlington, VT
(802) 658-5658
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com