开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

YAAC won't run on RPi


 

Trying to install YAAC on a Raspberry Pi for my RV, followed website instructions and get the following error:

michael@trailer-pi:~/YAAC $ java -jar YAAC.jar
Error occurred during initialization of VM
Server VM is only supported on ARMv7+ VFP

I must have goofed somewhere, not sure where.

I installed the required stuff with

sudo apt-get install openjdk-11-jre unzip libjssc-java

and it looks like everything went OK.

I copied the Desktop file from another machine that is working OK, but the program won't launch from the desktop icon. I tried from the command line and get the above error.

Researching I found others who had similar issues and was suggested to try

sudo apt install default-jdk

Which went OK, but then

/YAAC $ java -version
Error occurred during initialization of VM
Server VM is only supported on ARMv7+ VFP



After a lot of fooling around, I figured out I was using an old RPi B+ with an ARM6 processor, which normally doesn't run Openjdk 11. However, I found this website with a version for older processors.



It seems to be really slow, but it is finally running.


--
73,
Michael WA7SKG

"Any day you do not learn one new thing is a wasted day."


 

开云体育

On 12/4/23 16:27, Michael WA7SKG wrote:
michael@trailer-pi:~/YAAC $ java -jar YAAC.jar
Error occurred during initialization of VM
Server VM is only supported on ARMv7+ VFP

I must have goofed somewhere, not sure where.

What does "uname -m" return, compared to what's boldened above?


 

As mentioned in the original post.

pi:~ $ uname -m
armv6l


Michael


Rusty Travis wrote on 12/4/23 4:35 PM:

On 12/4/23 16:27, Michael WA7SKG wrote:
michael@trailer-pi:~/YAAC $ java -jar YAAC.jar
Error occurred during initialization of VM
Server VM is only supported on *_ARMv7+_* VFP

I must have goofed somewhere, not sure where.
What does "uname -m" return, compared to what's *_boldened_* above?
_._,_._,_


 

开云体育

So why do you expect results on armv6l,when it "clearly" states that armv7l is required? I'll agree that the case insensitivity may cause confusion.

On 12/4/23 17:34, Michael WA7SKG wrote:

As mentioned in the original post.

pi:~ $ uname -m
armv6l


Michael


Rusty Travis wrote on 12/4/23 4:35 PM:
On 12/4/23 16:27, Michael WA7SKG wrote:
michael@trailer-pi:~/YAAC $ java -jar YAAC.jar
Error occurred during initialization of VM
Server VM is only supported on *_ARMv7+_* VFP

I must have goofed somewhere, not sure where.

What does "uname -m" return, compared to what's *_boldened_* above?

_._,_._,_







 

I was setting this up on an existing RPi system. At the time, when I started, I was unaware of specifically which model of RPi I was using. It was in a case that was difficult, and, at the time, deemed unnecessary to disassemble. I wanted to add APRS capability to this particular device. Honestly, I was unaware there were different processors. It was an educational experience. As I proceeded, I learned of the ARM6/ARM7 issue (full disclosure, I honestly did not initially understand what ARM7 meant), I learned of the Openjdk8 vs Openjdk11 issues. I discovered a version on Openjdk11 that would run on an ARM6 processor.

For some, apparently misguided, reason, I believed sharing my experience might be found useful or at least interesting to some users of this forum. It was a journey that, eventually resulted in arriving at the goal.

My apologies if you found this somehow distressing and ask forgiveness that this old man with rapidly slipping memory has not achieved your apparent higher level of enlightenment.

I guess this is not the correct venue for sharing experiences.

Michael WA7SKG



Rusty Travis wrote on 12/4/23 7:55 PM:

So why do you expect results on armv6l,when it "clearly" states that armv7l is required? I'll agree that the case insensitivity may cause confusion.
On 12/4/23 17:34, Michael WA7SKG wrote:
As mentioned in the original post.

pi:~ $ uname -m
armv6l


Michael


Rusty Travis wrote on 12/4/23 4:35 PM:
On 12/4/23 16:27, Michael WA7SKG wrote:
michael@trailer-pi:~/YAAC $ java -jar YAAC.jar
Error occurred during initialization of VM
Server VM is only supported on *_ARMv7+_* VFP

