setup java using suse
Hi!
I'd like to install java and a path to execute it using linux/suse distro. I think I should find sth. like "~/.bashrc" or "~/.bash_profile" to edit the path. Only there are no such files. Any help much appreciated! |
Why not make the path global by putting it in your /etc/.profile file?
|
Hi,
Try something like echo "export CLASSPATH=$CLASSPATH:absolute_path_to_your_java_dir/lib" >> .profile where absolute_path_to_your_java_dir should be /usr/lib/java under SuSE (in fact the java dir is a link to /usr/lib/jdk.1.3) Whatsmore, if you want to add libraries (eg MySQL drivers...), just copy the .jar file into that absolute_path_to_your_java_dir/lib and it will "automatically" work ! Hope it helps CU, Gluon |
All times are GMT -5. The time now is 12:20 AM. |