AAVSO / VStar

VStar is a visualisation and analysis tool for variable star data brought to you by AAVSO
https://www.aavso.org/vstar
GNU Affero General Public License v3.0
9 stars 3 forks source link

Failure to run under Ubuntu 22.04 #387

Closed dbenn closed 5 months ago

dbenn commented 7 months ago

https://www.aavso.org/vstar-2230-release#comment-168610

dbenn commented 7 months ago

Java 19 is being used here, from Tom's message:

openjdk 19.0.2 2023-01-17
OpenJDK Runtime Environment (build 19.0.2+7-Ubuntu-0ubuntu322.04)
OpenJDK 64-Bit Server VM (build 19.0.2+7-Ubuntu-0ubuntu322.04, mixed mode, sharing)

Let's run tests under version 19 via Actions to see if anything breaks.

dbenn commented 7 months ago

Resolved as per https://www.aavso.org/comment/168649#comment-168649

dbenn commented 7 months ago

I'm going to re-open this even though the initial driver has been resolved. VStar unit tests pass with Java 19 but a user has not been able to run VStar with 19, so we should see if this can be repeated under Ubuntu with OpenJDK or any other combination.

mpyat2 commented 6 months ago

Hi @dbenn , I installed OpenJDK 19 on Ubuntu 20.04 (virtual machine):

max@max-Ubuntu-VirtualBox:~/vstar$ java -version
openjdk version "19.0.2" 2023-01-17
OpenJDK Runtime Environment (build 19.0.2+7-44)
OpenJDK 64-Bit Server VM (build 19.0.2+7-44, mixed mode, sharing)

I can run VStar successfully. Here is a VStar.sh output with set -x command:

max@max-Ubuntu-VirtualBox:~/vstar$ ./VStar.sh 
++ dirname ./VStar.sh
+ APP_DIR=.
++ uname -a
++ grep 64
+ VER='Linux max-Ubuntu-VirtualBox 5.15.0-91-generic #101~20.04.1-Ubuntu SMP Thu Nov 16 14:22:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux'
+ '[' 'Linux max-Ubuntu-VirtualBox 5.15.0-91-generic #101~20.04.1-Ubuntu SMP Thu Nov 16 14:22:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux' '!=' '' ']'
++ echo linux-gnu
++ grep darwin
+ '[' '' '!=' '' ']'
+++ head
+++ awk '/MemTotal:/{print $2}'
+++ cat /proc/meminfo
++ perl -e 'print int(6064232 / 1024/1024/2);'
+ HALF_MEM=2
+ '[' 2 == '' ']'
+ '[' 2 == 0 ']'
+ MAX_MEM=2g
+ java -splash:./extlib/vstaricon.png -Xms800m -Xmx2g -jar ./dist/vstar.jar
dbenn commented 5 months ago

Looks like this can be closed then.