SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I personally agree with Eric.
That is an unfortunate choice for a default name on a unix machine, even in the case of an evolute file manager like Dolphin, a "New_folder"/"New-folder" would have been a better one.
Using spaces in directory names is not supported by Slackware's scripts. I also do not support it in any of my own scripts. I even have a script (massconvert32.sh) which aborts when it detects a space in the directory name.
Spaces in directory names is an abomination introduced by MS Windows and lazy-ass GUI programs. Real UNIX men avoid space.
Eric
How do I make that come up as one my my Slackware quotes?
My script should run just fine in a directory with a space in the name, however jre.SlackBuild will not as it is missing appropriate quoting in some places. This is actually the case with quite a few SlackBuild scripts, so I would generally avoid spacing in directory names anyway.
question, for your script, you were actually installing jre... As far as I know, jre is different from jdk... So if I wish to install jdk, can I modify your script to do it?
Look in Slackware 14 tree. The java.SlackBuild there builds a jdk or a jre package for you, based on the Java archive you downloaded from http://www.oracle.com/technetwork/ja...ads/index.html and placed in that same directory before starting the script.
The SlackBuild will work for Java7. And Oracle's binaries for Java7 will work on Slackware 13.37 just as well as on Slackware 14.
Look in Slackware 14 tree. The java.SlackBuild there builds a jdk or a jre package for you, based on the Java archive you downloaded from http://www.oracle.com/technetwork/ja...ads/index.html and placed in that same directory before starting the script.
The SlackBuild will work for Java7. And Oracle's binaries for Java7 will work on Slackware 13.37 just as well as on Slackware 14.
Eric
I think I tried this way, and I remember it didnt work and seems it's because the build...
If you follow exactly what Alien Bob said it will work (it works just fine for me). Let me break it down into precise steps.
Firstly use a command like the following to automatically fetch the SlackBuild script and all associated files, and save them into a local directory called 'java' (you can change the mirror and perhaps the --cut-dirs= value if you need to):
If you follow exactly what Alien Bob said it will work (it works just fine for me). Let me break it down into precise steps.
Firstly use a command like the following to automatically fetch the SlackBuild script and all associated files, and save them into a local directory called 'java' (you can change the mirror and perhaps the --cut-dirs= value if you need to):
Finally cd into the directory and as root issue the following:
Code:
sh ./java.SlackBuild
Amazing! It worked... Well, I guess I would always use this command to fetch Build script instead of go find it on web and download it... Thanks a lot!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.