On Wednesday 29 April 2020 15:52:58 Jon Elson wrote:

> On 04/29/2020 02:14 PM, Gene Heskett wrote:
> > This has nothing to do with linuxcnc other than this install is from
> > one of our installers.
> >
> > I have a utility that talks to a 35 yo legacy computer, but needs
> > the RXTX libraries to do it.
>
> Not familiar with this, is this a Java library?
>
> > It hasn't worked since the old asus mobo burned up and was replaced
> > with a newer, faster board and cpu also an Asus.
>
> Well, what is the symptom?
>
> > Several of these libraries including one I just installed, are here
> > and there but it still won't load. I suspect its a path problem, but
> > even dropping it into the same directory with the .jar that needs it
> > isn't working.
>
> Is there any diagnostic capability that can tell why "it
> won't load"?
>
> Jon
Just this, from a script I wrote many years ago:
gene@coyote:/CoCo$ ./dwstart
/CoCo/dw4directory
gene@coyote:/CoCo$ deleting old lockfile /var/lock/LCK..ttyUSB1
total 4
drwxr-xr-x 2 www-data root 40 Apr 29 14:23 apache2
-rw-r--r-- 1 root     root 22 Apr 29 14:23 asound.state.lock
-rw-r--r-- 1 root     root  0 Apr 29 14:23 ntpdate
drwx------ 2 root     root 40 Apr 29 14:23 schroot
drwxr-xr-x 2 root     root 40 Apr 29 14:23 subsys
-rw-rw-rw- 1 root     root  0 Apr 29 14:24 tdekbdledsync-:0.lock
total 4
drwxr-xr-x 2 www-data root 40 Apr 29 14:23 apache2
-rw-r--r-- 1 root     root 22 Apr 29 14:23 asound.state.lock
-rw-r--r-- 1 root     root  0 Apr 29 14:23 ntpdate
drwx------ 2 root     root 40 Apr 29 14:23 schroot
drwxr-xr-x 2 root     root 40 Apr 29 14:23 subsys
-rw-rw-rw- 1 root     root  0 Apr 29 14:24 tdekbdledsync-:0.lock
29 Apr 2020 15:57:04 INFO  [dwserver-10   ] DriveWire Server v4.3.3o 
starting
FATAL: UseRXTX is set, but RXTX native libraries could not be loaded
Yikes!

java.lang.ExceptionInInitializerError
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
        at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
        at com.groupunix.drivewireui.MainWin.main(MainWin.java:374)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.swtjar.SWTLoader.main(SWTLoader.java:47)
Caused by: java.lang.NullPointerException
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1847)
        at java.lang.Runtime.loadLibrary0(Runtime.java:871)
        at java.lang.System.loadLibrary(System.java:1124)
        at org.eclipse.swt.internal.Library.load(Unknown Source)
        at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
        at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
        at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
        ... 9 more

FATAL: Please see 
http://sourceforge.net/apps/mediawiki/drivewireserver/index.php?title=Installation

And the last link no longer exists. Somebody has redone about 75% of it 
in python, but zero installation tuts there either.  So I'm flying 
blind.
>
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to