Unable to access jarfile selenium.java

3,955 views
Skip to first unread message

Slight

unread,
Jul 8, 2011, 2:26:22 PM7/8/11
to Selenium Users
Yeah I know this has been asked before but I am gona ask it again
I have the selenium jar files in a folder on C: so the path is C:
\selenium
When I try to start the server i get the above message.
I am using selenium'java-2.0rc2
Please help... I have been looking all week on ways to make this thing
work


Slight

Moises Siles

unread,
Jul 8, 2011, 2:39:39 PM7/8/11
to seleniu...@googlegroups.com
Hi,

What do you mean with start the server, are you running the command java -jar selenium-server-standalone-2.0rc2.jar ?????




--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.


Slight

unread,
Jul 8, 2011, 4:49:40 PM7/8/11
to Selenium Users
Yes I am running the command

Luke Inman-Semerau

unread,
Jul 8, 2011, 5:22:56 PM7/8/11
to seleniu...@googlegroups.com
What version of java do you have?

java -version


just to be clear from what you described you are doing the following:

(start -> run ->  cmd.exe)
C:
cd \selenium
java -jar selenium-server-standalone-2.0rc2.jar


can you copy the full output you see after that command.  If that file exists there and you have java (I'm running version 1.6.0_24 on my windows machine, 26 is the latest) it should run just fine.

(not that this will help your current issue, but 2.0.0 was just released yesterday, you should upgrade: http://code.google.com/p/selenium/downloads/list )

Harish Kumar

unread,
Jul 9, 2011, 3:03:49 AM7/9/11
to seleniu...@googlegroups.com
*first of all, double click on the
selenium-server-standalone-2.0rc2.jar
Java jar file.

*Now,go to the command prompt and write the full path of your
directory where the above jar file exist.
for example, C:\>CD <Full Path>enter

*now write below command and then press enter key. your selenim server
will be automatically started.
java -jar selenium-server-standalone-2.0rc2.jar


Good Luck


--
Thank You

*HARISH KUMAR*

Freddy Vega

unread,
Jul 9, 2011, 3:52:07 PM7/9/11
to seleniu...@googlegroups.com
I know its a silly oversight, but make sure all your paths are set up correctly.

--
Freddy Vega

http://vgp-miami.blogspot.com

Freddy Vega

unread,
Jul 9, 2011, 3:57:17 PM7/9/11
to seleniu...@googlegroups.com
And make sure you have the correct file name!

Slight

unread,
Jul 11, 2011, 10:27:22 AM7/11/11
to Selenium Users
Hey thanks for all of the replays

The version of Java is 1.6.0_27-ea

This is what I am doing
I have selenium on the root of my C in a folder called Selenium
So I do this
(start->run->cmd.exe)
This opens the command window
CD.. to root of C
then go cd selenium and run java -jar selenium-server-
standalone-2.0rc2.jar
I get this message now
Unable to access jarfile selenium-server-standalone-2.0rc2.jar

So after looking at the directory I start trying all of the .jars
listed and got one to work
jave -jar selenium-server-standalone-2.0rc2-2.jar
WHAOOOOO

Slight

unread,
Jul 11, 2011, 11:51:19 AM7/11/11
to Selenium Users
ok I got this working :)

Freddy Vega

unread,
Jul 11, 2011, 2:23:53 PM7/11/11
to seleniu...@googlegroups.com
Congrats! Can u share your answer with the group? :)

Sent from my iPhone4

mohammad samir

unread,
Jul 12, 2011, 2:39:59 AM7/12/11
to seleniu...@googlegroups.com
Rename the server and then try it happen to me before and it work for me.

Anita Padhy

unread,
Jan 22, 2014, 9:04:05 AM1/22/14
to seleniu...@googlegroups.com
make sure you have not extracted the jar file.
Reply all
Reply to author
Forward
0 new messages