18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Install problems. Fedora 10
Hi All,
Trying to install sahi on a new Fedora 10 i386 install.
unzip file then cd sahi/bin.
$ ./sahi.sh
Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/sahi/Proxy
Caused by: java.lang.ClassNotFoundException: net.sf.sahi.Proxy
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
. Program will exit.ain class: net.sf.sahi.Proxy
Same error with sahi_20090304.zip, sahi-src_20090304.zip or sahi-src_20090323.zip.
On this machine:
$ /usr/bin/java -version
java version "1.6.0_0"
IcedTea6 1.4 (fedora-13.b14.fc10-i386) Runtime Environment (build 1.6.0_0-b14)
OpenJDK Client VM (build 14.0-b08, mixed mode)
# /usr/sbin/alternatives --config java
There are 2 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-gcj/bin/java
Enter to keep the current selection[+], or type selection number:
Thanks for your time.
Rhubarb
Trying to install sahi on a new Fedora 10 i386 install.
unzip file then cd sahi/bin.
$ ./sahi.sh
Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/sahi/Proxy
Caused by: java.lang.ClassNotFoundException: net.sf.sahi.Proxy
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
. Program will exit.ain class: net.sf.sahi.Proxy
Same error with sahi_20090304.zip, sahi-src_20090304.zip or sahi-src_20090323.zip.
On this machine:
$ /usr/bin/java -version
java version "1.6.0_0"
IcedTea6 1.4 (fedora-13.b14.fc10-i386) Runtime Environment (build 1.6.0_0-b14)
OpenJDK Client VM (build 14.0-b08, mixed mode)
# /usr/sbin/alternatives --config java
There are 2 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-gcj/bin/java
Enter to keep the current selection[+], or type selection number:
Thanks for your time.
Rhubarb
Comments
That did it.
Just like it says in the file.
Thanks,
Rhubarb