java problem?

I have a Java problem or something with a program that I use to read GPS.
It does not want to work anymore since last days updates.
I tried to install virtualbox Tumbleweed and 42.3 and see if it worked, unfortunately not. However, with Linux 18.1 in virtualbox, the program does work.
I’m not getting out, what’s suddenly changed ???

....@linux-meip:/thuis/GPS/distributionGpsarPro511/distributionGpsarPro>  ./gpsarPro.sh 
java.text.ParseException: cannot read MAC address for 127.0.0.2 from  [eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500 
        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255 
        inet6 fe80::d250:99ff:fe2f:a15b  prefixlen 64  scopeid 0x20<link> 
        ether d0:50:99:2f:a1:5b  txqueuelen 1000  (Ethernet) 
        RX packets 2071  bytes 1098592 (1.0 MiB) 
        RX errors 0  dropped 0  overruns 0  frame 0 
        TX packets 1983  bytes 381454 (372.5 KiB) 
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 
        device interrupt 20  memory 0xefc00000-efc20000 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536 
        inet 127.0.0.1  netmask 255.0.0.0 
        inet6 ::1  prefixlen 128  scopeid 0x10<host> 
        loop  txqueuelen 1000  (Local Loopback) 
        RX packets 0  bytes 0 (0.0 B) 
        RX errors 0  dropped 0  overruns 0  frame 0 
        TX packets 0  bytes 0 (0.0 B) 
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 

] 
        at gs.b(Unknown Source) 
        at gs.a(Unknown Source) 
        at C.<clinit>(Unknown Source) 
        at ha.run(Unknown Source) 
java.text.ParseException: cannot read MAC address for 127.0.0.2 from  [eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500 
        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255 
        inet6 fe80::d250:99ff:fe2f:a15b  prefixlen 64  scopeid 0x20<link> 
        ether d0:50:99:2f:a1:5b  txqueuelen 1000  (Ethernet) 
        RX packets 2071  bytes 1098592 (1.0 MiB) 
        RX errors 0  dropped 0  overruns 0  frame 0 
        TX packets 1983  bytes 381454 (372.5 KiB) 
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 
        device interrupt 20  memory 0xefc00000-efc20000 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536 
        inet 127.0.0.1  netmask 255.0.0.0 
        inet6 ::1  prefixlen 128  scopeid 0x10<host> 
        loop  txqueuelen 1000  (Local Loopback) 
        RX packets 0  bytes 0 (0.0 B) 
        RX errors 0  dropped 0  overruns 0  frame 0 
        TX packets 0  bytes 0 (0.0 B) 
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 

] 
        at gs.b(Unknown Source) 
        at gs.a(Unknown Source) 
        at C.<clinit>(Unknown Source) 
        at ha.run(Unknown Source) 
java.io.IOException: cannot read MAC address for 127.0.0.2 from [eth0:  flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500 
        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255 
        inet6 fe80::d250:99ff:fe2f:a15b  prefixlen 64  scopeid 0x20<link> 
        ether d0:50:99:2f:a1:5b  txqueuelen 1000  (Ethernet) 
        RX packets 2071  bytes 1098592 (1.0 MiB) 
        RX errors 0  dropped 0  overruns 0  frame 0 
        TX packets 1983  bytes 381454 (372.5 KiB) 
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 
        device interrupt 20  memory 0xefc00000-efc20000 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536 
        inet 127.0.0.1  netmask 255.0.0.0 
        inet6 ::1  prefixlen 128  scopeid 0x10<host> 
        loop  txqueuelen 1000  (Local Loopback) 
        RX packets 0  bytes 0 (0.0 B) 
        RX errors 0  dropped 0  overruns 0  frame 0 
        TX packets 0  bytes 0 (0.0 B) 
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 

] 
        at gs.a(Unknown Source) 
        at C.<clinit>(Unknown Source) 
        at ha.run(Unknown Source)

Thanks Gerrit Jan

How did you update/upgrade TW ?

IIRC I’ve seen an issue with update-alternatives spitting out error messages, could this be related ? Can you check


su -
update-alternatives --config java

This i find.

I update with Yast

But the program did not work in a fresh install on virtualbox with the latest TW en 42.3…??? No updates done there.

linux-meip:~ # update-alternatives --config java
There is only one alternative in link group java (providing /usr/bin/java): /usr/lib64/jvm/jre-9-openjdk/bin/java
Nothing to configure.

Tumbleweed shouldn’t be updated through YaST. First, open a terminal window and do


su
zypper ref && zypper dup

BTW, my output from the same command:

# update-alternatives --config javaThere is only one alternative in link group java (providing /usr/bin/java): /usr/lib64/jvm/jre-**1.8.0**-openjdk/bin/java
Nothing to configure.

see the bold part of my up-to-date TW output…

BTW2, any added repos?


zypper lr -d

lots off updates with zypper ref && zypper dup.
Yes i add some repo’s

linux-meip:~ # zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.

#  | Alias                         | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                              | Service
---+-------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------------------------------+--------
 1 | Applications                  | Applications                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Applications/KDE_Frameworks5_openSUSE_Tumbleweed/ |        
 2 | Extra                         | Extra                                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Tumbleweed/                        |        
 3 | Frameworks5                   | Frameworks5                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Frameworks5:/LTS/openSUSE_Tumbleweed/             |        
 4 | Wine                          | Wine                                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Tumbleweed/                   |        
 5 | XOrg                          | XOrg                                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_Tumbleweed/                         |        
 6 | download.opensuse.org-non-oss | Hoofd-installatiebron (niet-opensource) | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss/                                            |        
 7 | download.opensuse.org-oss     | Hoofd-installatiebron (opensource)      | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss/                                                |        
 8 | libdvdcss                     | libdvdcss                               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                                              |        
 9 | mozilla                       | mozilla                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_Tumbleweed/                           |        
10 | packman                       | packman                                 | No      | ----      | ----    |   99     | rpm-md | ftp://ftp5.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/                              |        
11 | packman_1                     | packman                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Tumbleweed/                                                |        
12 | repo-debug                    | openSUSE-Tumbleweed-Debug               | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/                                          |        
13 | repo-source                   | openSUSE-Tumbleweed-Source              | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/source/tumbleweed/repo/oss/                                         |        
14 | repo-update                   | openSUSE-Tumbleweed-Update              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                                  |        
15 | security                      | security                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/security/openSUSE_Tumbleweed/                          |        
16 | skype-stable                  | skype (stable)                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://repo.skype.com/rpm/stable/                                                               

Are you sure, that this is a java problem?

I don’t see a link with 127.0.0.2 in your output; only 127.0.0.1.

Hendrik

No, I’m not, but in the meantime, many people are suffering from it.
It has come through the last java update, but seems to be in the program itself. So, nothing has to do with openSUSE.
Therefore, stop this topic.

Thanks all. GJ