This code will work if you use [code]!args[i].equals("the")[/code] instead of [code]args[i] != "the"[/code]. The latter doesn't work because you end up comparing the location in memory rather than the contents of the memory, like when you compare pointers in C without dereferencing them. Sometimes it will work, but usually it will not.

[quote="red_evolve"]

[code]
class extra{
public static void main(String[] args){
String output = "";
for(int i=0; i<args.length; i++){
if(args[i] != "the")
output+= args[i];
}
System.out.println("Results: "+output);
System.exit(0);
}
}
[/code]
[/quote]

There should be some kind of JVM or JDK included on the Codewarrior CD; at least there was with the older versions I have. I would suggest you find that one and install it, so that all the appropriate files get installed where Codewarrior expects them to be. Hope this helps!

David

Last I heard, Codewarrior is available for Linux (Redhat), but it's not free. Sun provides NetBeans packaged with their latest JDK. I've downloaded/installed the Windows version, and haven't been able to use it very much, but it looks pretty good so far. There is also Borland JBuilder. I've used it in the past, trying to convert from Windows CodeWarrior to JBuilder on Linux, and it was difficult to use at best. Hope this helps.

David

For most database systems, you can simply download a JDBC driver to connect to the Db with Java, but there aren't any free ones for Access. What I ended up having to do was create an ODBC datasource (with Windows), and use the JDBC-ODBC bridge to connect to that. I think the JDBC-ODBC bridge is included with the JDK package. Good luck!

David