JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 29.12.2011, 14:27
therock003
Guest
 
Posts: n/a
Default Update to latest JAVA?

I remember when some time ago, (like a couple months back i think) JDownloader served a prompter saying not to update to the latest JAVA cause a number of issues have been reported. I just want to know, has this thing passed, or is it still unsafe to update?

Last edited by Jiaz; 29.12.2011 at 15:00.
Reply With Quote
  #2  
Old 29.12.2011, 14:37
remi
Guest
 
Posts: n/a
Default

You could have updated as soon as you downloaded all the links in your Download queue. Are you still downloading those links?
Reply With Quote
  #3  
Old 29.12.2011, 14:45
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,243
Default

Yesterday I updated Java from 1.6.0_21 to version 1.7.0_02, there is no problem, my links still there.
Have backup just in case...
__________________
FAQ: How to upload a Log
Reply With Quote
  #4  
Old 29.12.2011, 15:00
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

finish all your downloads, then cleanup the downloadlist and then you can upgrade java.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 29.12.2011, 17:58
therock003
Guest
 
Posts: n/a
Default

I have indeed completed all of my download, but i still like to keep the links in order i need to re-download or know where the link came from in case i missed a password or something. Isnt there a way to back some file, and restore the list in case it disappears after i update?

In which file is the download list stored on?
Reply With Quote
  #6  
Old 29.12.2011, 18:29
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,243
Default

Database.script in config folder.
__________________
FAQ: How to upload a Log
Reply With Quote
  #7  
Old 29.12.2011, 21:31
therock003
Guest
 
Posts: n/a
Default

I updated and everything seems same as before, but it seems i have jdownloader run as a portable instllation, so possibly the java.exe isnt getting updated with newer installs of JAVA. I guess i should be fine either way right?
Reply With Quote
  #8  
Old 29.12.2011, 22:40
editestowy's Avatar
editestowy editestowy is offline
Polish Supporter
 
Join Date: May 2009
Location: PL
Posts: 3,029
Default

Java update is independent from jD.
To be sure you have expected Java version run from command line:
java -version
You'll see something like this:
c:\>java -version
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) Client VM (build 22.0-b10, mixed mode, sharing)
Note: Java 7 is not recommended for final users, it's for developers or testers. Oracle still reccomends latest Java 6 update: Version 6 Update 30

@Jiaz

I also noticed that after updating first to 6u30 and then 7u02 there were no problems with "missing" links. Maybe the problems was with specific user databases or Oracle improved backward compatibility...

Last edited by editestowy; 29.12.2011 at 22:43.
Reply With Quote
  #9  
Old 29.12.2011, 23:51
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

the problem ONLY exists if you update from <26 to >=26
once you are >=26, all is fine
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 29.12.2011, 23:56
editestowy's Avatar
editestowy editestowy is offline
Polish Supporter
 
Join Date: May 2009
Location: PL
Posts: 3,029
Default

But I was updating from 6u24
Reply With Quote
  #11  
Old 30.12.2011, 00:07
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

then you had luck
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 30.12.2011, 00:32
editestowy's Avatar
editestowy editestowy is offline
Polish Supporter
 
Join Date: May 2009
Location: PL
Posts: 3,029
Default

I guess so... on at least 2 machines.
Reply With Quote
  #13  
Old 30.12.2011, 01:39
therock003
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by editestowy View Post
Java update is independent from jD.
To be sure you have expected Java version run from command line:
java -version
You'll see something like this:
c:\>java -version
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) Client VM (build 22.0-b10, mixed mode, sharing)
Note: Java 7 is not recommended for final users, it's for developers or testers. Oracle still reccomends latest Java 6 update: Version 6 Update 30

@Jiaz

I also noticed that after updating first to 6u30 and then 7u02 there were no problems with "missing" links. Maybe the problems was with specific user databases or Oracle improved backward compatibility...
Since i got a portable version of jdownloader, i must have an independent version of java as well. As you can see from my secunia attachment.

BTW, on cmd i get this:
Quote:
'java' is not recognized as an internal or external command,
operable program or batch file.
Attached Thumbnails
secunia-java.jpg  
Reply With Quote
  #14  
Old 30.12.2011, 03:16
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,243
Default

How do you update Java without being recognized by system?
Upload the log so we can see what Java version is being used.

@Jiaz
It seems that:
the problem ONLY exists if you update from <26 to 26-29.
__________________
FAQ: How to upload a Log
Reply With Quote
  #15  
Old 30.12.2011, 05:32
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

'java' is not recognized as an internal or external command,
happens when installing 32bit java in 64bit windows
__________________
JD-Dev & Server-Admin
Reply With Quote
  #16  
Old 30.12.2011, 13:58
therock003
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by tony2long View Post
How do you update Java without being recognized by system?
Upload the log so we can see what Java version is being used.

