Article 128388 of comp.os.vms: "J.G. Kromme" writes: >[...] > > >Unable to start a java applet: Can't find "java_30" in your > > >NETSCAPE_CLASSPATH or CLASSPATH. [...] > > The following answer was the solution to the problem, indeed the > file attributes were wrong, the error message is very misleading! > > >John Hill wrote: > > If your NETSCAPE_CLASSPATH is fine, you should also check the file > >attributes. For example, if you download JAVA_30 with Lynx, you might > >get a 512-byte fixed record file. This is the wrong record structure and you > >will get the same error as if it couldn't find the file. However, If you > >download JAVA_30 with Netscape, the record format will be: > >Record format: Stream_LF, maximum 32767 bytes, longest 32767 bytes > >Record attributes: Carriage return carriage control > >and it should work. [...] What weirdness is at work here? Could it be that the (somewhat baroque) I/O behaviour of the VMS C library is so little understood that people have started coding around it, this way declaring files non-existant because of "incompatible" RMS attributes that the library would be happy to deal with, if only it was invoked properly ("ctx=stm")? It's about time to re-post a useful piece of INFO-VAX wisdom, that I saw posted on 4 Apr 89 by Frank J. Nagy (below!). Wolfgang J. Moeller, Tel. +49 551 2011516 or -510, moeller@gwdvms.dnet.gwdg.de GWDG, D-37077 Goettingen, F.R.Germany | Disclaimer: No claim intended! ----- ----- ----- VAXCRTL.HLP by F.J.Nagy -------------------------------------------------- 1 VAXCRTL Notes on the VAX C RTL routines. 2 RMS_keywords Optional arguments for fopen(), freopen() and creat(). Each is a character string with a keyword giving an RMS field in the FAB or RAB and value is valid for assignment to that field. See the RMS Services manual for more details on these fields. "alq=n" allocation quantity (decimal value) "bls=n" block size (decimal) "ctx=bin" no translation of '\n' to the terminal "ctx=nocvt" no conversion of FORTRAN carriage control bytes "ctx=rec" force record mode access (needed to share files) "ctx=stm" force stream mode access ! "ctx=xplct" explicit record format "deq=n" default extension quantity (decimal) "dna=filespec" default file name string (string) "fop=val,..." file processing options: ctg contiguous cbt contiguous-best-try tef truncate at end-of-file cif create if nonexistant sup supersede scf submit as command file on close delete afterwards if "dlt" specified spl spool to system printer on close delete after print if "dlt" specified tmd temporary delete tmp temporary (no file directory) nef do not position tape at end-of-file dlt delete file on close mxv maximize version number rck read-check data wck write-check data rwo rewind tape before open rwc rewind tape after close pos position tape after most recently opened file "fsz=n" fixed record header size (decimal) "mbc=n" multiblock count (decimal) "mbf=n" multibuffer count (decimal) "mrs=n" maximum record size (decimal) "rat=val,..." record attributes: cr carriage-return control blk disallow records to span block boundaries ftn FORTRAN print control prn print file control "rfm=val" record format: fix fixed-length record format stm RMS-11 stream record format stmlf stream format with line-feed terminator stmcr stream format with carriage-return terminator var variable-length record format vfc variable-length record with fixed control udf undefined "rop=val" record processing options: asy asynchronous I/O tmo timeout I/O nlk do not lock records rlk lock record for write rrl read regardless of lock "shr=val" file sharing options: del allows users to delete records get allows users to read mse allows multistream access nil prohibits file sharing put allows users to write upd allows users to update records upi allows one or more writers "tmo=n" I/O timeout value (decimal) ----- end of VAXCRTL.HLP by F.J.Nagy ------------------------------------------- Wolfgang J. Moeller, Tel. +49 551 2011516 or -510, moeller@gwdvms.dnet.gwdg.de GWDG, D-37077 Goettingen, F.R.Germany | Disclaimer: No claim intended! ----- -----