mdettlaff / jreader-ug

Automatically exported from code.google.com/p/jreader-ug
GNU General Public License v3.0
0 stars 0 forks source link

Próba odpalenia na kompie usera #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
chciałem odpalić nasz program u kamila na windowsie ale nie udało się..
wydaje mi się że brakuje jakby swt u niego czy coś... o to błąd: 
C:\JReader>java -classpath bin  jreader.JReader
Exception in thread "main" java.lang.NoClassDefFoundError:
org/eclipse/swt/graphics/Device
        at jreader.JReader.main(JReader.java:81)
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.graphics.Device
        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)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 1 more
jakieś sugestie?

Original issue reported on code.google.com by kajo...@gmail.com on 12 Jan 2009 at 12:26

GoogleCodeExporter commented 9 years ago
Skopiuj plik swt.jar do C:\Program Files\Java\[TWOJE_JRE]\lib\ext i spróbuj 
wtedy
odpalić.
Albo skopiuj go do C:\JReader\lib i odpal przez:
java -classpath "bin;lib\swt.jar" jreader.JReader

Original comment by mdettlaf...@gmail.com on 12 Jan 2009 at 12:35

GoogleCodeExporter commented 9 years ago
ten pierwszy sposob juz wczesniej probowalem.. ten drugi prawdopodobnie tez nic 
nie da

Original comment by kajo...@gmail.com on 12 Jan 2009 at 12:37

GoogleCodeExporter commented 9 years ago
ok ten drugi sposob zadzialal

Original comment by kajo...@gmail.com on 12 Jan 2009 at 12:40