Wednesday 20 June 2012

SmartSVN Installation Steps Error's

How to install subversion on Linux and make it working choose below link..
http://minisaha.wordpress.com/2008/02/18/how-to-install-subversion-on-linux-and-make-it-working/


SMARTSVN:

Download Latest Version:http://www.syntevo.com/smartsvn/download.html

JDK or jre download link:http://www.oracle.com/technetwork/java/javase/downloads/index.html

 Requirements

SmartSVN requires a Java Runtime Environment (JRE) 1.5 or higher to run. We recommend to use the latest JRE 1.6 to be able to use all features.
  • For Microsoft Windows 2000/XP/2003/Vista/7, you may choose the installer with JRE.
  • For Mac OS X, version 10.5 or newer, the necessary JRE is present on your system.
  • For other platforms, you can download platform-specific JRE packages from SUN's website.

Installation Instructions

  • unpack the downloaded file into a directory of your choice,
  • ensure, that the correct Java Runtime Environment is installed on your system,
  • start the application by using the launcher script from the bin directory
If the application fails to start, e.g. because you have an incompatible JRE version on your system, it might be necessary to set the SMARTSVN_JAVA_HOME environment variable to the root path of the Java Runtime Environment 1.6 from SUN. To create an icon on your desktop, you'll find suitable images in different sizes in the bin directory.

Fix smartsvn.sh so it will run

Use this command from the terminal if you don't know what to use:

gedit smartsvn.sh
Then at line 6 you will see the JAVA_HOME variable is commented out. Now you need to know where you installed java to, but on my CentOS 5.2 installation it was here:
JAVA_HOME=usr/java/latest
Save the smartsvn.sh file and try again, from the terminal:
sh smartsvn.sh
Hope that works for you.

 



Hi I am also having a problem

Can any one help? ./smartsvn.sh does not load

Java JRE installed - see below:

[root@centos usr]# ls -la

total 288
drwxr-xr-x  15 root root  4096 Oct 11 11:35 .
drwxr-xr-x  26 root root  4096 Nov 20 11:42 ..
drwxr-xr-x   2 root root 69632 Nov 20 11:22 bin
drwxr-xr-x   2 root root  4096 Mar  9  2009 etc
drwxr-xr-x   2 root root  4096 Mar  9  2009 games
drwxr-xr-x 132 root root 12288 Nov 20 10:17 include
drwxr-xr-x   3 root root  4096 Nov 20 11:22 java
drwxr-xr-x   6 root root  4096 Sep  4 02:02 kerberos
drwxr-xr-x 143 root root 69632 Nov 20 10:27 lib
drwxr-xr-x  17 root root  4096 Nov 20 10:21 libexec
drwxr-xr-x  11 root root  4096 Nov 19 16:19 local
drwxr-xr-x   2 root root 20480 Nov 20 10:21 sbin
drwxr-xr-x 276 root root 12288 Nov 20 10:19 share
drwxr-xr-x   4 root root  4096 Nov 19 16:33 src
lrwxrwxrwx   1 root root    10 Nov 19 16:19 tmp -> ../var/tmp
drwxr-xr-x   3 root root  4096 Nov 19 16:23 X11R6

[root@centos lib]# ls -la | more

total 276676
drwxr-xr-x   2 root root     4096 Nov 20 11:48 java
drwxr-xr-x   2 root root     4096 Mar 14  2007 java-1.3.1
drwxr-xr-x   2 root root     4096 Mar 14  2007 java-1.4.0
drwxr-xr-x   2 root root     4096 Mar 14  2007 java-1.4.1
drwxr-xr-x   2 root root     4096 Mar 14  2007 java-1.4.2
drwxr-xr-x   2 root root     4096 Mar 14  2007 java-1.5.0
drwxr-xr-x   2 root root     4096 Mar 14  2007 java-1.6.0
drwxr-xr-x   2 root root     4096 Mar 14  2007 java-ext

SmartSVN in Root directory

[root@centos /]# ls -la

