JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 18.03.2010, 02:03
TsunamiZ
Guest
 
Posts: n/a
Question Unable to properly pin JD to Windows 7 taskbar...

Unable to properly pin JD to Windows 7 taskbar. Is this fixed yet?

Last edited by Jiaz; 18.03.2010 at 10:28.
Reply With Quote
  #2  
Old 18.03.2010, 10:28
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,544
Default

its already possible
you just have to create a shortcut to Jdownloader.jar
and then replace command to
"C:\Program Files\Java.....\Java.exe" -Xmx512m -jar JDownloader.jar

and can change icon to use jd icon.

put that shortcut into taskbar and it works fine.

board search can also help you
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 18.03.2010, 15:19
TsunamiZ
Guest
 
Posts: n/a
Default

may i suggest that shortcut be premade and ready to use in the JD program folder? so that once we have JD, the shortcut is already there and ready for pinning. i would help new users a lot.
Reply With Quote
  #4  
Old 23.03.2010, 01:01
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,544
Default

a windows user must do this. ask coalado or other users
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 13.04.2010, 04:36
steve51184
Guest
 
Posts: n/a
Default

i did this but i get a java console as well when loading this can that be removed?

here's what i used:

Quote:
Target:
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xmx512m -jar JDownloader.jar

Start in:
C:\Apps\JDownloader
Reply With Quote
  #6  
Old 13.04.2010, 10:34
remi
Guest
 
Posts: n/a
Default

If you minimise that window, you don't see it.
Reply With Quote
  #7  
Old 13.04.2010, 10:40
steve51184
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by remi View Post
If you minimise that window, you don't see it.
but i don't want it lol

can't we just have proper windows 7 support?:angel:
Reply With Quote
  #8  
Old 01.09.2010, 14:39
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,544
Default

use javaw.exe not java.exe
then it works like wanted
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 01.09.2010, 17:53
Think3r's Avatar
Think3r Think3r is offline
Community Manager & Admin (inaktiv)
 
Join Date: Apr 2009
Posts: 3,703
Default

@steve: JD is multi-platform, this should answer your question.
Greetz
__________________
Bitte die Regeln lesen! | Please read the forum rules!

REGELN: Bugreports | RULES: Bugreports


Erste Schritte & Tutorials | Self Help Index | Read Me | JD 2 Beta - FAQ

Support Chat

Keep smiling, it's simple!
Reply With Quote
  #10  
Old 04.09.2010, 15:31
FGM
Guest
 
Posts: n/a
Default

Works like a charm! Thank You guys. I can only add that to fix the Win7 x64 display issues you have to change the compatibility setting for javaw.exe to WinXP SP3.
Reply With Quote
  #11  
Old 27.07.2013, 09:09
JPeterson
Guest
 
Posts: n/a
Default

# Pin JDownloader to Windows taskbar

## Reference

This problem is discussed in

* [JDownloader not stacking in Windows 7 taskbar](http://board.jdownloader.org/showthread.php?t=6648)
* [jDownloader on Win 7 taskbar - help please](http://board.jdownloader.org/showthread.php?t=11213)
* [Windows7 Integration](http://board.jdownloader.org/showthread.php?t=24457)


## Version

This apply to JDownloader 1 rather than 2 because

* JDownloader 2 use exe4j rather than launch4j
* because launchers that load jvm.dll (f.e. winrun4j and exe4j) require detection of the bit length (32 or 64) of the system's JVM (because a 64 bit Windows can run a 32 bit JVM, and a 64 bit .exe can't load a 32 bit jvm.dll and vice versa) the JDownloader 2 updater detect this


## Problem

Pinning JDownloader to taskbar with

a javaw shortcut

javaw -Dsun.java2d.d3d=false -jar "C:\document\program\JDownloader\JDownloader.jar"

or by pinning javaw launched by the launch4j launcher JDownloader.exe to taskbar

has the problem

* all javaw programs are grouped with the same taskbar icon
* this is a problem because different programs should have a different taskbar icon


## Solution

The java wrapper should run java in a thread rather than launch javaw and exit

This is supported in

* winrun4j: yes
* exe4j: yes
* launch4j: no

Use this command to create the winrun4j exe

# change to the jd directory
cd "$PROGRAMFILES/JDownloader"

# download winrun4j
wget -nc _**External links are only visible to Support Staff** unzip winrun4J-*.zip

# copy rcedit64 to PATH
cp winrun4J/rcedit64.exe /usr/local/bin

# copy WinRun4J64.exe
cp winrun4J/WinRun4J64.exe JDownloader_.exe

# save icon in exe
rcedit64 /i JDownloader_.exe jd/img/logo/icon.ico

Create JDownloader_.ini with this content

main.class=jd.Main
classpath.1=*.jar
arg.1=-Dsun.java2d.d3d=false


## Failed to find Java VM

If winrun4j display this [message](_**External links are only visible to Support Staff**
>Failed to find Java VM.

add the jvm.dll path to JDownloader_.ini, f.e.

vm.location=c:\file\program\java\jre\bin\server\jvm.dll


## JDownloader_.exe rather than JDownloader.exe

The exe is named JDownloader_.exe rather than JDownloader.exe because

if the exe is named JDownloader.exe JDownloader display this message

>1 update(s) available. Install now?

because the JDownloader.exe checksum is different

rhash -C --simple JDownloader.exe
864f317b JDownloader.exe
curl -s _http://update0.jdownloader.org/branches/last09/JDownloader.exe | rhash -C --simple -
2aa4318c (stdin)

Last edited by JPeterson; 07.08.2013 at 20:36.
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 19:27.
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 - 2024, Jelsoft Enterprises Ltd.