+ update 2020: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means we will NOT develop new features and/or fix most of bugs. We left the tracker running in case somebody from community would like to work on it. Sorry for the inconvenience.
State: new new: Initial state. As long as issue is in this state, the work on the issue has not yet begun. opened: Opened state means developer started working on the issue. Feature/Fix will probably be in the next release. postponed: This means developer is not working on it now, for some reason it cannot be implemented now. Issue may be opened again in the future. upgraded: Issue is in upgraded state when developer made changes to the program and new version was released. closed: This means the user is satisfied with issue results and no more changes are needed. invalid: These issues cannot be solved. ignored: Developer decided to take no action on this issue. returned: Program changes were made but user is not satisfied and returned the issue.
> What steps will reproduce the problem?
Running ffdec on Debian buster, with this java version:
$ java -version
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment (build 11.0.1+13-Debian-2)
OpenJDK 64-Bit Server VM (build 11.0.1+13-Debian-2, mixed mode, sharing)
> What is the expected output? What do you see instead?
I expect the program to start. Instead I see:
/usr/bin/ffdec: line 30: [: too many arguments
/usr/bin/ffdec: line 32: [: too many arguments
/usr/bin/ffdec: line 36: [: too many arguments
/usr/bin/ffdec: line 38: [: too many arguments
/usr/bin/ffdec: line 42: [: too many arguments
/usr/bin/ffdec: line 44: [: too many arguments
/usr/bin/ffdec: line 48: [: too many arguments
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
(file:/usr/share/java/ffdec/lib/ffdec_lib.jar) to field java.lang.reflect.Field.modifiers
WARNING: Please consider reporting this to the maintainers of
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access
WARNING: All illegal access operations will be denied in a future release
Nov 28, 2018 2:23:31 PM com.jpexs.decompiler.flash.gui.Main main
SEVERE: Failed to load plugins
java.lang.Error: Can not set static final
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
I can reproduce this problem on ffdec 11.1.0, 11.2.0, and 11.2.0 nightly 1710. That
definitely points to a java installation issue, but I'm not sure how to proceed. I had
ffdec working on this computer, and now it's giving me this error.
I have this exact issue in MX Linux 19 (based on Debian 10 Buster) and on Kubuntu 19.04, I
am not able to run JPEXS.
I tried both things mentioned in the previous posts without success. Is there a way to
provide a step-by-step guide in what I should do to get it working?
$ java -version
openjdk version "11.0.5" 2019-10-15
OpenJDK Runtime Environment (build 11.0.5+10-post-Debian-1deb10u1)
OpenJDK 64-Bit Server VM (build 11.0.5+10-post-Debian-1deb10u1, mixed mode)
Thank you for the feedback.
Ok I finally got it to work by installing openjdk-8-jdk and removing openjdk-11-jre.
Is there a way to keep both installed and having FFDec use openjdk-8-jdk only, instead of
any other version installed?
You can run FFDec with specific JDK by running java executable (with -jar option) in that
JDK directory on "ffdec.jar".
create file.sh with something like:
/openjdk8directory/bin/java -jar /pathtoffdec/ffdec.jar "%1"