[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Yury's bug
Yury,
> I have trouble with running compiler MLJ0_2 on Win 95 for demos
> Sort. ...
> !!! COMPILER BUG : ClosedStream raised at andrew\proj\Make.sml:
This can happen because MLj is unable to find the standard Java
classes. You can make the alarming error notice go away by using
the latest release MLj0.2b, available on the website.
To actually fix the problem, you have to let MLj know where the
standard classes are. Typing "classpath?" at the \ prompt will tell
you where it is looking. Then set the environment variable
MLJCLASSPATH to tell it where they really are -- something like
SET MLJCLASSPATH=C:\WINDOWS\JAVA\CLASSES\CLASSES.ZIP
in your autoexec.bat file. The file should be a "classes.zip" or
"rt.jar"; you may need to run the Windows command "clspack -auto"
first in order to create the file. This is described on page 5 of
the MLj user guide.
Regards,
Ian Stark
--------------------------------------------------------------------
Ian Stark, Laboratory for Foundations of Computer Science,
Division of Informatics, The University of Edinburgh
Personal: Ian.Stark@ed.ac.uk http://www.dcs.ed.ac.uk/home/stark
MLj 0.2 : mlj@dcs.ed.ac.uk http://www.dcs.ed.ac.uk/home/mlj
--------------------------------------------------------------------
- References:
- Compiler Bug
- From: "Yury P. Serdyuk" <Yury@serdyuk.botik.ru>