Hi, Neil.

On Nov 03 2005, Neil Dugan wrote:
> Hi,
> 
> I have installed 'free-java-sdk' but it doesn't appear to have been 
> setup correctly.  When I ask it to comple a "hello world" type class 
> (from a book) I get the following error message.

Unfortunately, I can't help you that much, since I don't call jikes
directly. I always use the "javac" wrapper around jikes and it works
quite well. Then, for running the code I use the "java" wrapper around
the JVM that you specified (sablevm, by default) and everything works
OK:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[EMAIL PROTECTED]:~$ cat > HelloWorld.java
class HelloWorld {
        public static void main(String[] args) {
                System.out.println("Hello, World!");
        }
}
[EMAIL PROTECTED]:~$ javac HelloWorld.java 
[EMAIL PROTECTED]:~$ java HelloWorld 
Hello, World!
[EMAIL PROTECTED]:~$ javac --help
Jikes Compiler - Version 1.22 - 3 October 2004
Copyright (C) IBM Corporation 1997-2003, 2004.
- Licensed Materials - Program Property of IBM - All Rights Reserved.
use: jikes [options] [EMAIL PROTECTED] file.java...
(...)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

> Can someone help me to get this working?


Hope this helps, Rogério Brito.

-- 
Rogério Brito : [EMAIL PROTECTED] : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to