Results 1 to 10 of 17
1. I need to unpack a jar file to my classpath. Where do I find it? I am using the standard JDK that came with Mandriva (using KDE 4.1) java-1.6.0-openjdk ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-12-2008 #1
I am using the standard JDK that came with Mandriva (using KDE 4.1) java-1.6.0-openjdk - OpenJDK Runtime Environment.
2. What does BASH mean? (other than when used as verb in conjunction with cave men and clubs).
3. I used the Software Management tool to install Fortune-mod which should theoretically give me little snippets of wisdom every time I open the Konsole. But it doesn't. Any thoughts?
- 11-12-2008 #2
BASH - Bourne Again SHell - I believe that is correct.
Fortune-mod -> I installed that with the MCC and never saw it under the MENU. Don't think there is a GUI for it, only command-line. If you want it to start at every boot (more than that, every login) check into using the /home/user/.kde/autostart
There is a post on Autostart 2 or 3 before yours....
Want to find where something is? Try the FIND and LOCATE commands from inside Konsole..... Hope this helps a little - Loy
- 11-12-2008 #3
First of all, I couldn't find autostart, even using LOCATE.
I did, however find the classpath, but it gave me
/usr/bin/build-classpath /usr/bin/build-classpath-directory /usr/lib/ooo-3.0/basis3.0/program/java-set-classpath /usr/lib/security/classpath.security /usr/lib/security/classpath.security.real /usr/share/man/man1/build-classpath.1.lzma
- 11-12-2008 #4
Try this....click on the little house on the taskbar next to the Menu button. Click "view" then check Show Hidden Files. Hit f5 to refresh. Now in this folder, find the .kde folder. Open it. In the .kde folder is another called autostart. All shell scripts in this folder run at Kde start of this user's login....so if you have a file called begin.sh and this file's permissions allow it to be executable, and within this file you have "mcc", then at every login this file will run and the command mcc will run...
- 11-12-2008 #5
- 11-12-2008 #6
Well, there is nothing in that folder. I have a whole bunch of Java folders there, all empty.
Do I need to write a shell script that will engage the Fortune mod? how do I do that?
- 11-12-2008 #7
Last edited by smolloy; 11-12-2008 at 09:17 PM. Reason: typo :(Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
- 11-12-2008 #8
Ahhh, thank you very much!
Now, I need to set the class path for Java. On their site (here) they said how to do it in Linux using BASH.
Now, I checked, and I don't have those folders....
When I searched for javac all I found was
What is vim?
- 11-12-2008 #9
- 11-13-2008 #10
Thanks. That was helpful.
I entered the shell command to set the CLASSPATH, and it worked.
Now, we go back to my original question, where do I store the class files that I want to import into my java apps? That wiki said something about usr/share/java-ext but that didn't work.
The problem is that there are so many java directories scattered all over the place, it would take a little less than forever to try them all.