@Jiaz
It seems that:
the problem ONLY exists if you update from <26 to 26-29.
How does that seem? It reads 1.6.30, is this the latest?

Code:
------------------------  Thread: 11  -----------------------
11 30/12/2011 1:54:08 μμ - INFO [java_downloader] -> Initialisation finished
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> awt.toolkit=sun.awt.windows.WToolkit
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> file.encoding=UTF-8
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> file.encoding.pkg=sun.io
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> file.separator=\
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.awt.printerjob=sun.awt.windows.WPrinterJob
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.class.path=C:\Users\Server\Portables\JDownloader\JDownloader.jar
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.class.version=50.0
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.endorsed.dirs=C:\Program Files (x86)\Java\jre6\lib\endorsed
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.ext.dirs=C:\Program Files (x86)\Java\jre6\lib\ext;C:\Windows\Sun\Java\lib\ext
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.home=C:\Program Files (x86)\Java\jre6
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.io.tmpdir=C:\Users\Server\AppData\Local\Temp\
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.library.path=C:\Program Files (x86)\Java\jre6\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\QuickTime Alternative\QTSystem;C:\Program Files (x86)\Java\jre6\bin;.
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.runtime.name=Java(TM) SE Runtime Environment
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.runtime.version=1.6.0_30-b12
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.specification.name=Java Platform API Specification
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.specification.vendor=Sun Microsystems Inc.
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.specification.version=1.6
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.vendor=Sun Microsystems Inc.
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.vendor.url=http://java.sun.com/
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.version=1.6.0_30
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.vm.info=mixed mode, sharing
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.vm.name=Java HotSpot(TM) Client VM
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.vm.specification.name=Java Virtual Machine Specification
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.vm.specification.vendor=Sun Microsystems Inc.
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.vm.specification.version=1.0
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.vm.vendor=Sun Microsystems Inc.
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> java.vm.version=20.5-b03
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> line.separator=

11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> os.arch=x86
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> os.name=Windows 7
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> os.version=6.1
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> path.separator=;
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> sun.arch.data.model=32
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> sun.boot.class.path=C:\Program Files (x86)\Java\jre6\lib\resources.jar;C:\Program Files (x86)\Java\jre6\lib\rt.jar;C:\Program Files (x86)\Java\jre6\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jre6\lib\jsse.jar;C:\Program Files (x86)\Java\jre6\lib\jce.jar;C:\Program Files (x86)\Java\jre6\lib\charsets.jar;C:\Program Files (x86)\Java\jre6\lib\modules\jdk.boot.jar;C:\Program Files (x86)\Java\jre6\classes
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> sun.boot.library.path=C:\Program Files (x86)\Java\jre6\bin
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> sun.cpu.endian=little
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> sun.cpu.isalist=
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> sun.desktop=windows
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> sun.io.unicode.encoding=UnicodeLittle
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> sun.java.command=C:\Users\Server\Portables\JDownloader\JDownloader.jar
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> sun.java.launcher=SUN_STANDARD
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> sun.java2d.d3d=false
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> sun.jnu.encoding=Cp1253
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> sun.management.compiler=HotSpot Client Compiler
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> sun.os.patch.level=
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> sun.swing.enableImprovedDragGesture=true
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> user.country=GR
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> user.dir=C:\Users\Server\Portables\JDownloader
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> user.home=C:\Users\Server
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> user.language=el
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> user.name=Server
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> user.timezone=Europe/Athens
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> user.variant=
11 30/12/2011 1:54:08 μμ - INFO [java_downloader] -> Revision: 9.581
11 30/12/2011 1:54:08 μμ - FINER [java_downloader] -> Runtype: 2
Quote:
Originally Posted by Jiaz View Post
'java' is not recognized as an internal or external command,
happens when installing 32bit java in 64bit windows
Does that mean i need to uninstall JAVA and reinstall it as 64bit?
Reply With Quote
  #17  
Old 30.12.2011, 14:16
remi
Guest
 
Posts: n/a
Default

If you can show a log like that, it means your jD/java combination is fine. Do you still have your links?
Reply With Quote
  #18  
Old 30.12.2011, 15:52
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,301
Default

simple answer is no, you can manually set/fix a path var, so you can trigger it by 'java' or you can manually type it in

"c:\path to java\java\jrex\bin\java.exe" -version
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #19  
Old 30.12.2011, 16:32
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,243
Default

1.6.0_30 is this the latest for 1.6, but 1.7.0_02 is the latest of all.
__________________
FAQ: How to upload a Log

Last edited by Jiaz; 01.01.2012 at 14:36. Reason: JD runs with 32 and 64bit jre ;)
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 04:37.
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 - 2019, Jelsoft Enterprises Ltd.