java on linux platorm

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sandhu236
    New Member
    • Jul 2007
    • 9

    java on linux platorm

    hi all,

    I am facing problem while trying run the java .exe through the batch file created on linux platform ,I have set the class path in the bash also ...but still it is giving no class found exception(java. lang.NoClassDef FoundError "
    Iam geeting the following error
    Exception in thread "main" java.lang.NoCla ssDefFoundError :
    Scheduler_GUI.S cheduler
    at gnu.gcj.runtime .FirstThread.ru n() (/usr/lib/libgcj.so.5.0.0 )
    at _Jv_ThreadRun(j ava.lang.Thread ) (/usr/lib/libgcj.so.5.0.0 )
    at _Jv_RunMain(jav a.lang.Class, byte const, int, byte const, boolean)
    (/usr/lib/libgcj.so.5.0.0 )
    at __gcj_personali ty_v0 (/mnt/D/schedGUI/java.version=1. 4.2)
    at __libc_start_ma in (/lib/tls/libc-2.3.4.so)
    at _Jv_RegisterCla sses (/mnt/D/schedGUI/java.version=1. 4.2)
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by sandhu236
    hi all,

    I am facing problem while trying run the java .exe through the batch file created on linux platform ,I have set the class path in the bash also ...but still it is giving no class found exception(java. lang.NoClassDef FoundError "
    Iam geeting the following error
    Exception in thread "main" java.lang.NoCla ssDefFoundError :
    Scheduler_GUI.S cheduler
    at gnu.gcj.runtime .FirstThread.ru n() (/usr/lib/libgcj.so.5.0.0 )
    at _Jv_ThreadRun(j ava.lang.Thread ) (/usr/lib/libgcj.so.5.0.0 )
    at _Jv_RunMain(jav a.lang.Class, byte const, int, byte const, boolean)
    (/usr/lib/libgcj.so.5.0.0 )
    at __gcj_personali ty_v0 (/mnt/D/schedGUI/java.version=1. 4.2)
    at __libc_start_ma in (/lib/tls/libc-2.3.4.so)
    at _Jv_RegisterCla sses (/mnt/D/schedGUI/java.version=1. 4.2)
    Are you sure the class files are there on the specified class path?

    Comment

    • sandhu236
      New Member
      • Jul 2007
      • 9

      #3
      Originally posted by r035198x
      Are you sure the class files are there on the specified class path?
      yes all the lib files...jar files are in the specified path ....should I include all the .jar files seperately?

      Comment

      Working...