Menu

Problem installing and starting OpenDMTP serv

Help
Mijo
2010-07-17
2013-01-09
  • Mijo

    Mijo - 2010-07-17

    Hello, I have been struggling to install OpenDMTP on windows. I followed the instructions in the readme.txt
    Here is my java version

    C:\DMTP\bin>java -version
    java version "1.6.0_21"
    Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
    Java HotSpot(TM) Client VM (build 17.0-b16, mixed mode, sharing)

    Build with ant went fine. When I  try to start the server, I get the error

    C:\DMTP\bin>server_file
    Exception in thread "main" java.lang.NoClassDefFoundError: org/opendmtp/server_f
    ile/Main
    Caused by: java.lang.ClassNotFoundException: org.opendmtp.server_file.Main
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
    Could not find the main class: org.opendmtp.server_file.Main.  Program will exit

    I have JAVA_HOME set to C:\Program Files\Java\jre6\bin
    I tried changing it to c:\sun\sdk\bin
    but it didn't help.
    Appreciate if you can help with this , with a bit detailed instructions for a newbie
    Thanks

     
  • Mijo

    Mijo - 2010-07-18

    Sorry, my bad. The issue was due to my running the server from the bin directory. Server working now

     

Log in to post a comment.