Mr. Brown,
Thank you very much for all of your help... For Windoze and Linux, I had the classpath & path system environmental variables set up the same way... My Linux (like a couple of days ago) never encountered this problem and now it does... I was able to compile and run every single piece of interpreted bytecode with the "java" command (that of course had a main method)... Now, it won't recognize it...
This is my theory / what I think really happened...
Remember how I had trouble running the
J2EE SDK Reference Implementation on the user "untz"?
Well, I fixed the problem by doing a chmod -R 777 name of the J2EE RI's directory... When I logged into Linux under "untz", the reference implementation worked! (the permissions problem wasn't there, anymore).
I then was noticing how my everytime I ran vim from the command line, that in windoze I could type "gvim" and get a GUI version, whereas, on Linux, it wasn't recognizing the "gvim" executable... I then, finally, downloaded the right version of "vim" that let me run it as gvim from the Linux command line...
Afterwards, I was using apt-get to install synaptic and when I returned to the command line, this was printed 3 times on 3 sequential lines:
$
The world is a crazy place with crazy people.
The world is a crazy place with crazy people.
The world is a crazy place with crazy people.
I figured that someone, somehow, had installed or sent me something stupid via e-mail and that something was in my computer but it wasn't a threat...
So, then I ignored the oddity (the crazy person text which was automatically generated on my shell) and tried out this new version of Linux (just to check if it had syntax coloring, and if it ran the same as the one on my Windoze 2000 Professional system)... Everything seemed to run the same and when I wrote the cheesy Hello World program, the "java" command didn't work...
My theory is that someone gained access into my system via the folder of my J2EE RI (since I did a chmod 777) and sent that message to inform me that he / she had access... And they did something to tamper with it...
What I am going to do, tomorrow, is re-install / re-format my Linux distro and re-install my development environment from scratch (Java SDK,
Ant, etc.)
I am very sincere and honest when I say that I was able to run a Java program, something simple, as HelloWorld, in any directory of my Linux distro... Now, for some odd reason, I can't... Usually the classpath is needed for a Java Archive (Jar file) such as servlet.jar, the rt.jar & tools.jar is enough for a HelloWorld program to run... In addition, the gcj compiler is not included in the Red Hat 9.0 distro (which is a great thing)...
Anyone reading this post, please don't do the same mistake as me as use the chmod 777, because hackers will run port scanners and find the entry point into your system...
Now, my problem is going to be alleviated because I will reformat everything but my question to you, is (just like it has been on the other posts) how do I properly enable the J2EE RI to be used as root and also just untz (the usr name I use)?
Tell me what you guys think... The java executable did work like 24 hours ago (before I did the chmod 777) and I did get that stupid message on my shell ("The world is a crazy place ...") a few hours after my I changed the permissions...
Is there anything equivalent to a good open source virus checker that I can install into Red Hat 9.0? How about a firewall like ZoneAlarm?
Thanks for all of your help...