total 190
drwxr-xr-x  26 root root  4096 Nov 20 11:42 .
drwxr-xr-x  26 root root  4096 Nov 20 11:42 ..
-rw-r--r--   1 root root     0 Nov 20 11:33 .autofsck
drwxr-xr-x   2 root root  4096 Mar 22  2007 .automount
-rw-r--r--   1 root root     0 Nov 20 10:34 .autorelabel
drwxr-xr-x   2 root root  4096 Nov 20 10:26 bin
drwxr-xr-x   4 root root  1024 Nov 20 10:20 boot
drwxr-xr-x  12 root root  4100 Nov 20 11:34 dev
drwxr-xr-x 119 root root 12288 Nov 20 16:10 etc
drwxr-xr-x   4 root root  4096 Nov 20 12:04 home
drwxr-xr-x  13 root root 12288 Nov 20 10:26 lib
drwx------   2 root root 16384 Nov 19 16:11 lost+found
drwxr-xr-x   2 root root  4096 Mar  9  2009 media
drwxr-xr-x   2 root root     0 Nov 20 11:33 misc
drwxr-xr-x   2 root root  4096 Mar  9  2009 mnt
drwxr-xr-x   2 root root     0 Nov 20 11:33 net
drwxr-xr-x   2 root root  4096 Mar  9  2009 opt
dr-xr-xr-x 154 root root     0 Nov 20 11:32 proc
drwxr-x---  17 root root  4096 Nov 20 16:10 root
drwxr-xr-x   2 root root 12288 Nov 20 10:22 sbin
drwxr-xr-x   2 root root  4096 Nov 19 16:12 selinux
drwxr-xr-x   3 root root  4096 Nov 20 11:43 SmartSVN
drwxr-xr-x   2 root root  4096 Mar  9  2009 srv
drwxr-xr-x  12 root root     0 Nov 20 11:32 sys
drwxr-xr-x   3 root root  4096 Sep 26 17:30 tftpboot
drwxrwxrwt  12 root root  4096 Nov 20 16:13 tmp
drwxr-xr-x  15 root root  4096 Oct 11 11:35 usr
drwxr-xr-x  28 root root  4096 Nov 19 16:46 var

SmartSVN not loading - What do I have to change in script (Shell)

[root@centos /]# cd /SmartSVN

[root@centos SmartSVN]# cd smartsvn-6_0_8
[root@centos smartsvn-6_0_8]# cd bin
[root@centos bin]# ls -la
total 48
drwxr-xr-x 2 root root  4096 Nov 20 12:09 .
drwxr-xr-x 7 root root  4096 Nov 20 11:30 ..
-rwxr--r-- 1 root root 10143 Nov 19 15:49 smartsvn-128x128.png
-rwxr--r-- 1 root root  1605 Nov 19 15:49 smartsvn-32x32.png
-rwxr--r-- 1 root root  2614 Nov 19 15:49 smartsvn-48x48.png
-rwxr--r-- 1 root root  3871 Nov 19 15:49 smartsvn-64x64.png
-rwxr--r-- 1 root root  2215 Nov 19 15:49 smartsvn.cmd
-rwxr--r-- 1 root root  3066 Nov 19 15:49 smartsvn.ico
-rwxr--r-- 1 root root  2719 Nov 20 12:09 smartsvn.sh
-rw-r--r-- 1 root root  2714 Nov 20 11:39 smartsvn.sh~
[root@centos bin]# ./smartsvn.sh
Exception in thread "main" java.lang.NoClassDefFoundError: smartsvn.VD
   at java.lang.Class.initializeClass(libgcj.so.7rh)
   at java.lang.Class.initializeClass(libgcj.so.7rh)
   at SmartSVN.main(SourceFile:11)
Caused by: java.lang.ClassNotFoundException: com.sun.java.swing.plaf.windows.WindowsLookAndFeel not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/SmartSVN/smartsvn-6_0_8/lib/smartsvn.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.7rh)
   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)
   at java.lang.ClassLoader.defineClass(libgcj.so.7rh)
   at java.security.SecureClassLoader.defineClass(libgcj.so.7rh)
   at java.net.URLClassLoader.findClass(libgcj.so.7rh)
   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at java.lang.Class.forName(libgcj.so.7rh)
   at java.lang.Class.initializeClass(libgcj.so.7rh)
   ...2 more

No comments:

Post a Comment