[pskmail] Re: java, again

  • From: Drew Smith <drew@xxxxxxxxxxxx>
  • To: pskmail@xxxxxxxxxxxxx
  • Date: Sun, 17 Feb 2013 15:45:55 -0600

Per,

There is no "installer", as far as I know. All that is available for download 
from pskmail.org is the .jar file.

Can you point me to an installer?

Cheers,
- Drew.

--
Drew Smith (mux) <drew@xxxxxxxxxxxx>, VA7DSX / VE0TF
Encrypted e-mail preferred, public key at http://riotnrrd.com/pubkey.gpg

On 2013-02-17, at 3:29 PM, Pär Crusefalk <per@xxxxxxxxxxxx> wrote:

> Hi,
> 
> I'm sorry for a delayed response here, just remembered I was supposed to 
> answer...doh.
> 
> By looking at part of your error log:
> java.lang.NoClassDefFoundError: org/netbeans/lib/awte
> xtra/AbsoluteLayout
> 
> It's apparent the error is "bigger" than what I figured at the start.
> That says it can not find the necessary libs and they are put there by the 
> installer.
> This error would be shown if you would launch just the jar without installing 
> the libs first.
> Did you run the installer and if so did you launch the jar in an empty folder 
> or something?
> 
> 73, Per
> sm0rwo
> 
> 
> 
> 2013-02-14 01:41, Drew Smith skrev:
>> 
>> Per,
>> 
>> As I wrote in my last email, I did install the RXTX libs. Please read the 
>> whole thing. :)
>> 
>> I have no configuration.xml on my system anywhere - where is it supposed to 
>> be stored?
>> 
>> Cheers,
>> - Drew.
>> 
>> --
>> Drew Smith (mux) <drew@xxxxxxxxxxxx <mailto:drew@xxxxxxxxxxxx>>, VA7DSX / 
>> VE0TF
>> Encrypted e-mail preferred, public key at http://riotnrrd.com/pubkey.gpg
>> 
>> On 2013-02-08, at 3:29 PM, Pär Crusefalk <per@xxxxxxxxxxxx 
>> <mailto:per@xxxxxxxxxxxx>> wrote:
>> 
>>> Hi Drew,
>>> 
>>> Excellent, that is some success :).
>>> It is reading configuration.xml that tells it to open a serial port, the 
>>> rxtx libs are not found.
>>> Try to delete configuration.xml and restart.
>>> 
>>> /Per
>>> 
>>> On 2013-02-08 22:56, Drew Smith wrote:
>>>> 
>>>> Per,
>>>> 
>>>> After another two hours fighting with java installs and paths and trying 
>>>> to get the program to load, I am now at the following point - I can get 
>>>> J-mp3player to load and run just fine.
>>>> 
>>>> For the record, I am using a pretty-close-to-stock Windows 7 Ultimate 
>>>> install.
>>>> 
>>>> However, when I run "java -jar jPskmail-2.0.29.jar", I get the following:
>>>> 
>>>> Microsoft Windows [Version 6.1.7600]
>>>> Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
>>>> 
>>>>> C:\Users\dsmith\Desktop>java -jar jPSKmail-2.0.29.jar
>>>>> configuration.xml
>>>>> jPSKmail ends here...
>>>>> Exception in thread "main" java.lang.NoClassDefFoundError: 
>>>>> gnu/io/SerialPortEven
>>>>> tListener
>>>>>       at javapskmail.Main.handlegps(Main.java:1942)
>>>>>       at javapskmail.Main.main(Main.java:375)
>>>>> Caused by: java.lang.ClassNotFoundException: 
>>>>> gnu.io.SerialPortEventListener
>>>>>       at java.net.URLClassLoader$1.run(Unknown Source)
>>>>>       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)
>>>>>       ... 2 more
>>>>> 
>>>>> C:\Users\dsmith\Desktop>
>>>> 
>>>> …and that's where it stops.
>>>> 
>>>> Serial port event listener? I remember something in the manual about RXTX. 
>>>> Let's go find that:
>>>> 
>>>>> Windows 98/NT/2000/XP/7:
>>>>> 
>>>>> For installing the RXTX package you will find the necessary dll and jar 
>>>>> files within the directory where you installed jPSKmail.
>>>>> 
>>>>> Installation procedure:
>>>>> 
>>>>> • copy rxtxSerial.dll to %JAVA_HOME%\bin,
>>>>> (%JAVA_HOME% is the folder where JRE is installed on your system; e.g. 
>>>>> c:\Program Files\Java\j2re1.4.1_01)
>>>>> 
>>>>> • copy RXTXcomm.jar to %JAVA_HOME%\lib\ext
>>>>> 
>>>> 
>>>> …only there's no mention of this "directory where I installed jPSKmail". 
>>>> It's a JAR file, sitting on my desktop. Is it *supposed* to be installed 
>>>> somewhere, manually? Every other program I've "installed" on this machine 
>>>> has been via a simple 'setup.exe'.
>>>> 
>>>> Digging around, I find that it's "installed" itself to C:\jpskmail.  Under 
>>>> that directory, I dig until I find RXTXcomm.jar - but I can't find 
>>>> rxtxSerial.dll anywhere. It's just not there, as far as I can tell.
>>>> 
>>>> For fun, let's try googling to find those files. Oh, here they are: 
>>>> http://guides.machinescience.org/mod/forum/discuss.php?d=263 - let's try 
>>>> the 64-bit versions.
>>>> 
>>>> Copied into the appropriate directories, as per the manual, and trying 
>>>> "java -jar jPSKmail-2.0.29.jar" again:
>>>> 
>>>> 
>>>>> C:\Users\dsmith\Desktop>java -jar jPSKmail-2.0.29.jar
>>>>> configuration.xml
>>>>> jPSKmail ends here...
>>>>> Exception in thread "main" java.lang.NoClassDefFoundError: 
>>>>> org/netbeans/lib/awte
>>>>> xtra/AbsoluteLayout
>>>>>       at javapskmail.mainpskmailui.initComponents(mainpskmailui.java:2888)
>>>>>       at javapskmail.mainpskmailui.<init>(mainpskmailui.java:169)
>>>>>       at javapskmail.Main.main(Main.java:381)
>>>>> Caused by: java.lang.ClassNotFoundException: 
>>>>> org.netbeans.lib.awtextra.AbsoluteL
>>>>> ayout
>>>>>       at java.net.URLClassLoader$1.run(Unknown Source)
>>>>>       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)
>>>>>       ... 3 more
>>>>> 
>>>>> C:\Users\dsmith\Desktop>
>>>> …and that's as far as I've gotten. I have no idea what netbeans are or why 
>>>> I need to have them.
>>>> 
>>>> I'm heading out sailing tomorrow morning, crossing the Sea of Cortez for 
>>>> Mazatlán - I was really hoping to be able to try out PSKMail enroute, but 
>>>> the install process has been very frustrating so far.
>>>> 
>>>> Cheers,
>>>> - Drew.
>>>> 
>>>> --
>>>> Drew Smith (mux) <drew@xxxxxxxxxxxx <mailto:drew@xxxxxxxxxxxx> 
>>>> <mailto:drew@xxxxxxxxxxxx>>, VA7DSX / VE0TF
>>>> Encrypted e-mail preferred, public key at http://riotnrrd.com/pubkey.gpg
>>>> 
>>>> On 2013-02-08, at 1:09 AM, Pär Crusefalk <per@xxxxxxxxxxxx 
>>>> <mailto:per@xxxxxxxxxxxx> <mailto:per@xxxxxxxxxxxx>> wrote:
>>>> 
>>>>> Hi,
>>>>> 
>>>>> First, can you make another java app run?
>>>>> Like this one:
>>>>> http://www.j-mp3player.site11.com/
>>>>> 
>>>>> 73, Per
>>>>> 
>>>>> On 2013-02-07 22:08, Drew Smith wrote:
>>>>>> 
>>>>>> Hey guys,
>>>>>> 
>>>>>> Ok, I followed the instructions on the site regarding 64-bit Java under 
>>>>>> Windows 7.
>>>>>> 
>>>>>> Now when I double-click on the icon, I get a brief flash of a DOS window 
>>>>>> with an error - doing it a few dozen times, I'm able to read an error 
>>>>>> that says something like:
>>>>>> 
>>>>>> "Unable to locate class Main in c:\path\to\desktop\pskmail-2.0.27.jar"
>>>>>> 
>>>>>> I have yet to ever see pskmail running, even though I've been trying 
>>>>>> every now and then for months. I'm beginning to think that pskmail, the 
>>>>>> website, the wiki and even this mailing list is nothing more than an 
>>>>>> elaborate practical joke.
>>>>>> 
>>>>>> Can someone please spell out for me - in excruciating detail - how to 
>>>>>> get pskmail to launch under Windows 7? All of my systems knowledge is 
>>>>>> Linux and OSX, I haven't used Windows since early Win95.
>>>>>> 
>>>>>> Cheers,
>>>>>> - Drew.
>>>>>> 
>>>>>> --
>>>>>> Drew Smith (mux) <drew@xxxxxxxxxxxx <mailto:drew@xxxxxxxxxxxx>>, VA7DSX 
>>>>>> / VE0TF
>>>>>> Encrypted e-mail preferred, public key at http://riotnrrd.com/pubkey.gpg
>>>>>> 
>>>>> 
>>>>> 
>>>> 
>>> 
>>> 
>> 
> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Other related posts: