|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Software Questions about use, installation, or configuration of software running on SUSE Linux |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi, Im trying to install the JMF, but I have to set classpath etc ...The docs at javas homepage says that there should be a command called "setenv" but I haven't got that one??
How do I set enviroment variables in linux? /Micke |
|
|||
|
Quote:
export VAR=/my/path If you run bash, tcsh or similar, say setenv VAR /my/path You can check the result by saying echo $VAR or export |
|
|||
|
And since variables are single session, you will want to add it to ~/.profile if you want it to be a global change
|
|
|||
|
Quote:
For system-wide permanent setting, the setting of environment variables shall be added to /etc/profile.local |
|
|||
|
Quote:
And verxa is correct about the location for all users env. |
|
|||
|
ok, tanks for the info, so I added this in my .profile:
export JMFHOME=/home/micke/JMF-2.1.1e export CLASSPATH=$JMFHOME/lib/jmf.jar:.:${CLASSPATH} export LD_LIBRARY_PATH=$JMFHOME/lib:${LD_LIBRARY_PATH} but JMF still dont work?? suns site says this: http://java.sun.com/products/java-media/jm...etup-linux.html I tryed the applet an it says no jmf, I dont get why? |
|
|||
|
Quote:
What shell are you running? Have you checked the variables, possibly after rebooting? |
|
|||
|
Quote:
gonome. Quote:
gonome, or thats not my shell right? hmm Im a totally noob. Ive installed suse 10.1 pretty "standard". just onen a terminal when I set the vars. |
|
|||
|
when I write "echo $JMFHOME" I get the correct path, but not when I write "echo JMFHOME"???
|
|
|||
|
Quote:
echo $JMFHOME and with other echo $MY_VARIABLES then you have set the environment variables correctly. "echo JMFHOME" is a wrong command. gonome or gnome is not a shell; it is window manager - a higher level application. To find out your shell, look in Yast, Security and users, User management, Edit, Detail, Login shell. There you will see something like /usr/bin/zsh. Hence your shell will be zsh. Another way, which sometimes works, is to issue a wrong command from consloe, and get a responce that looks like bash: nonocommk: command not found Hence your shell would be bash. Sorry I cannot help with JMF. If you get an error, post the error here, maybe somebody knowledgeable can say something. Essentialy: did you manage to install and it does not function; or you couldn't install? |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|