- Pilot_RiazRegular Participant
- Posts : 27
Join date : 2011-08-24
Trouble starting Selenium RC Server 2.5.0 It starts on 32 bit windows but not on 64 bit windows
Wed Aug 24, 2011 6:04 pm
Hi,
I am trying to start Selenium Server from CMD using "java -jar selenium-server-standalone-2.5.0.jar"
The error i get is "Error: Invalid or corrupt jarfile selenium-server-standalone-2.5.0.jar"
I am using 64bit Windows 7
I type Java-version
Output =
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
The jar file is not corrupt as i have downloaded it several times and tried.
What could be wrong?
I have java 32 bit and 64 bit installed. java exists in program files and program files (x86)
I downloaded Selenium Server from the seleniumhq site
Download version 2.5.0
Could it be because i am using a 64 bit machine? Please help.
Ok i have just tried this on my home 32bit WinXp machine and the server starts. So it is because of the 64bit machine Windows 7 it is not starting.
Does anyone know how i can start this server on 64bit machine please?
I am trying to start Selenium Server from CMD using "java -jar selenium-server-standalone-2.5.0.jar"
The error i get is "Error: Invalid or corrupt jarfile selenium-server-standalone-2.5.0.jar"
I am using 64bit Windows 7
I type Java-version
Output =
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
The jar file is not corrupt as i have downloaded it several times and tried.
What could be wrong?
I have java 32 bit and 64 bit installed. java exists in program files and program files (x86)
I downloaded Selenium Server from the seleniumhq site
Download version 2.5.0
Could it be because i am using a 64 bit machine? Please help.
Ok i have just tried this on my home 32bit WinXp machine and the server starts. So it is because of the 64bit machine Windows 7 it is not starting.
Does anyone know how i can start this server on 64bit machine please?
- holleymcflyActive particpant
- Posts : 10
Join date : 2011-08-31
Re: Trouble starting Selenium RC Server 2.5.0 It starts on 32 bit windows but not on 64 bit windows
Wed Aug 31, 2011 9:06 pm
Hi Pilot,
it should be no problem starting the selenium server on a 64bit machine - that's what I did today.
Probably you should try it with 32bit Java version. I'm running jdk 6u27 32 bit (on Windows 7, 64 bit) and everything is working fine. Don't forget to update the Path-variable in Windows and to restart you DOS prompt after installing Java 32 bit!
Good Luck!
Greetings,
Holger
it should be no problem starting the selenium server on a 64bit machine - that's what I did today.
Probably you should try it with 32bit Java version. I'm running jdk 6u27 32 bit (on Windows 7, 64 bit) and everything is working fine. Don't forget to update the Path-variable in Windows and to restart you DOS prompt after installing Java 32 bit!
Good Luck!
Greetings,
Holger
- karthikp_17
- Posts : 3
Join date : 2011-08-19
Re: Trouble starting Selenium RC Server 2.5.0 It starts on 32 bit windows but not on 64 bit windows
Wed Aug 31, 2011 9:45 pm
Hi Pilot,
could you please check out the java is working fine or not.
Open command prompt and type the following command.
javac
check this is working fine or not.
Thanks and regards
Karthik
could you please check out the java is working fine or not.
Open command prompt and type the following command.
javac
check this is working fine or not.
Thanks and regards
Karthik
- Pilot_RiazRegular Participant
- Posts : 27
Join date : 2011-08-24
Re: Trouble starting Selenium RC Server 2.5.0 It starts on 32 bit windows but not on 64 bit windows
Fri Sep 02, 2011 5:21 pm
Hi,
I installed java j2re-1_4_2_19-windows-i586-p.exe
This is 32 bit right?
In cmd I type java -version
Result is:
java version "1.4.2_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.
Java HotSpot(TM) Client VM (build 1.4.2_19-b04, mixed mode)
When i run the command java -jar selenium-server-standalone-2.5.0.jar
It still says:
Invalid or corrupt jarfile selenium-server-standalone-2.5.0.jar
I have now tried downloading jre-7-windows-i586.exe
It installs here: C:\Program Files (x86)\Java\jre7\bin
I am still not able to start Selenium Server Standalon 2.5.0.jar
I installed java j2re-1_4_2_19-windows-i586-p.exe
This is 32 bit right?
In cmd I type java -version
Result is:
java version "1.4.2_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.
Java HotSpot(TM) Client VM (build 1.4.2_19-b04, mixed mode)
When i run the command java -jar selenium-server-standalone-2.5.0.jar
It still says:
Invalid or corrupt jarfile selenium-server-standalone-2.5.0.jar
I have now tried downloading jre-7-windows-i586.exe
It installs here: C:\Program Files (x86)\Java\jre7\bin
I am still not able to start Selenium Server Standalon 2.5.0.jar
- Pilot_RiazRegular Participant
- Posts : 27
Join date : 2011-08-24
Re: Trouble starting Selenium RC Server 2.5.0 It starts on 32 bit windows but not on 64 bit windows
Fri Sep 02, 2011 5:37 pm
holleymcfly wrote:Hi Pilot,
it should be no problem starting the selenium server on a 64bit machine - that's what I did today.
Probably you should try it with 32bit Java version. I'm running jdk 6u27 32 bit (on Windows 7, 64 bit) and everything is working fine. Don't forget to update the Path-variable in Windows and to restart you DOS prompt after installing Java 32 bit!
Good Luck!
Greetings,
Holger
Hi,
I installed java j2re-1_4_2_19-windows-i586-p.exe
This is 32 bit right?
In cmd I type java -version
Result is:
java version "1.4.2_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.
Java HotSpot(TM) Client VM (build 1.4.2_19-b04, mixed mode)
When i run the command java -jar selenium-server-standalone-2.5.0.jar
It still says:
Invalid or corrupt jarfile selenium-server-standalone-2.5.0.jar
I have now tried downloading jre-7-windows-i586.exe
It installs here: C:\Program Files (x86)\Java\jre7\bin
I am still not able to start Selenium Server Standalon 2.5.0.jar
- Pilot_RiazRegular Participant
- Posts : 27
Join date : 2011-08-24
Re: Trouble starting Selenium RC Server 2.5.0 It starts on 32 bit windows but not on 64 bit windows
Fri Sep 02, 2011 5:40 pm
karthikp_17 wrote:Hi Pilot,
could you please check out the java is working fine or not.
Open command prompt and type the following command.
javac
check this is working fine or not.
Thanks and regards
Karthik
Hi,
I have just tried javac
Result is:
javac is not recognized as an internal or external command, operable program or batch file.
I have added the classpath and path variable
C:\Program Files (x86)\Java\jre7\bin;
- Pilot_RiazRegular Participant
- Posts : 27
Join date : 2011-08-24
Re: Trouble starting Selenium RC Server 2.5.0 It starts on 32 bit windows but not on 64 bit windows
Fri Sep 02, 2011 6:11 pm
Pilot_Riaz wrote:holleymcfly wrote:Hi Pilot,
it should be no problem starting the selenium server on a 64bit machine - that's what I did today.
Probably you should try it with 32bit Java version. I'm running jdk 6u27 32 bit (on Windows 7, 64 bit) and everything is working fine. Don't forget to update the Path-variable in Windows and to restart you DOS prompt after installing Java 32 bit!
Good Luck!
Greetings,
Holger
Hi,
I installed java j2re-1_4_2_19-windows-i586-p.exe
This is 32 bit right?
In cmd I type java -version
Result is:
java version "1.4.2_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.
Java HotSpot(TM) Client VM (build 1.4.2_19-b04, mixed mode)
When i run the command java -jar selenium-server-standalone-2.5.0.jar
It still says:
Invalid or corrupt jarfile selenium-server-standalone-2.5.0.jar
I have now tried downloading jre-7-windows-i586.exe
It installs here: C:\Program Files (x86)\Java\jre7\bin
I am still not able to start Selenium Server Standalon 2.5.0.jar
I have now tried installing jre-6u27-windows-i586-iftw.exe
and updated the path & classapath variable
Still not able to start the selenium-server-standalone
- holleymcflyActive particpant
- Posts : 10
Join date : 2011-08-31
Re: Trouble starting Selenium RC Server 2.5.0 It starts on 32 bit windows but not on 64 bit windows
Fri Sep 02, 2011 6:12 pm
Hello Pilot,
when I type "javac" in a command prompt, I get the same error ("Der
Befehl "javac" ist entweder falsch geschrieben oder konnte nicht
gefunden werden."). So I don't think that's the reason for your
problem...
Hm, not easy... Did you use the same file on your XP-Computer? Perhaps the file really is corrupt?
Greetings
Holger
when I type "javac" in a command prompt, I get the same error ("Der
Befehl "javac" ist entweder falsch geschrieben oder konnte nicht
gefunden werden."). So I don't think that's the reason for your
problem...
Hm, not easy... Did you use the same file on your XP-Computer? Perhaps the file really is corrupt?
Greetings
Holger
- Pilot_RiazRegular Participant
- Posts : 27
Join date : 2011-08-24
Re: Trouble starting Selenium RC Server 2.5.0 It starts on 32 bit windows but not on 64 bit windows
Fri Sep 02, 2011 6:51 pm
holleymcfly wrote:Hello Pilot,
when I type "javac" in a command prompt, I get the same error ("Der
Befehl "javac" ist entweder falsch geschrieben oder konnte nicht
gefunden werden."). So I don't think that's the reason for your
problem...
Hm, not easy... Did you use the same file on your XP-Computer? Perhaps the file really is corrupt?
Greetings
Holger
Yes i used the same file on my xp computer and it works but not on work 64 bit Win 7 computer.
A colleague said to try downloading the JDK. I installed jdk-7-windows-i586.exe
Also download a jar file lukeall-0.9.9.jar to do a test
Run the cmd java -jar lukeall-0.9.9.jar
This works. So strange selenium server does not run.
Where did you download your Java from? I could try your version.
Is your Java installed in Program Files or Program Files (x86)?
- Pilot_RiazRegular Participant
- Posts : 27
Join date : 2011-08-24
Re: Trouble starting Selenium RC Server 2.5.0 It starts on 32 bit windows but not on 64 bit windows
Fri Sep 02, 2011 6:57 pm
Pilot_Riaz wrote:karthikp_17 wrote:Hi Pilot,
could you please check out the java is working fine or not.
Open command prompt and type the following command.
javac
check this is working fine or not.
Thanks and regards
Karthik
Hi,
I have just tried javac
Result is:
javac is not recognized as an internal or external command, operable program or batch file.
I have added the classpath and path variable
C:\Program Files (x86)\Java\jre7\bin;
I have now downloaded jdk-7-windows-i586.exe and javac works
- holleymcflyActive particpant
- Posts : 10
Join date : 2011-08-31
Re: Trouble starting Selenium RC Server 2.5.0 It starts on 32 bit windows but not on 64 bit windows
Fri Sep 02, 2011 7:19 pm
I also thought of using the jdk instead of the jre, for I am running the jdk. But in your Path-Variable, you only refer to the bin directory of the jre (which is correct).
In addition I tried to start the server using the jre only, and that also worked for me.
Of course, I downloaded Java from the oracle web site:
http :// www .oracle.com/technetwork/java/javase/downloads/jdk-6u27-download-440405.html
The filename is jdk-6u27-windows-i586.exe.
To tell the truth, I don't think that will solve your problem :-(
Could you check and post the MD5 sum of your server jar-file? (Download e.g. the tool from http :// www .pc-tools.net/win32/md5sums/).
(pls delete the spaces from the links. As a new member I am not allowed to post external links)
In addition I tried to start the server using the jre only, and that also worked for me.
Of course, I downloaded Java from the oracle web site:
http :// www .oracle.com/technetwork/java/javase/downloads/jdk-6u27-download-440405.html
The filename is jdk-6u27-windows-i586.exe.
To tell the truth, I don't think that will solve your problem :-(
Could you check and post the MD5 sum of your server jar-file? (Download e.g. the tool from http :// www .pc-tools.net/win32/md5sums/).
(pls delete the spaces from the links. As a new member I am not allowed to post external links)
- Pilot_RiazRegular Participant
- Posts : 27
Join date : 2011-08-24
Re: Trouble starting Selenium RC Server 2.5.0 It starts on 32 bit windows but not on 64 bit windows
Fri Sep 02, 2011 8:24 pm
holleymcfly wrote:I also thought of using the jdk instead of the jre, for I am running the jdk. But in your Path-Variable, you only refer to the bin directory of the jre (which is correct).
In addition I tried to start the server using the jre only, and that also worked for me.
Of course, I downloaded Java from the oracle web site:
http :// www .oracle.com/technetwork/java/javase/downloads/jdk-6u27-download-440405.html
The filename is jdk-6u27-windows-i586.exe.
To tell the truth, I don't think that will solve your problem :-(
Could you check and post the MD5 sum of your server jar-file? (Download e.g. the tool from http :// www .pc-tools.net/win32/md5sums/).
(pls delete the spaces from the links. As a new member I am not allowed to post external links)
Same here i am not able to post external links
I have run the MD5, result below:
C:\Temp>md5sums.exe selenium-server-standalone-2.5.0.jar
MD5sums 1.2 freeware for Win9x/ME/NT/2000/XP+
Copyright (C) 2001-2005 Jem Berkes - http://www.pc-tools.net/
Type md5sums.exe -h for help
[Path] / filename MD5 sum
-------------------------------------------------------------------------------
[C:\Temp\]
selenium-server-standalone-2.5.0.jar 734b50bad60030f582514354c62523dd
Also i downloaded Selenium Server 2.50 from here http : // seleniumhq.org/download/
- holleymcflyActive particpant
- Posts : 10
Join date : 2011-08-31
Re: Trouble starting Selenium RC Server 2.5.0 It starts on 32 bit windows but not on 64 bit windows
Fri Sep 02, 2011 8:37 pm
Well, the download page is there same from where I got the file. But the md5 sum is different:
C:\Program Files (x86)\MD5 Sum>md5sums.exe "C:\Program Files (x86)\Selenium\Serv
er\selenium-server-standalone-2.5.0.jar"
MD5sums 1.2 freeware for Win9x/ME/NT/2000/XP+
Copyright (C) 2001-2005 Jem Berkes - http ://www .pc-tools.net/
Type md5sums.exe -h for help
[Path] / filename MD5 sum
-------------------------------------------------------------------------------
[C:\Program Files (x86)\Selenium\Server\]
selenium-server-standalone-2.5.0.jar c8aabf2fa0b26dec5134aa06eb54ac34
C:\Program Files (x86)\MD5 Sum>
So, perhaps try to download the server again...?
C:\Program Files (x86)\MD5 Sum>md5sums.exe "C:\Program Files (x86)\Selenium\Serv
er\selenium-server-standalone-2.5.0.jar"
MD5sums 1.2 freeware for Win9x/ME/NT/2000/XP+
Copyright (C) 2001-2005 Jem Berkes - http ://www .pc-tools.net/
Type md5sums.exe -h for help
[Path] / filename MD5 sum
-------------------------------------------------------------------------------
[C:\Program Files (x86)\Selenium\Server\]
selenium-server-standalone-2.5.0.jar c8aabf2fa0b26dec5134aa06eb54ac34
C:\Program Files (x86)\MD5 Sum>
So, perhaps try to download the server again...?
- Pilot_RiazRegular Participant
- Posts : 27
Join date : 2011-08-24
Re: Trouble starting Selenium RC Server 2.5.0 It starts on 32 bit windows but not on 64 bit windows
Fri Sep 02, 2011 8:39 pm
holleymcfly wrote:Well, the download page is there same from where I got the file. But the md5 sum is different:
C:\Program Files (x86)\MD5 Sum>md5sums.exe "C:\Program Files (x86)\Selenium\Serv
er\selenium-server-standalone-2.5.0.jar"
MD5sums 1.2 freeware for Win9x/ME/NT/2000/XP+
Copyright (C) 2001-2005 Jem Berkes - http ://www .pc-tools.net/
Type md5sums.exe -h for help
[Path] / filename MD5 sum
-------------------------------------------------------------------------------
[C:\Program Files (x86)\Selenium\Server\]
selenium-server-standalone-2.5.0.jar c8aabf2fa0b26dec5134aa06eb54ac34
C:\Program Files (x86)\MD5 Sum>
So, perhaps try to download the server again...?
I've tried 3 times, still no luck.
- holleymcflyActive particpant
- Posts : 10
Join date : 2011-08-31
Re: Trouble starting Selenium RC Server 2.5.0 It starts on 32 bit windows but not on 64 bit windows
Mon Sep 05, 2011 12:45 pm
Uh, really bad. Sorry, I'm afraid I have to give up at this point... :-(
- Pilot_RiazRegular Participant
- Posts : 27
Join date : 2011-08-24
Re: Trouble starting Selenium RC Server 2.5.0 It starts on 32 bit windows but not on 64 bit windows
Mon Sep 05, 2011 11:49 pm
Today i have got selenium-server-standalone-2.5.0.jar to work.
I copied the jar file from home to USB pen and ran it on office PC.
The downloading from office pc was corrupt, rubbish network here.
Finally got it to work now with a copy of the file from home pc.
Thanks for everyone's input in trying to help. Much appreciated.
I copied the jar file from home to USB pen and ran it on office PC.
The downloading from office pc was corrupt, rubbish network here.
Finally got it to work now with a copy of the file from home pc.
Thanks for everyone's input in trying to help. Much appreciated.
- holleymcflyActive particpant
- Posts : 10
Join date : 2011-08-31
Re: Trouble starting Selenium RC Server 2.5.0 It starts on 32 bit windows but not on 64 bit windows
Tue Sep 06, 2011 12:46 pm
Great!
That's the reason why the md5 sums were different.
Have fun now :-)
That's the reason why the md5 sums were different.
Have fun now :-)
- Sponsored content
Permissions in this forum:
You cannot reply to topics in this forum