i got this when i tried running java on my box
# java
Usage: gij [OPTION] ... CLASS [ARGS] ...
to invoke CLASS.main, or
gij -jar [OPTION] ... JARFILE [ARGS] ...
to execute a jar file
Try `gij --help' for more information.
apparently, my box points to gij instead of sun's java.
to point the java shell command to the other java...
you can edit the java command link:
1. locate the java command used by shell
# which java
2. remove the symbolic link that points to gij
# rm /usr/bin/java
3. create a new symbolic link pointing to the java to be used
# ln -s <path to my java> /usr/bin/java
or just set JAVA_HOME variable in the .bash_profile file:
JAVA_HOME=<path to my java>
which ever way you want to go
Subscribe to:
Post Comments (Atom)
SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss
Got this while connecting to my mikrotik router via ssh Unable to negotiate with <ip address> port <ssh port>: no matching hos...
-
got: Warning: dl() [function.dl]: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_mapscript...
-
*thanks to eaperezh of zimbra forums for this fix ( src: http://www.zimbra.com/forums/administrators/44241-solved-solved-zimbra-6-0-1-stop-w...
-
getting NOQUEUE: reject: RCPT from unknown[x.x.x.x]: 554 5.7.1 : Relay access denied ? in your zimbra admin go to: server > mta >...
No comments:
Post a Comment