vyskytol sa mi takyto problem:
- potreboval by som rozchodit "metagraf" .. kedze je napisany v JAV-e, bol som nuteny (kedze doteraz som ju nepotreboval) ju doinstalovat - vsetko prebehlo hladko, java frci, ale po zadani prikazu
java --jar mg5.jar
to skonci takto:
Exception in thread "main" java.lang.NullPointerException
at javax.swing.JScrollPane.setLayout(libgcj.so.7rh)
at CustomScrollPane.<init>(CustomScrollPane.java:23)
at Metagraf.init(Metagraf.java:25)
at Metagraf.main(Metagraf.java:13)
poradte, co s tym?
podobne chyby (v class "main") hlasi aj pri pokuse o spustenie inych *.jar aplikacii...
slapem Fedora Core 6...
vopred diki
j
ava -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.1 20061011 (Red Hat 4.1.1-30)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.