I must have goofed somewhere, not sure where.
What does "uname -m" return, compared to what's *_boldened_* above?


 

Michael.

Your experience and findings are indeed valuable.? I suspect many will, if not have already, hit that issue, and many will just give up.

I for one appreciate you documenting your struggle.

73.

Dave G8KBV.

--
Sent from a MicroSoft free zone:


 

开云体育

Error messages can sometimes be rather arcane, but they are always indicative of the problem.

On 12/4/23 21:20, Michael WA7SKG wrote:

...
My apologies if you found this somehow distressing and ask forgiveness that this old man with rapidly slipping memory has not achieved your apparent higher level of enlightenment.


 

开云体育

On 12/5/23 06:50, Dave_G0WBX via groups.io wrote:
Michael.

Your experience and findings are indeed valuable.? I suspect many will, if not have already, hit that issue, and many will just give up.

I for one appreciate you documenting your struggle.

Works fine on an RPi 3B+ with Debian 12 here:

$ uname -m
armv7l

$ wget
--2023-12-05 12:26:31--?
Resolving ()... 71.162.157.26
Connecting to ()|71.162.157.26|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22957539 (22M) [application/zip]
Saving to: ‘YAAC.zip’
YAAC.zip???????????????????? 100%[=============================================>]? 21.89M? 1.31MB/s??? in 16s??? ?
2023-12-05 12:26:48 (1.37 MB/s) - ‘YAAC.zip’ saved [22957539/22957539]

$ mkdir YAAC && cd YAAC && unzip ../YAAC.zip
...
? inflating: YAAC.jar?????????????? ?
? inflating: YAACMain.jar?????????? ?
? inflating: upgrade.jar??????????? ?
? inflating: cleaner.jar??????????? ?

$ which java
/usr/bin/java

$ java --version
openjdk 11.0.18 2023-01-17
OpenJDK Runtime Environment (build 11.0.18+10-post-Raspbian-1deb11u1)
OpenJDK Server VM (build 11.0.18+10-post-Raspbian-1deb11u1, mixed mode)

$ java -jar YAAC.jar
Tue Dec 05 12:34:31 PST 2023: YAACBootstrap starting...
os.name=Linux
os.version=6.1.21-v7+
os.arch=arm
locale=en_GB
java.version=11.0.18
java.class.version=55.0
JVM: Raspbian OpenJDK Server VM 11.0.18+10-post-Raspbian-1deb11u1
java.class.path=YAAC.jar
Tue Dec 05 12:34:32 PST 2023: YAACBootstrap finding installation directory....
JSSC found at /usr/share/java/jssc-2.8.0.jar
Tue Dec 05 12:34:32 PST 2023: starting YAAC....
...


 

Compiled perfectly here also on Raspberry Pi 3B+
running Bookworm 64:

uname -m
aarch64

Jerry

On Tue, Dec 5, 2023 at 5:40?PM Rusty Travis <rusytravis19@...> wrote:
On 12/5/23 06:50, Dave_G0WBX via wrote:
Michael.

Your experience and findings are indeed valuable.? I suspect many will, if not have already, hit that issue, and many will just give up.

I for one appreciate you documenting your struggle.

Works fine on an RPi 3B+ with Debian 12 here:

$ uname -m
armv7l

$ wget
--2023-12-05 12:26:31--?
Resolving ()... 71.162.157.26
Connecting to ()|71.162.157.26|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22957539 (22M) [application/zip]
Saving to: ‘YAAC.zip’
YAAC.zip???????????????????? 100%[=============================================>]? 21.89M? 1.31MB/s??? in 16s??? ?
2023-12-05 12:26:48 (1.37 MB/s) - ‘YAAC.zip’ saved [22957539/22957539]

$ mkdir YAAC && cd YAAC && unzip ../YAAC.zip
...
? inflating: YAAC.jar?????????????? ?
? inflating: YAACMain.jar?????????? ?
? inflating: upgrade.jar??????????? ?
? inflating: cleaner.jar??????????? ?

