View Single Post
  #1  
Old 27.08.2018, 21:27
woswasi woswasi is offline
Linkgrabbing Monster
 
Join Date: Mar 2012
Posts: 87
Default Fedora 28: shell Installation fails

trying to install JD2 on Fedora 28 with cinnamon desktop (via terminal / shell)

downloaded JD2Setup.sh from your site via mega.nz, when running it the following error message appears:

JD2Setup_x86.sh: line 225: bin/unpack200: No such file or directory
Error unpacking jar files. The architecture or bitness (32/64)
of the bundled JVM might not match your machine.

line 225:

unpack_file() {
if [ -f "$1" ]; then
jar_file=`echo "$1" | awk '{ print substr($0,1,length-5) }'`
bin/unpack200 -r "$1" "$jar_file"


guess the last line should read:

$app_java_home/bin/unpack200

after adding this with nano (also tried vi), I get the following:

$ sh JD2Setup_x86.sh

gzip: sfx_archive.tar.gz: not in gzip format

I am sorry, but the installer file seems to be corrupted.
If you downloaded that file please try it again. If you
transfer that file with ftp please make sure that you are
using binary mode.

copied JD2 from an existing windows installation, ran

java -jar JDownloader.jar

after some downloading, updating and lots of console messages, I finally got:

oader.update.SelfUpdateClient(validateSelfTestFile) ] -> SelfTest Results:
OK
19|org.jdownloader.update.UpdateManager.log 27/08/18 21:16:37 - INFO [ org.jdownloader.update.SelfUpdateClient(validateSelfTestFile) ] -> OK
19|org.jdownloader.update.UpdateManager.log 27/08/18 21:16:37 - INFO [ org.jdownloader.update.SelfUpdateClient(validateSelfTestFile) ] -> Self Update successful
|---------------------------Headless Information-------------------------------
| Restart Required
| JDownloader Updated and restarted itself.
| The process restarted itself and runs now in the background: 3428@sheila64
| If you do not want JD to restart itself, use the -norestart switch.
|------------------------------------------------------------------------------


for some reason it assumes to be a headless server, but it is supposed to run with GUI on the desktop.

any help appreciated.

thnx
Reply With Quote