I am kind of new to this stuff and I think I may have mixed up some settings and now my java command doesn't work. I have compiled and run basic java programs in the past on my machine. I can still compile programs using javac, but when i try to run a simple java program from the command line i get the following error:
-bash: /usr/bin/java: cannot execute binary file
I have been playing around with CLASSPATH, and tried changing the permissions on java. I really don't know what to do. I recently installed MySQL, but I am not sure if that has anything to do with it as it had been a while before that since I had last tried to run a java program.
Thanks in advance for any help.
-bash: /usr/bin/java: cannot execute binary file
I have been playing around with CLASSPATH, and tried changing the permissions on java. I really don't know what to do. I recently installed MySQL, but I am not sure if that has anything to do with it as it had been a while before that since I had last tried to run a java program.
Thanks in advance for any help.