[15554] in Athena Bugs

home help back first fref pref prev next nref lref last post

sun4 8.1.11: java

daemon@ATHENA.MIT.EDU (Jean-Emile Elien)
Sun Oct 5 17:17:24 1997

To: bugs@MIT.EDU
Date: Sun, 05 Oct 1997 17:17:19 EDT
From: Jean-Emile Elien <jee_hbm@MIT.EDU>

System name:		m37-312-24
Type and version:	SPARC/5 8.1.11
Display type:		cgthree

What were you trying to do?
I was trying to getthe version of the running java compiler 
{by using javac -version}

What's wrong:
It gives me this message:

> ~/Public> java -version 1.0.2 -version
> java_v: Can't resolve name
 
> The attach command failed for the locker java_v which should
> contain java version .  

What should have happened:

I assumed that if I specified the version statement without a number
associated with it, it will print the default version, like the regular
program would.

Please describe any relevant documentation references:
running javac -help, shows the options.. version is one of them.
Is there a way around this?

It's not a common thing to ask, but I was just trying to do it..  I don't
know if it is considered a real bug, given you see what version is being
attached, but if it isn't, this email could just be ignored.

home help back first fref pref prev next nref lref last post