![]() |
jdk-1_5_0_15-linux-i586-rpm
hi,
I have installed the jdk-1_5_0_15-linux-i586-rpm. the way I installed is. #./jdk-1_5_015-linux-i586-rpm its says that done sucessfully now when I want to run the greenstone install wizard it won't give me wizard it takes me wait wait and wait. no error nothing i get. jdk is required by greenstone software. I tried alot to congiure it but no response at all can any body as any link for complete instruction to install jdk properly. I am really stuk with it and I have to give a presentation of my digital library to my agrresive BOSS. thanks shahz |
Usually their RPM's initially are self extracting. You then need to install the RPM that is extracted. This page might give you some insight to installing Java: http://java.sun.com/javase/6/webnote...all-linux.html
|
Quote:
#cd /usr/java/jdk1.6.0/demo/jfc/SwingSet2 #chmod +x SwingSet2.jar #./SwingSet2.jar on the third command ./SwingSet2.jar I get the error "cannot execute binary file" and again I am stop with everything I was doing thanks shahz |
Quote:
#cd /usr/java/jdk1.6.0/demo/jfc/SwingSet2 #chmod +x SwingSet2.jar #./SwingSet2.jar on the third command ./SwingSet2.jar I get the error "cannot execute binary file" and again I am stop with everything I was doing thanks shahz |
To execute a ".jar" file :
'java -jar SwingSet2.jar' (or make a script to execute it) But what has SwingSet2.jar to do with greenstone ?? I assume the greenstone file is gsdl-2.80-unix.tar.gz or ?? And the command 'sh setupLinux.bin' doesn't work for me either, pointing or not to java home (or //bin/java ). Using 1.6.0_04-b12. I intend to test also with an earlier version. To test if java is present, just do 'java -version' Rgds |
Quote:
|
You cannot install an ".rpm" package with
Quote:
And yes, the installer 'sh setupLinux.bin' will work with "sun-java-5" , my version for the new test : "1.5.0_15" It seems you also have "/usr/java/jdk1.6.0/" Hide it, change the linking, or uninstal it.... it will not work with the greenstone files. Rgds |
Quote:
#rpm -q jdk jdk1.5.0_15-fcs and don't have any jdk 1.6.0 thanks shahz |
hi, knudfl
if you have installed greenstone within linux can you send me the step by step procedure then I may come to know that what I am missing, I really want to run it on Linux, for the time being I am running it on windows 2003 server but don't want to run it on windows. thanks shahz |
RPM need to be installed by following command :
# rpm -ivh jdk-1_5_015-linux-i586-rpm Check installed rpm by : # rpm - qa | jdk |
# 10 Vinod_Vellore : I prefer 'rpm -Uvh .. ' ( U = upgrade etc. )
The 2' command => 'rpm -qa | grep jdk' (except with "java-1.5.0-sun") ........ There is really no step by step for greenstone, the installer just installs everything to /opt/greenstone The only condition to be met is having java 5 ( = 1.5 ) Please do command 'java -version' to check installation. Rgds |
Quote:
Mr vinod vellor my problem was not installing an rpm anyhow the above commands I know for years thank you very much. |
I have installed the jdk properly now when I run the command java -version I get the following
java version "1.6.0_07" Java(TM) SE Runtime Environment (build 1.6.0_07-b06) Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode) now when I run the greenstone installation wizard I get some error like the following. This application requires a Java Run Time Environment (JRE) to run. Searching for one on your computer was not successful. Please use the command line switch -is:javahome to specify a valid JRE. For more help use the option -is:help. can some body help me on this thanks in advance. I think its have something with the jre path. thnaks shahz |
The installer will find the path itself. (usually)
But will not accept version 1.6 Version 1.5 will work. Your own example : jdk-1_5_015-linux-i586-rpm will work. So please change version. I tested both. See line "7" #7. Rgds |
Thanks knudfl
its finally works :) thank you very much, and it worked with 1.5, I have for now file permission problem did you have the same also because on my web server now its giving 500 Internal server error wich is I think file permission. any idea thanks again shahz |
| All times are GMT -5. The time now is 05:38 PM. |