MandrivaThis Forum is for the discussion of Mandriva (Mandrake) 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.
[tarzan@localhost EMBOSS]$ locate install-jemboss-server.sh.
[tarzan@localhost EMBOSS]$ find install-jemboss-server.sh.
find: `install-jemboss-server.sh.': There is no such file or directory
Ok. I've installed from this server ftp ... Emboss-latest.tar.gz
But now. I have a second problem.
I can't still find this file install-jemboss-server.sh
This is what I've got after I've unpacked this .tar.gz:
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,514
Rep:
To know which java you have, if any,
please use this command :
java -version
The main location for java is /usr/lib/jvm/
and links to binaries in /usr/bin/
.. And you don't want java 1.3 .
.. The java, installed by default is OpenJDK-IcedTea,
which probably isn't usable for emboss.
The commands 1) su
2) urpmi java-1.6.0-sun
( or use the package manager )
.. will provide genuine java version 1.6.0_15 runtime.
3) update-alternatives --config java
Code:
There are 3 programs which provide `java'.
Selection Command
-----------------------------------------------
*+ 1 /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
2 /usr/lib/jvm/jre-1.5.0-jamvm/bin/java
3 /usr/lib/jvm/jre-1.6.0-sun/bin/java
Enter to keep the default[*], or type selection number: 3
Using `/usr/lib/jvm/jre-1.6.0-sun/bin/java' to provide `java'.
Please choose 3.
Emboss asking for java location, probably answer
/usr/lib/jvm/java-1.6.0-sun-1.6.0.15/
.....
.....
Emboss, fast download : http://ftp.sunet.se/pub/molbio/analyze/emboss/
.....
[root@localhost games]# java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.5) (mandriva-0.20.b16.0.3mdv2009.1-i386)
OpenJDK Server VM (build 14.0-b08, mixed mode)
And that's all I can get in console :/
Code:
[root@localhost utils]# ./install-jemboss-server.sh
--------------------------------------------------------------
EMBOSS and Jemboss Server installation script
--------------------------------------------------------------
Note: any default values are given in square brackets [].
There are two types of installation see details at:
http://emboss.sourceforge.net/Jemboss/install/setup.html
(1) CLIENT-SERVER
(2) STANDALONE
Enter type of installation [1] :
2
--------------------------------------------------------------
EMBOSS and Jemboss Server installation script
--------------------------------------------------------------
*** This script needs to be run with permissions to be able
*** to install EMBOSS in the required directories. This may
*** be best done as root or as a tomcat user.
Before running this script you should download the latest:
(1) EMBOSS release (contains Jemboss) ftp://emboss.open-bio.org/pub/EMBOSS/
Has the above been downloaded (y/n)?
y
Select the platform that your Jemboss server will be
run on from 1-8 [1]:
(1) linux
(2) aix
(3) irix
(4) hp-ux
(5) solaris
(6) macosX
(7) OSF
(8) FreeBSD
1
Enter java (1.4 or above) location [/usr]:
/usr/lib/jvm/java-1.6.0-sun-1.6.0.0
Enter java (1.3 or above) location (/usr/java/jdk1.3.1/):
/usr/lib/jvm/java-1.6.0-sun-1.6.0.0
Enter java (1.3 or above) location (/usr/java/jdk1.3.1/):
I don't get it really :/ I'm using mdv for 2 years, but now I've really stucked :/
Thx really for any advice
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,514
Rep:
1) First thing to do : # update-alternatives --config java
... Did you do that ? ? ?
You must of course install java-1.6.0-sun before you can choose it.
2) java -version
No " IcedTea6 " , please , 'java -version' must show :
java version "1.6.0_15"
Java(TM) SE Runtime Environment ...
.....
.....
3) The installer 'install-jemboss-server.sh' will accept this :
/usr/lib/jvm/java
1) First thing to do : # update-alternatives --config java
... Did you do that ? ? ?
You must of course install java-1.6.0-sun before you can choose it.
[..]
.....
This reminder will be the third time this direction was given, at least. In Mandriva, when various installed programs provide the same thing, update-alternatives as root provides a way to set the default such program.
[root@localhost tarzan]# update-alternatives
update-alternatives: need --display, --config, --set, --install, --remove, --remove-all, --list or --auto
Mandriva update-alternatives 1.9.0, derived from the Debian GNU/Linux
update-alternatives tool, which is Copyright (C) 1995 Ian Jackson. This is
free software; see the GNU General Public Licence version 2 or later for
copying conditions. There is NO warranty.
Usage: /usr/sbin/update-alternatives [<option> ...] <command>
Commands:
--install <link> <name> <path> <priority>
[--slave <link> <name> <path>] ...
add a group of alternatives to the system.
--remove <name> <path> remove <path> from the <name> group alternative.
--remove-all <name> remove <name> group from the alternatives system.
--auto <name> switch the master link <name> to automatic mode.
--display <name> display information about the <name> group.
--list <name> display all targets of the <name> group.
--config <name> show alternatives for the <name> group and ask the
user to select which one to use.
--set <name> <path> set <path> as alternative for <name>.
<link> is the symlink pointing to /etc/alternatives/<name>.
<name> is the master name for this link group.
<path> is the location of one of the alternative target files.
<priority> is an integer; options with higher numbers have higher priority in
automatic mode.
Options:
--altdir <directory> change the alternatives directory.
--admindir <directory> change the administrative directory.
--verbose verbose operation, more output.
--quiet quiet operation, minimal output.
--help show this help message.
--version show the version.
Really, this is the fourth time the command has been written and you can't see that? It's irritating to spend time not to have someone make the effort, apparently, to simply read. Or, are you a troll?
update-alternatives --config java
copy/paste that after the root prompt. Press Return. Choose the number for the appropriate java and press Return.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.