#1
|
|||
|
|||
Debian installer
Install4J supports creation of Debian installer (.deb). Could you please generate such an installer to facilitate installation on Linux?
|
#2
|
||||
|
||||
linux does have a installer with bash script. but deb package would make it more idiot proof or should I say user friendly =]
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
||||
|
||||
We don't have deb package at the moment and I don't think that a install4j deb variant would be good because the standalone installer is *standalone* while I think a deb package should make use the package system and make use of it to install/use java while the *standalone* installer comes with bundled java.
I would prefer to have a native deb package that tells to hava java installed and then just downloads the files from server and installs them to the right places and installs links to startmenu. Help on creating such a deb package is welcome but I really don't think that install4j is the right choice for it
__________________
JD-Dev & Server-Admin |
#4
|
|||
|
|||
First of all, make sure JD2 is compatible with latest OpenJDK11 which is default on latest OSes. When I tried to run with Java11, I got the following warning:
Quote:
Install4j automatically searches for system java versions. So maybe adding an option in the installer not to install the bundled java version would be a good start. Further, java version requirements should be relaxed (currently only 1.6 to 2.0). --- I don't know too much about java build systems nor how your source files need to be assembled together. General debian packaging is quite straight-forward though: 1. Put all source files in a folder jd2-0.1 (where 0.1 is the version) 2. Create upstream source package: tar czvf jd2-0.1.tar.gz jd2-0.1 3. Run debmake in jd2-0.1 to create a sample "debian" folder 4. Depending on your build system, follow the Javahelper **External links are only visible to Support Staff**guide (Ant, Maven, Gradle) and **External links are only visible to Support Staff**tutorial (no build system; scroll to the end for examples) 5. Build and package via "debuild -b --no-sign" --- Further, I think the (debian) installer should not download source files, but instead every update should just create a new version. Since hoster-plugins change very often, they should be packaged separately (single SOURCE, multiple PACKAGE in control: **External links are only visible to Support Staff****External links are only visible to Support Staff**). Last edited by darkdragon-001; 26.08.2019 at 22:39. |
#5
|
||||
|
||||
JDownloader is compatible with Java 1.6 up to Java 14. Those warnings are normal as some *workarounds*/*tricks* we make use of, no longer work/are compatible with newer Java versions.
__________________
JD-Dev & Server-Admin |
#6
|
||||
|
||||
I'm sorry but in case we provide a deb package, it will be very similiar to current installation process. It will contain the start/neccessary parts that are required for self update of JDownloader that finally installs the correct version for current OS/OS-bitness/CPU/CPU-bitness/evironment.
We won't have a 2nd deployment system in parallel use. Deb packages don't support incremental updates/background updates. JDownloader supports nearly 8 thousand different sites and heavily depends on an update system that supports those features. It's not feasible to have several thousand deb packages to reduce update traffic and packaging plugins into one big deb will require vast amounts of traffic
__________________
JD-Dev & Server-Admin |
#7
|
||||
|
||||
Quote:
Once we rebuild/work on installers, we will provide installers that bundle java and versions that make use of system java if available or download if required.
__________________
JD-Dev & Server-Admin |
#8
|
|||
|
|||
Quote:
--- If you tell me how your JDownloader.jar installer is built, I could help you with the package. |
#9
|
||||
|
||||
@darkdragon-001: I don't see why the *how* is important? JDownloader.jar is build via ant script
Feel free to contact me in chat (irc, freenode, #jdteam) or via support@jdownloader.org if you have questions/want to talk about this.
__________________
JD-Dev & Server-Admin |
#10
|
|||
|
|||
Source packages are preferred over binary packages. Therefor building the jar as part of the packaging process would be better. This also allows rebuilds for new distribution versions etc.
Is it possible to tell the jar that it should use a different working directory? Debian packages will install e.g. in /etc/share/jdownloader2 where root access is required. So updating needs root, while running the application should not be done as root! So telling the jar, to download/update files in the user's home folder ~/.jdownloader2 would be recommended. |
#11
|
||||
|
||||
Quote:
to the official release. Also there are non open source parts like key material. Quote:
JDownloader is supporting many different OS/CPU.. and we don't do special stuff for each combination. JDownloader works exactly the same on every OS/CPU.... Each user must have it's own installation
__________________
JD-Dev & Server-Admin |
#12
|
|||
|
|||
Quote:
If no working version of JDownloader can be built using the published source code, then your statements about an open source download manager are misleading! Quote:
Last edited by darkdragon-001; 30.08.2019 at 11:38. |
#13
|
||||
|
||||
Quote:
I agree and I really would prefer an updated Install4J installer for GUI users and maybe sort of installation/helper script for headless/server users.
__________________
JD-Dev & Server-Admin |
#14
|
||||
|
||||
That's not what I wrote. The non closed source parts are not required to build/run JDownloader.
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 30.08.2019 at 11:52. |
#15
|
|||
|
|||
Quote:
|
#16
|
||||
|
||||
Quote:
__________________
JD-Dev & Server-Admin |
#17
|
||||
|
||||
btw, feel free to join chat (irc, freenode, #jdteam) if oyu want to talk about this in live
__________________
JD-Dev & Server-Admin |
#18
|
|||
|
|||
I was thinking again about the debian installer: The only parts which change very often are the plugins/hosters, right? The base program doesn't change this often. So maybe it makes sense to separate this? The debian installer could install installes the program without the plugins, on every startup the plugins are downloaded/updated?
|
#19
|
||||
|
||||
it highly depends,
core changes can also be multiple times a day. Updates that require client restart == core. So you can tell when and how often this takes place. Plugin updates are silent, and do not require client restart.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#20
|
|||
|
|||
I guess a client would still work for several weeks/months/years with only plugin/hoster updates (since plugin API changes would require all plugins to change as well and thus probably don't happen very often). Thus splitting core updates and plugin updates would allow to distribute the core via debian package and the plugins on startup.
|
#21
|
||||
|
||||
Not quite the case. It highly depends on the plugin of course.
But update system does become blocked to pushing plugin updates due to core update dependencies. This then prevents all plugin updates being distributed, even though other plugins are not calling dependancy. tbh I don't believe Appwork is not going to change the way JD is delivered or packaged. basically nothing major has changed in jd2 for many years. I would not get your hopes up.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
|
|