last day (14 days later) » 

4:59 AM
0
Q: Unable to run selenium standalone server

Smruti SinghI am trying to run selenium-standalone-server 2.47.1.jar through command prompt. But I am facing this error. C:\automation\node_modules\selenium-webdriver>java -jar selenium-server-standalo ne-2.47.1.jar Exception in thread "main" java.lang.UnsupportedClassVersionError: org/openqa/gr id/seleniu...

 
It seems the error is about conflicting your JDK versions.
 
What JDK version do I need? The one I installed has this name jdk-6u10-windows-i586-p.exe. Its JDK 6 I think
 
And what is your selenium running/compiled version ?
Smruti, did you compile your project using 1.7 ?
 
You mean, the selenium-standalone-server version? Its 2.47.1. selenium-server-standalo ne-2.47.1.jar @sᴜʀᴇsʜᴀᴛᴛᴀ
Actually, I am totally unaware of JAVA environment or platform. Can you explain what do you mean by 1.7?
 
I mean JDK 1.7
I'm not a selenium guy, but I can understand the error you are facing.
 
5:01 AM
Actualy, the JDK file I am having, it has a name jdk-6u10-windows-i586-p.exe. DOes it mean JDK 1.6? or JDK 6?
 
ok. can you please configure that to JDK 1.7 and run ?
JDK 1.6 or JDK 6 same
 
OK. Thanks. Let me install JDK 1.7
 
In this link, oracle.com/technetwork/java/javase/downloads/…, I can't see Windows32 bit
 
Is your's 64 bit ?
 
5:04 AM
no
Hello. Are you there?
 
Yes I'm :)
download that . Not a problem
 
Which one. Windowsx64?
 
ok. Thanks :)
 
Wait
which IDE you are using ?
 
5:11 AM
I am using selenium webdriver.
But yes, I use Netbeans IDE too. For other projects.
Loaded, selenium via npm
 
Are you familiar with selenium?
 
5:34 AM
I'm not a selenium guy, but I can understand the error you are facing.
This is what I said long back
I'm not much aware of it :)
Is your problem solved ?
 
its still downloading.... 18 mins left.
 
 
2 hours later…
7:25 AM
Thanks. Updating the JDK solved the problem. Thanks a lot
 
You are welcome :)
All the best.
 

last day (14 days later) »