JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 01.05.2021, 05:07
PB_50 PB_50 is offline
Super Loader
 
Join Date: Sep 2020
Posts: 27
Default Java version

IDK if this is where i need to post this but i am using surface pro X ARM64 windows.


is there anyway i could make jdownloader use the openjdk version thats made for arm64? it would make my jdownloader run smooth?
Reply With Quote
  #2  
Old 01.05.2021, 11:34
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 71,503
Default

Please check JDK 16 EA from Microsoft
microsoft.com/openjdk (scroll down to OpenJDK 16 EA for AArch64 / ARM64)
and then either try start JDownloader.jar directly (double click) or via cmd.exe
and java -jar JDownloader.jar
It would be great if you could provide a log,see https://support.jdownloader.org/Know...d-session-logs and post shown logID here. Then I could continue proper Windows on ARM support (correct detection...) and maybe you could help with creating native extraction library. Then no emulation would be required at all

Unfortunatelly we don't have access to Windows on ARM, so we need community for work on this
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 02.05.2021, 08:38
PB_50 PB_50 is offline
Super Loader
 
Join Date: Sep 2020
Posts: 27
Default

Quote:
Originally Posted by Jiaz View Post
Please check JDK 16 EA from Microsoft
microsoft.com/openjdk (scroll down to OpenJDK 16 EA for AArch64 / ARM64)
and then either try start JDownloader.jar directly (double click) or via cmd.exe
and java -jar JDownloader.jar
It would be great if you could provide a log,see **External links are only visible to Support Staff**... and post shown logID here. Then I could continue proper Windows on ARM support (correct detection...) and maybe you could help with creating native extraction library. Then no emulation would be required at all

Unfortunatelly we don't have access to Windows on ARM, so we need community for work on this
that would be amazing.... i can use either version because of emulation but i cant explain the difference it makes running a native arm64 build compared to emulation..... complete night and day... the native arm64 on this is sooooo snappy and quick just smooth as silk compared to emulation


X64 on a fresh install
02.05.21 01.14.51 <--> 02.05.21 01.16.47 jdlog://0441825302851/

X64 after updating
02.05.21 01.20.44 <--> 02.05.21 01.21.49 jdlog://1441825302851/


X86 fresh install
02.05.21 01.31.36 <--> 02.05.21 01.33.15 jdlog://4441825302851/

and second boot on X86
02.05.21 01.34.20 <--> 02.05.21 01.35.21 jdlog://5441825302851/



Let me know if there is anything i can do to help i would love to see a native build!
Reply With Quote
  #4  
Old 02.05.2021, 10:51
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 71,503
Default

Thanks for the logs! Yes, native Java will be MUCH MUCH faster than emulated 32bit Java!
We now need a way to compile the extraction library for Windows on ARM natively, see
github.com/borisbrodski/sevenzipjbinding
then extraction will also be supported
Either via native compilation or via supported cross compiler.
I will try to get Windows on ARM running on a Pi4
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 02.05.2021, 10:52
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 71,503
Default

Quote:
Originally Posted by PB_50 View Post

Let me know if there is anything i can do to help i would love to see a native build!
You already have JDownloader running native when using Java for ARM version Only the extraction library is missing for "proper" support
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 02.05.2021, 11:18
PB_50 PB_50 is offline
Super Loader
 
Join Date: Sep 2020
Posts: 27
Default

what is that? also i cant use the launchers? i tried to edit the pref_jre.cfg to the openjdk but nothing happens still loadin the old one. so i erased it (original folder) and it does nothing opens and closes right away even when i substituted the jre files

Last edited by PB_50; 02.05.2021 at 11:22.
Reply With Quote
  #7  
Old 02.05.2021, 11:19
PB_50 PB_50 is offline
Super Loader
 
Join Date: Sep 2020
Posts: 27
Default

when i use the x86 install it says error point to a 32bit ver so i installed x64 and now nothing happens when i load the launcher
Reply With Quote
  #8  
Old 03.05.2021, 09:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 71,503
Default

I'm sorry but you cannot use a X86 Launcher(exe) to start JDownloader with ARM64 Java. You cannot mix different *system* when they are used as library(dll). For the moment you will have to start JDownloader.jar directly with Java for ARM because Install4J(software we use for installer/launcher) doesn't yet support Windows on ARM and I could not find any other launcher project that does.
Just delete the Launcher(exe) and start JDownloader.jar directly. You can easily use a shortcut for it.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 03.05.2021, 09:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 71,503
Default

Quote:
Originally Posted by PB_50 View Post
when i use the x86 install it says error point to a 32bit ver so i installed x64 and now nothing happens when i load the launcher
At the moment Windows on ARM does only support 32bit emulation, 64bit is announced to be supported at later time
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 03.05.2021, 09:57
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 71,503
Default

Quote:
Originally Posted by PB_50 View Post
what is that?
what do you mean? the github link I gave you? That's the used library for extraction. This one must also be compiled for Windows on ARM to support extraction. You either have to run JDownloader in 32bit emulation mode or use Java for ARM but then also the extraction library must be compiled to support this setup
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 06:02.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.