You are not logged in.
Pages: 1
Hi,
I just installed Argouml, which depends on the JRE which pacman installed automatically (local/jre 6u3-1).
However when i try to run argouml i get:
/usr/bin/argouml: line 3: java: command not foundAny ideas on why it cant find the java binary?
Thanks
Jack
Offline
"/opt/java/bin/java" is not in your $PATH. llogout, login, and if it doesn't help, reboot.
Offline
Hi tntcoda,
try to logout and login again in order to update your environment with proper JAVA_HOME variable
The settings are in
/etc/profile.d/jre.shOffline
Thanks guys, right that fixed the java problem, however argouml now gives me the following error ![]()
ERROR: unable to get localhost information.
java.net.UnknownHostException: tmain: tmain
at java.net.InetAddress.getLocalHost(InetAddress.java:1353)
at org.argouml.application.Main.checkHostsFile(Main.java:496)
at org.argouml.application.Main.main(Main.java:124)
On Unix systems this usually indicates thatyour /etc/hosts file is incorrectly setup.
Stopping execution of ArgoUML.My hostname is tmain, and /etc/hosts is setup as follows:
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhostThanks again for any help
Offline
Try to add your hostname after localhost:
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost <your hostname>without "<" and ">"
Last edited by luca (2007-10-14 16:16:11)
Offline
Thanks alot, all working now ![]()
Offline
Pages: 1