$ which java
/usr/bin/java

$ java --version
openjdk 11.0.18 2023-01-17
OpenJDK Runtime Environment (build 11.0.18+10-post-Raspbian-1deb11u1)
OpenJDK Server VM (build 11.0.18+10-post-Raspbian-1deb11u1, mixed mode)

$ java -jar YAAC.jar
Tue Dec 05 12:34:31 PST 2023: YAACBootstrap starting...
=Linux
os.version=6.1.21-v7+
os.arch=arm
locale=en_GB
java.version=11.0.18
java.class.version=55.0
JVM: Raspbian OpenJDK Server VM 11.0.18+10-post-Raspbian-1deb11u1
java.class.path=YAAC.jar
Tue Dec 05 12:34:32 PST 2023: YAACBootstrap finding installation directory....
JSSC found at /usr/share/java/jssc-2.8.0.jar
Tue Dec 05 12:34:32 PST 2023: starting YAAC....
...


 

And you notice both of you said "Raspberry Pi 3B+", not "Pi 1A" or "Pi Zero". That was an annoying "feature" that the Raspberry Pi Foundation (or whoever manages the Raspbian distro) built the newer Java runtimes to only work on the larger CPU architectures and didn't tell anybody they were going to make that limitation.

I wonder how many other packages in the Raspbian distro have that "feature".

Andrew, KA2DDO
author of YAAC

________________________________________
From: [email protected] <[email protected]> on behalf of Jerry Rector - K4OAM <kb4oam@...>
Sent: Tuesday, December 5, 2023 4:14 PM
To: [email protected]
Subject: Re: [yaac-users] YAAC won't run on RPi

Compiled perfectly here also on Raspberry Pi 3B+
running Bookworm 64:

uname -m
aarch64

Jerry

On Tue, Dec 5, 2023 at 5:40?PM Rusty Travis <rusytravis19@...<mailto:rusytravis19@...>> wrote:
On 12/5/23 06:50, Dave_G0WBX via groups.io<> wrote:
Michael.

Your experience and findings are indeed valuable. I suspect many will, if not have already, hit that issue, and many will just give up.

I for one appreciate you documenting your struggle.

Works fine on an RPi 3B+ with Debian 12 here:

$ uname -m
armv7l

$ wget
--2023-12-05 12:26:31--
Resolving www.ka2ddo.org<> (www.ka2ddo.org<>)... 71.162.157.26
Connecting to www.ka2ddo.org<> (www.ka2ddo.org<>)|71.162.157.26|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22957539 (22M) [application/zip]
Saving to: ‘YAAC.zip’
YAAC.zip 100%[=============================================>] 21.89M 1.31MB/s in 16s
2023-12-05 12:26:48 (1.37 MB/s) - ‘YAAC.zip’ saved [22957539/22957539]

$ mkdir YAAC && cd YAAC && unzip ../YAAC.zip
...
inflating: YAAC.jar
inflating: YAACMain.jar
inflating: upgrade.jar
inflating: cleaner.jar

$ which java
/usr/bin/java

$ java --version
openjdk 11.0.18 2023-01-17
OpenJDK Runtime Environment (build 11.0.18+10-post-Raspbian-1deb11u1)
OpenJDK Server VM (build 11.0.18+10-post-Raspbian-1deb11u1, mixed mode)

$ java -jar YAAC.jar
Tue Dec 05 12:34:31 PST 2023: YAACBootstrap starting...
os.name<>=Linux
os.version=6.1.21-v7+
os.arch=arm
locale=en_GB
java.version=11.0.18
java.class.version=55.0
JVM: Raspbian OpenJDK Server VM 11.0.18+10-post-Raspbian-1deb11u1
java.class.path=YAAC.jar
Tue Dec 05 12:34:32 PST 2023: YAACBootstrap finding installation directory....
JSSC found at /usr/share/java/jssc-2.8.0.jar
Tue Dec 05 12:34:32 PST 2023: starting YAAC....
...


 

Rusty,

Thank you for the wget commend to load YAAC from the Raspberry pi command line.?

Tim
KM4ESU