[hpsdr] ghpsdr3 starting jmonitor

n3evl n3evl at townisp.com
Sat Oct 2 06:05:05 PDT 2010


John,

I checked the contents of the as-supplied AbsoluteLayout.jar file via 
jar -tvf and it appears to contain the missing AbsoluteLayout.class.

I copied the jar file to my c:\multirx folder along with all the other 
related files.

I've tried various combinations of specifying the jar file name on the 
command line via -cp or adding it to the CLASSPATH but can't seem to hit 
the magic setting that finds the class at runtime as I still get the 
NoClassDefFoundError.  Must be missing something obvious.

Pete


On 10/2/2010 4:18 AM, John Melton wrote:
> jmonitor is built using the NetBeans IDE and requires the
> org/netbeans/lib/awtextra/AbsoluteLayout class.
>
> If you build jmonitor with NetBeans then it creates a dist directory
> containing the jmonitor.jar file and will also create a lib directory
> with the AbsoluteLayout class in it.
>
> -- John g0orx/n6lyt
>
> On Fri, 2010-10-01 at 18:44 -0400, n3evl wrote:
>> ***** High Performance Software Defined Radio Discussion List *****
>>
>>    Finally got time to play with ghpsdr3 on windows.
>>
>> Server and dspserver on RX 0 seem to be running ok - got audio.
>>
>> jmonitor failed to start.  Got the following:
>>
>> C:\multirx>java -jar "jmonitor.jar" --server 127.0.0.1 --receiver 0
>> opened client socket on port 8000
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/netbeans/lib/awtextra/AbsoluteLayout
>>           at jmonitor.ControlPanel.initComponents(ControlPanel.java:87)
>>           at jmonitor.ControlPanel.<init>(ControlPanel.java:31)
>>           at jmonitor.MonitorPanel.initComponents(MonitorPanel.java:53)
>>           at jmonitor.MonitorPanel.<init>(MonitorPanel.java:22)
>>           at jmonitor.MonitorFrame.initComponents(MonitorFrame.java:39)
>>           at jmonitor.MonitorFrame.<init>(MonitorFrame.java:23)
>>           at jmonitor.Main.main(Main.java:64)
>> Caused by: java.lang.ClassNotFoundException:
>> org.netbeans.lib.awtextra.AbsoluteLayout
>>           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)
>>           ... 7 more
>>
>>
>> Here's the info on the version of java its using...
>>
>> C:\multirx>
>> C:\multirx>java -version
>> java version "1.6.0_20"
>> Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
>> Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
>>
>> Maybe the package is missing for some reason?
>>
>> Any help appreciated.
>>
>> Pete, N3EVL
>>
>>
>> _______________________________________________
>> HPSDR Discussion List
>> To post msg: hpsdr at openhpsdr.org
>> Subscription help: http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org
>> HPSDR web page: http://openhpsdr.org
>> Archives: http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 10.0.1120 / Virus Database: 422/3171 - Release Date: 10/01/10
>
>


 1286024705.0


More information about the Hpsdr mailing list