Results 1 to 11 of 11

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    , ... Shaft's Avatar
    Join Date: Feb:2007
    Location:
    Posts: 382

    java swt 3.3.2 ... Linux ---> Solved!

    !
    SWT- :
    Code:
    shaft@slack:~/Desktop$ java -jar interface.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Layout
    shaft@slack:~/Desktop$
    , !!!
    !!!


    : jar-a : ( , , ... .zip -> .jar ...)
    Attached Files
    ' ... ! - ... !

  2. #2

    Join Date: Sep:2005
    Location: Sofia
    Posts: 18,517
    - , SWT- ? . . java.lang.Object. , .




    shaft@slack:~/Desktop$ java -jar interface.jar -cp < >\org.eclipse.swt.win32.win32.x86_3.3. 1.v3346i.jar

    , .
    Last edited by vvvlado; 20th March 2008 at 12:50.

  3. #3
    , ... Shaft's Avatar
    Join Date: Feb:2007
    Location:
    Posts: 382
    Quote Originally Posted by vvvlado View Post
    - , SWT- ? . . java.lang.Object. , .




    shaft@slack:~/Desktop$ java -jar interface.jar -cp < >\org.eclipse.swt.win32.win32.x86_3.3. 1.v3346i.jar

    , .

    ..
    Code:
    shaft@slack:~/Desktop$ java -jar interface.jar -cp /home/root/Desktop/eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.3.2.v3347.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Layout
    Same s**t ...
    , ... , , ? ( file->export->jar file-> etc ...)
    !!!
    ' ... ! - ... !

  4. #4

    Join Date: Sep:2005
    Location: Sofia
    Posts: 18,517
    -jar, - .

    C:\>java -cp "c:/interface.zip;D:\sapide\720\2007-04-01\eclipse\plugins\org.eclipse.swt.win32 .win32.x86_3.3.1.v3346i.jar" org.elsys.lab4.SwtExample

  5. #5
    , ... Shaft's Avatar
    Join Date: Feb:2007
    Location:
    Posts: 382
    ...

    shaft@slack:~/Desktop$ java -cp "/home/root/Desktop/interface.jar;/home/root/Desktop/eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.3.2.v334 7.jar" org.elsys.lab4.SwtExampleclass
    Exception in thread "main" java.lang.NoClassDefFoundError: org/elsys/lab4/SwtExampleclass
    shaft@slack:~/Desktop$

    jar , ...
    !
    ' ... ! - ... !

  6. #6

    Join Date: Sep:2005
    Location: Sofia
    Posts: 18,517
    . class.

    shaft@slack:~/Desktop$ java -cp "/home/root/Desktop/interface.jar;/home/root/Desktop/eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.3.2.v334 7.jar" org.elsys.lab4.SwtExample

    jar . META-INF manifest.mf. ...

    -jar . SWT . etc , PATH, CLASSPATH=... - CLASSPATH=$CLASSPATH... , , .
    Last edited by vvvlado; 20th March 2008 at 21:14.

  7. #7
    Registered User kernel_daemon's Avatar
    Join Date: Nov:2005
    Location: at 0000:7c00
    Posts: 940

    Smile




    Code:
    java -cp interface.jar:org.eclipse.swt.gtk.linux.x86_3.3.2.v3349.jar org.elsys.lab4.SwtExample
    , jar-a swt . - .

    -jar , .
    An year spent in artificial intelligence is enough to make one believe in God.
    Powered by ArchLinux.

  8. #8
    , ... Shaft's Avatar
    Join Date: Feb:2007
    Location:
    Posts: 382
    , ... - ...

    http://fjep.sourceforge.net/



    ... , windows- ?
    Last edited by Shaft; 20th March 2008 at 22:14.
    ' ... ! - ... !

  9. #9
    Registered User kernel_daemon's Avatar
    Join Date: Nov:2005
    Location: at 0000:7c00
    Posts: 940
    swt .
    An year spent in artificial intelligence is enough to make one believe in God.
    Powered by ArchLinux.

  10. #10

    Join Date: Sep:2005
    Location: Sofia
    Posts: 18,517
    Quote Originally Posted by Shaft View Post
    , ... - ...

    http://fjep.sourceforge.net/



    ... , windows- ?
    . SWT jar . - DLL- (SO-) . (jar) . , SWT. JAR Windows DLL- Eclipse Windows SWT - Azureus.

    SWT? Swing .
    Last edited by vvvlado; 20th March 2008 at 23:59.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |