Installation on Synology NAS

Help
Sieges
2014-03-01
2014-06-01
  • Sieges

    Sieges - 2014-03-01

    Greetings,

    I am in the process of migrating all my passwords from LastPass to KeePass in order to control more of my own data. A part of this process involves installing Web KeePass to give me a Web based Gui when I do not have my phone or my own laptop at hand.

    I am trying to install Web KeePass on my Synology NAS. The NAS uses Synology's own (Debian-derived i suspect) OS. Java and Tomcat is installed already. However, when trying to ./Install.sh the installation file - I get the following error.

    /volume1/web/keepass # ./Install.sh
    Exception in thread "main" java.lang.NoClassDefFoundError: installers/InstallerMain
    Caused by: java.lang.ClassNotFoundException: installers.InstallerMain
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    . Program will exit.in class: installers.InstallerMain
    : not foundh: line 2:

    Please keep in mind that I am not awfully competent in Linux, although I'm not completely useless. :)

    I'm guessing there is a problem with the Java installation. According to the Synology OS, Java 1.6.0_45 is installed in /var/packages/JavaManager/target/Java/jre/lib

    Any help would be greatly appreciated!

    Thank you!

     
  • Paul Jones

    Paul Jones - 2014-03-03

    You have a class path problem with the installer... I think you need to edit the Install.sh script and set the class path. It would be on the "java" line of the script.. I think it points to ./install/install.jar (or something like that).. I would try making the path the absolute path to that install.jar file...

     
  • Paul Jones

    Paul Jones - 2014-03-03

    ..and you must run Sun's java jdk... Not ice tea or some other java jdk/jre...

     
  • kyrylo

    kyrylo - 2014-06-01

    sorry I was thinking to create a new topic!

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks