If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : We have got a new blog where we post some interesting SWF internals info.
List of issues#652 2.1.4 startup script broken
Author: physicist
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: ffdec.shLineEndingsLinux
State: closed
> What steps will reproduce the problem?
Execute ffdec.sh under Ubuntu 12.04.5
> What is the expected output? What do you see instead?
Expect start of the program, instead it aborts with the following error message:
bash: ./ffdec.sh: /bin/sh^M: bad interpreter: No such file or directory
If I remove the shebang line:
./ffdec.sh: line 12: $'\r': command not found
./ffdec.sh: line 13: syntax error near unexpected token `$'{\r''
'/ffdec.sh: line 13: `check_java_version () {
> What version of the product are you using? On what operating system?
2.1.4 on Ubuntu 12.04.5
Linux vir 3.13.0-34-generic #60~precise1-Ubuntu SMP Wed Aug 13 15:55:33 UTC 2014 x86_64
x86_64 x86_64 GNU/Linux
LSB
Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core
-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
> Please provide any additional information below. Attach the file you have problem with
if neccessary. If you do not want to publish files YOU CAN CHANGE VISIBILITY TO PRIVATE
workaround: use the file from FFdec git repository:
https://raw.githubusercontent.com/jindrapetrik/jpexs-decompiler/master/resources/ffdec.sh
the length should be 2025 bytes. We will fix this when we find how to do it:)
Okay, I just fixed the file: your file uses Windows style line ends (CR+LF) but Unix/Linux
requires LF. Was the file edited under Windows or is an issue with the settings of your
version control system?
ffdec.sh (2 KiB)
it is an issue with the version control system settings (.gitattributes)
in github the file is correct (2025 bytes), but when i download it it will be 2105 bytes,
automatically modifeid. it was not edited on Windows
Fixed. Please try the latest nightly build.
State: new→upgraded
State: upgraded→closed