Package Details: bytecode-viewer 2.12-1

Git Clone URL: https://aur.archlinux.org/bytecode-viewer.git (read-only, click to copy)
Package Base: bytecode-viewer
Description: A Java decompiler, editor, debugger, and more
Upstream URL: https://bytecodeviewer.com
Licenses: GPL3
Submitter: matthewprenger
Maintainer: severach
Last Packager: severach
Votes: 20
Popularity: 0.087261
First Submitted: 2016-05-11 04:47 (UTC)
Last Updated: 2024-02-04 05:29 (UTC)

Dependencies (2)

Required by (0)

Sources (4)

Latest Comments

proferk commented on 2024-12-05 08:23 (UTC) (edited on 2024-12-05 08:23 (UTC) by proferk)

Hi, could you modify the shell script to be POSIX compliant, i.e. not use "bashisms" so that it works on systems using Dash as /bin/sh?

E.g.:

#!/bin/sh

opts="
  -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
  -Dawt.useSystemAAFontSettings=on
  -Dswing.aatext=true
"

exec /usr/bin/java $opts -jar '/usr/share/java/bytecodeviewer/bytecodeviewer.jar' "$@"

robertfoster commented on 2021-07-24 10:23 (UTC) (edited on 2021-07-24 10:28 (UTC) by robertfoster)

To give a more natural look-n-feel you can also use these flags in the .sh launcher

-Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel \
     -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true

and this

StartupWMClass=the-bytecode-club-bytecodeviewer-BytecodeViewer

within the .desktop file to correctly map the program name to the window

zman0900 commented on 2020-03-19 01:12 (UTC)

Please add the line "MimeType=application/x-java" to the desktop file to allow opening .class files directly.