Subject: | |
From: | |
Reply To: | |
Date: | Tue, 18 Apr 2000 19:55:28 GMT |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Instead of COPYing the file into a HFS-named file, you should
use the tobyte utility to create a true bytestream file.
The javac compiler expects a bytestream file as input (and
will write a bytestream file as output).
Mike
[log in to unmask] ([log in to unmask]) wrote:
: Sometimes when I try to compile a java program I get an
: "I/O exception" error. I have to retype the whole thing in again.
: Here is a example from interex mag Sept '98 page 17.
: Is there something I'm missing? Get the same in the shell too.
: 27 :continue
: 28 :EDITOR
: 29
: 30 HP32201A.09.00 EDIT/3000 TUE, APR 18, 2000, 2:12 PM
: 31 (C) HEWLETT-PACKARD CO. 1993
: 32 /add
: 33 1 public void setPassword(String pass) {
: 34 2 if (pass.endsWith(";")) {
: 35 3 password = new String(pass);
: 36 4 } else {
: 37 5 password = new String(pass + ";");
: 38 6 }
: 39 7 }
: 40
: 41 /K SETPASS,UNN
: 42 /exit
: 43
: 44
: 45 END OF SUBSYSTEM
: 46 :continue
: 47 :COPY SETPASS,./setPassword.java
: 48 :continue
: 49 :javac setPassword.java
: 50 I/O exception
: 51 2 errors
: 52 :continue
--
-----------------------------------------------------------------
Mike Yawn
Hewlett-Packard email [log in to unmask]
Commercial Systems Division Voice (408) 447-4367
19447 Pruneridge Ave M/S 47UA Fax (408) 447-4441
Cupertino, CA 95014
-----------------------------------------------------------------
|
|
|