Skip to content

Tablet does not work on the SELinux enabled Ubuntu 25.04 #18

@christian-heusel

Description

@christian-heusel

Hello, I was trying to install tablet on a regular install of Ubuntu 25.04 earlier today but failed as followed:

$ bash tablet_linux_x64_1_21_02_08.sh
Unpacking JRE ...
Starting Installer ...
libjvm.so preloadLibrary(/home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5974.dir/jre/lib/compressedrefs/libj9vm29.so): /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5974.dir/jre/lib/compressedrefs/libj9vm29.so: cannot enable executable stack as shared object requires: Invalid argument
libjvm.so failed to load: j9vm29

a more verbose debugging output is the following:

$ bash -x tablet_linux_x64_1_21_02_08.sh
+ INSTALL4J_JAVA_PREFIX=
+ GREP_OPTIONS=
+ TAR_OPTIONS=--no-same-owner
+ export TAR_OPTIONS
++ pwd
+ old_pwd=/home/ubuntu/Downloads
++ basename tablet_linux_x64_1_21_02_08.sh
+ progname=tablet_linux_x64_1_21_02_08.sh
++ dirname tablet_linux_x64_1_21_02_08.sh
+ linkdir=.
+ cd .
+ prg=tablet_linux_x64_1_21_02_08.sh
+ '[' -h tablet_linux_x64_1_21_02_08.sh ']'
++ dirname tablet_linux_x64_1_21_02_08.sh
+ prg_dir=.
++ basename tablet_linux_x64_1_21_02_08.sh
+ progname=tablet_linux_x64_1_21_02_08.sh
+ cd .
++ pwd
+ prg_dir=/home/ubuntu/Downloads
+ app_home=.
+ cd .
++ pwd
+ app_home=/home/ubuntu/Downloads
+ bundled_jre_home=/home/ubuntu/Downloads/jre
+ '[' __i4j_lang_restart = '' ']'
+ cd /home/ubuntu/Downloads/.
++ command -v gunzip
+ gunzip_path=/usr/bin/gunzip
+ '[' 0 -ne 0 ']'
+ '[' W/usr/bin/gunzip = W ']'
+ '[' W/usr/bin/gunzip = W ']'
+ '[' -d '' ']'
+ '[' __i4j_extract_and_exit = '' ']'
+ sfx_dir_name=tablet_linux_x64_1_21_02_08.sh.5926.dir
+ mkdir tablet_linux_x64_1_21_02_08.sh.5926.dir
+ '[' '!' -d tablet_linux_x64_1_21_02_08.sh.5926.dir ']'
+ cd tablet_linux_x64_1_21_02_08.sh.5926.dir
+ '[' 0 -ne 0 ']'
++ pwd
+ sfx_dir_name=/home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir
+ '[' W/home/ubuntu/Downloads = W/home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir ']'
+ trap 'cd "$old_pwd"; rm -R -f "$sfx_dir_name"; exit 1' HUP INT QUIT TERM
+ tail -c 52484343 /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh
+ '[' 0 -ne 0 ']'
+ gunzip sfx_archive.tar.gz
+ '[' 0 -ne 0 ']'
+ tar xf sfx_archive.tar
+ '[' 0 -ne 0 ']'
+ '[' __i4j_extract_and_exit = '' ']'
+ db_home=/home/ubuntu
+ db_file_suffix=
+ '[' '!' -w /home/ubuntu ']'
+ db_file=/home/ubuntu/.install4j
+ '[' -d /home/ubuntu/.install4j ']'
+ '[' -f /home/ubuntu/.install4j ']'
+ '[' -f /home/ubuntu/.install4j ']'
+ '[' -f /home/ubuntu/.install4j ']'
+ '[' '!' __i4j_lang_restart = '' ']'
+ '[' -f /home/ubuntu/Downloads/jre.tar.gz ']'
+ '[' -f jre.tar.gz ']'
+ echo 'Unpacking JRE ...'
Unpacking JRE ...
+ gunzip jre.tar.gz
+ mkdir jre
+ cd jre
+ tar xf ../jre.tar
++ pwd
+ app_java_home=/home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre
+ bundled_jre_home=/home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre
+ cd ..
+ run_unpack200 /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre
+ '[' -d /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre/lib ']'
++ pwd
+ old_pwd200=/home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir
+ cd /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre
+ for pack_file in lib/*.jar.pack
+ unpack_file 'lib/*.jar.pack'
+ '[' -f 'lib/*.jar.pack' ']'
+ for pack_file in lib/ext/*.jar.pack
+ unpack_file 'lib/ext/*.jar.pack'
+ '[' -f 'lib/ext/*.jar.pack' ']'
+ cd /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir
+ run_unpack200 /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre/jre
+ '[' -d /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre/jre/lib ']'
+ search_jre
+ '[' -z /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre ']'
+ '[' -z /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre ']'
+ '[' -z /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre ']'
+ '[' -z /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre ']'
+ '[' -z /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre ']'
+ '[' -z /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre ']'
+ '[' -z /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre ']'
+ '[' -z /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre ']'
+ '[' -z /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre ']'
+ '[' -z /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre ']'
+ packed_files='*.jar.pack user/*.jar.pack user/*.zip.pack'
+ for packed_file in $packed_files
++ expr '*.jar.pack' : '\(.*\)\.pack$'
+ unpacked_file='*.jar'
+ /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre/bin/unpack200 -q -r '*.jar.pack' '*.jar'
+ for packed_file in $packed_files
++ expr 'user/*.jar.pack' : '\(.*\)\.pack$'
+ unpacked_file='user/*.jar'
+ /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre/bin/unpack200 -q -r 'user/*.jar.pack' 'user/*.jar'
+ for packed_file in $packed_files
++ expr 'user/*.zip.pack' : '\(.*\)\.pack$'
+ unpacked_file='user/*.zip'
+ /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre/bin/unpack200 -q -r 'user/*.zip.pack' 'user/*.zip'
+ local_classpath=
+ i4j_classpath=i4jruntime.jar:launcher0.jar
+ add_class_path i4jruntime.jar:launcher0.jar
+ '[' -n i4jruntime.jar:launcher0.jar ']'
++ expr i4jruntime.jar:launcher0.jar : '.*\*'
+ '[' 0 -eq 0 ']'
+ local_classpath=i4jruntime.jar:launcher0.jar
+ LD_LIBRARY_PATH=/home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/user:
+ DYLD_LIBRARY_PATH=/home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/user:
+ SHLIB_PATH=/home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/user:
+ LIBPATH=/home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/user:
+ LD_LIBRARYN32_PATH=/home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/user:
+ LD_LIBRARYN64_PATH=/home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/user:
+ export LD_LIBRARY_PATH
+ export DYLD_LIBRARY_PATH
+ export SHLIB_PATH
+ export LIBPATH
+ export LD_LIBRARYN32_PATH
+ export LD_LIBRARYN64_PATH
+ has_space_options=false
+ '[' W = W ']'
+ vmov_1=-Di4jv=0
+ '[' W = W ']'
+ vmov_2=-Di4jv=0
+ '[' W = W ']'
+ vmov_3=-Di4jv=0
+ '[' W = W ']'
+ vmov_4=-Di4jv=0
+ '[' W = W ']'
+ vmov_5=-Di4jv=0
+ echo 'Starting Installer ...'
Starting Installer ...
+ return_code=0
+ umask 0022
+ '[' false = true ']'
+ /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre/bin/java -Dexe4j.moduleName=/home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh -Dexe4j.totalDataLength=60073337 -Dinstall4j.cwd=/home/ubuntu/Downloads -Dsun.java2d.noddraw=true -classpath i4jruntime.jar:launcher0.jar install4j.Installer2709999874
libjvm.so preloadLibrary(/home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre/lib/compressedrefs/libj9vm29.so): /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir/jre/lib/compressedrefs/libj9vm29.so: cannot enable executable stack as shared object requires: Invalid argument
libjvm.so failed to load: j9vm29
+ return_code=255
+ returnCode=255
+ cd /home/ubuntu/Downloads
+ '[' '!' 'W ' = 'W yes' ']'
+ rm -R -f /home/ubuntu/Downloads/tablet_linux_x64_1_21_02_08.sh.5926.dir
+ exit 255

In the end we resorted to the windows version (this was only a university exercise) but as Ubuntu is quite common I thought this is something that you might want to fix 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions