Page 1 of 1

How to install JDownloader?

Posted: Tue Jul 11, 2023 12:15 pm
by MrAccident

F96-CE 4.
I installed jre-1.8u101-i586.pet. Rebooted. Downloaded JDownloader2Setup_unix_nojre.sh from here. In Permissions - clicked Yes on a+x (Make executable/searchable). When I click on JDownloader2Setup_unix_nojre.sh ― nothing happens; well, actually - a folder appears momentarily, with the same name as the file.


Re: How to install JDownloader?

Posted: Tue Jul 11, 2023 1:23 pm
by Trapster

First, make sure that jre installed correctly.
In a console:

Code: Select all

java -version

If everything looks good, open a console in the same directory where JDownloader2Setup_unix_nojre.sh is located and do:

Code: Select all

./JDownloader2Setup_unix_nojre.sh

The result should tell you what the issue(s) are.


Re: How to install JDownloader?

Posted: Wed Jul 12, 2023 4:39 pm
by MrAccident

@Trapster:

Code: Select all

# java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) Server VM (build 25.101-b13, mixed mode)
# 

Code: Select all

# ./JDownloader2Setup_unix_nojre.sh
Starting Installer ...
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
	at java.awt.Color.<clinit>(Color.java:275)
	at com.install4j.runtime.installer.frontend.GUIHelper.<clinit>(GUIHelper.java:46)
	at com.install4j.runtime.installer.helper.InstallerUtil.reportException(InstallerUtil.java:1327)
	at com.install4j.runtime.installer.Installer.main(Installer.java:48)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84)
	at com.install4j.runtime.launcher.UnixLauncher.start(UnixLauncher.java:69)
	at install4j.Installer378667612.main(Unknown Source)
#

Re: How to install JDownloader?

Posted: Wed Jul 12, 2023 8:58 pm
by mikewalsh

@MrAccident :-

Oh, for God's sake. No, no, no, no, NO. Hoo, boy. You DO live up to your name, don't you? :lol:

For a start, you've installed an ancient build of Java. 1.8.0_101 (aka 8u_101). We're currently at 1.8.0_371; this is getting on for 9 years old. Where on earth did you dredge that up from? And then - to compound the problem - you're using a 32-bit build in a 64-bit Puppy. As if that wasn't bad enough, you've downloaded completely the wrong build of JDownloader.....

Really & truly, it couldn't get much worse. And because you've attempted to use an installer shell script, this is going to be a frickin' nightmare to get off your system, so we can get you sorted out with the correct components. (I'm always willing to help folks out, but I find it hard to believe anyone can make that MANY mistakes all at the same time!)

O-kay. Right; for a start, use the PPM, and for Chrissakes uninstall that ancient build of JRE. It's a menace on your system, 'cos it's more full of security holes than a Swiss cheese by now.

I have a no-arch portable build of JDownloader, and an up-to-date 64-bit SFS of JRE available which should work for you. (Hopefully.....if we can get your system cleaned up, that is.)

------------------------------------------------

I think - for uninstalling the version of JDownloader you've gone and used - umm; okay. Go into /opt, and see if there's a directory called JDownloader in there. If there is, delete the directory. If it's not there, try and locate it with pFind.

Let us know if, as & when you manage to get that done, and we'll try and take it from there....

Mike. :|


Re: How to install JDownloader?

Posted: Wed Jul 12, 2023 10:21 pm
by pp4mnklinux

Hi:

I used a lot of time jDownloader, I thought it was a fantastic resource, I tested it, probe it, improve it.... but....

Nowadays I never gonna use it.- Can you tell us what is the reason you use jDownloader? What short of files do you want to download using it ??

I asked this to you because it is possible any of us can give to u a better software to use-

The net is the best... without doubts.-

Have a nice day.-


Re: How to install JDownloader?

Posted: Thu Jul 13, 2023 1:06 am
by Chelsea80

@ mikewalsh

If I had got myself in such a mucking fuddle and assuming the OS was on a USB then:

I would hive off all my personal stuff, re-format the USB then re-install the OS -

This way would ensure nothing was left behind rather than doing a very laborious, complicated, risky clean up, which has the possibility of not being 100% -

Starting afresh is sometimes a quicker way to resolve a completely messed up system -

Your thoughts -

Best regards

Chelsea80


DevuanPUP DAEDALUS

Posted: Thu Jul 13, 2023 5:03 am
by pp4mnklinux

Hi again:

Just in case u really need jDownloader so much.

You can install DevuanPup and install jDownloader package pet.

https://sourceforge.net/projects/devuan ... /Packages/

https://forum.puppylinux.com/viewtopic. ... 149#p93846

You can find more info at:

https://bit.ly/m/DEVUANPUP

Cheers


Re: How to install JDownloader?

Posted: Thu Jul 13, 2023 2:53 pm
by mikeslr

This just a follow up to Mikewalsh's post. It is good that you are attempting to explore Puppys: (a) to test their limits; (b) add to their arsenal of tools; and especially (c) get them to do exactly what you want them to do even if that isn't what anyone else would recommend. Puppys' flexibility is why we all love Puppys.

But there are limits even to Puppys' flexibility. Following the instructions of someone who has successfully accomplished some objective is one thing. Venturing into uncharted waters on your own is another. When you set out to do the latter ALWAYS, ALWAYS, ALWAYS take precautions so that if necessary you can easily extract yourself from what would otherwise be a bottomless pit.

Precaution 1: First back-up your SaveFile/Folder. An exploration may have required that dozens of files be installed and symlinks manually created. You won't always know that when you start out. Unscrambling eggs is difficult. Tossing the mess out and returning to your backed-up functional system is easy and takes almost no time.

Precaution 2: Run Puppys under Pupmode 13. That's the default when Puppys are on a USB-Key. When run from a hard-drive two steps are required: (1) Edit the boot-manager's kernel-or-linux line to include the argument pmedia=ataflash and NOT, if present, pmedia=atahd. (2) Make sure that Menu>System>Puppy Event Manager's Save Session Tab has these settings: Save Interval =0/zero and there's a check mark in the 'Ask at Shutdown box'. Restart to have those arguments take effect.

Under Pupmode 13 you can test the effects of the changes you make without preserving them to your SaveFile/Folder. Menu>Exit>Restart Graphical Server (AKA Restart-x) causes Puppys to re-catalog what currently constitutes its 'operating system in RAM'.

Use either or both. They will even make it easier to start your exploration again, now with knowledge of what not to do.


Re: How to install JDownloader?

Posted: Fri Jul 14, 2023 7:49 am
by MrAccident

@mikewalsh

Where on earth did you dredge that up from?

From here. There doesn't seem to be a coherent, updated, single place for Puppy's stuff. Not my fault :-). If someone wants to work something out ― PM me; I'm working on something. That is - if you want Puppy to ever become popular, not just for the technical people.
There's no JDownloader folder in /opt. And searching for "jdownloader" in pFind ― didn't find anything. Uninstalled JRE.
@pp4mnklinux

What short of files do you want to download using it ??

Mainly Videos and Images, sometimes Archives; either those from places where you're suppose to download them (but have to jump through many hoops etc; therefore - to download them without all these things), or simply for the convenience of a butch download.
I don't think there can be an Alternative per se ― because it's a whole community, and the specific... however it's called - ability to download, for specific websites ― have to be updated. But I'm interested in more tools. And why don't you use it anymore?
@Chelsea80 - you were probably referring to me. I do a tone to set the system right ― so it's never really a viable option for me - to reinstall the whole system.
@mikeslr - is it really that much big of a deal? I thought I'm just installing a program. Anyway - it's too complicated for me. Is there really a danger now, even though I uninstalled that version?


Re: How to install JDownloader?

Posted: Fri Jul 14, 2023 9:29 am
by pp4mnklinux

@MrAccident :

Hi, and good morning from Edinburgh:

I don't use jDownloader becaus I used it, mainly, years ago, dats when I was a WinShit user and I used emule and jdownloader to obtain all the paid programs ("not cracked, of course") as I can.

Today I use puppy, so I don't need them.

Have a nice day.


Re: How to install JDownloader?

Posted: Fri Jul 14, 2023 9:30 am
by mikewalsh

@MrAccident :-

Right, right. Okay.

The wiki hasn't been updated for several years, to the best of my knowledge. You weren't to know; not many are aware of this. But I will say this much; for software, of any flavour or type.....whether browsers, major apps or utilities - by far the best place AS a "starting-point" is always the

Additional Software Forum

Almost everything you can think of is either here, or linked-to FROM here. It has its own, clearly-defined Java section.....and includes my on-going thread for

Current JRE (Java Runtime Environment) SFS packages

Just for future reference, like. As t'other Mike says, it's great that you're trying out stuff for yourself which hasn't necessarily been covered by somebody else, but.....it obviously helps to use the best tools for the job!

Okay?

Mike. ;)


Re: How to install JDownloader?

Posted: Fri Jul 14, 2023 3:51 pm
by MrAccident

@mikewalsh:
OK, I'll go to Additional Software Forum; but for smaller programs - can be more difficult to find.
I've loaded jre-8u_371-amd64.sfs, rebooted, but it doesn't install. The Terminal:

Code: Select all

# java -version
bash: java: command not found
# 

and:

Code: Select all

# ./JDownloader2Setup_unix_nojre.sh
No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be at least 1.8 and at most 21.
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.
# 

Re: How to install JDownloader?

Posted: Fri Jul 14, 2023 4:14 pm
by fredx181
MrAccident wrote:

I've loaded jre-8u_371-amd64.sfs, rebooted, but it doesn't install. The Terminal

:
How you "loaded" ? "installing" can be done with sfs-load (just checking if you did the right thing).


Re: How to install JDownloader?

Posted: Fri Jul 14, 2023 9:17 pm
by mikewalsh

Strange. I've got the exact same package loaded. If I run

Code: Select all

java -version

.....in the terminal, I get this:-

Code: Select all

root# java -version
java version "1.8.0_371"
Java(TM) SE Runtime Environment (build 1.8.0_371-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.371-b11, mixed mode)
root#

So why aren't you getting the same thing, I wonder? I'll echo Fred; how exactly did you "load" the SFS?

Mike. :?


Re: How to install JDownloader?

Posted: Sat Jul 15, 2023 9:43 am
by MrAccident

@fredx181 - Menu > Setup > SFS-Load. And it's loaded now.


Re: How to install JDownloader?

Posted: Mon Jul 17, 2023 4:01 pm
by MrAccident

Is there another version of Java; not SFS?
The version in QuickPet, 8u251 - is too old right?
And which JDownloader installation file should I use, JAR? Cause the SH file - is what they offer when I click on the Linux download.


Re: How to install JDownloader?

Posted: Mon Jul 17, 2023 5:51 pm
by mikewalsh

@MrAccident :-

So.....what's wrong with the SFS? That, you can unload when you don't want it. Or are you one of these folks who likes everything to be a .pet?

-----------------------------------------------------

TBH, I forget how I DID build the 'portable' JDownloader now. I think I expanded it as normal, then used pFind to track all the components down. Turns out they were all self-contained within a single directory, so.....that was an easy one.

The 'portable' version on offer is about a year old, though that's immaterial. I had a brief look at the current build about a month ago, and.....nothing had changed, so I didn't see the point in re-building it.

The JDownloader-portable package can be found at my MediaFire a/c, here:-

https://www.mediafire.com/folder/77ronm ... Downloader

I ran the built-in updater before I zipped the tarball, so this IS the current build - released just 3 days ago.

  • Download it

  • Unzip it - UExtract is the best tool for the job

  • Inside the '.extracted' directory you'll find the portable itself. Move this to /mnt/home, or /initrd/mnt/dev_save, depending on what your Puppy calls it - this is where all the main Puppy SFS files live, but the important thing is that it's OUTSIDE the 'save'. Or, you could move it to a flash drive or other external drive, and run it from there

  • Click to enter

  • Click 'LAUNCH' to fire it up. It takes a few seconds, so be patient

If you decide to keep it, you can add a Menu entry by clicking on the 'MenuAdd' script that's provided (if you want one). And no; I am NOT going to re-pack this as a .pet!

Mike. ;)


Re: How to install JDownloader?

Posted: Wed Jul 19, 2023 7:25 am
by MrAccident

@mikewalsh:

So.....what's wrong with the SFS?

My system doesn't recognize the loaded Java SFS:

Code: Select all

# java
-version bash: java: command not found #

Will I be able to update your portable JD?


Re: How to install JDownloader?

Posted: Wed Jul 19, 2023 10:53 am
by mikewalsh
MrAccident wrote: Wed Jul 19, 2023 7:25 am

@mikewalsh:

So.....what's wrong with the SFS?

My system doesn't recognize the loaded Java SFS:

Code: Select all

# java
-version bash: java: command not found #

Will I be able to update your portable JD?

You should be able to. JDownloader has its own, built-in updater.....this is what I ran immediately before zipping the tarball, so that you had the latest version. It doesn't take long; maybe a couple of minutes in total.

Mike. ;)


Re: How to install JDownloader?

Posted: Wed Jul 19, 2023 6:44 pm
by MrAccident

It didn't work. Probably because Java isn't recognized by the system.

Code: Select all

# ./LAUNCH
./LAUNCH: line 7: java: command not found
#