SageTV Community  

Go Back   SageTV Community > General Discussion > General Discussion
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

General Discussion General discussion about SageTV and related companies, products, and technologies.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-11-2006, 09:07 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Java 6.0 is released

Java 6.0 is now released. It is not yet on www.java.com, but is up on the Sun java site (select Java Runtime Environment (JRE) 6)

I am downloading it at the moment so have not yet tried it, but I do know that there is 1 major bug solved (the VMR9 handle leak in Sage), and 1 bug introduced ([the Sage Window class is no longer set to 'Sage.SpecialWindow -- which may break some Girder scripts and does break my ATI RW plugin).

If you are using an XMLTV plugin that requires XERCES.jar, then my XML show info generator (and webserver xml out, and rss feed generators) will also be broken (java 6's XML writing is not compaible with the ancient XERCES.jar that these plugins require))

It would be nice if someone from Sage would let us know whether they fully support Sage under JRE 6.0, or whether it is an 'at your own risk' thing
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 12-11-2006 at 02:20 PM.
Reply With Quote
  #2  
Old 12-11-2006, 10:04 AM
Motofreak75 Motofreak75 is offline
Sage Expert
 
Join Date: Oct 2005
Posts: 578
Send a message via ICQ to Motofreak75
this java version also breaks your XmlGenerator (you win some and you lose some)

I get this in the sagetv_0

Code:
RecordingXmlGenerator: Unable to write xml for file: MediaFile[id=2281541 A[2085067,2085065,"Dr. Seuss' How Grinch Stole... ",45120@1210.00:00,120] host=media-server encodedBy=DVB_S on 127.0.0.1:6969 DVD Standard Play format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97003 fps 544x480 4:3 interlaced]#1 Audio[MP2 48000 Hz 2 channels 160 kbps MAIN idx=1 id=c0]] D:\VIDEOS\DrSeussHowGrinchStole-2085067-0.mpg, Seg0[Sun 12/10 0:00:04.063-Sun 12/10 2:00:03.996]] -- exception:java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z
And it creates a DrSeussHowGrinchStole-2085067-0.mpg.xmltmp without going any further.

Going back to 1.42.11 for me
__________________
12.04 server Sagetv7
HD-pvr / 2250 /PVR 500 / DVBS w/rotor & 36 inch dish
Reply With Quote
  #3  
Old 12-11-2006, 11:55 AM
emok emok is offline
Sage Advanced User
 
Join Date: Jan 2006
Location: San Francisco Bay Area
Posts: 189
FYI:

In november, an updated to Java 5 was released 1.5.0_10 that is supposed to fix the handle leak problem. From the release notes:

6399321 hotspot jni Event Handle Leak while using JNI

http://java.sun.com/javase/downloads/index_jdk5.jsp

I installed it last night. Haven't had much time to play with it.
Reply With Quote
  #4  
Old 12-11-2006, 12:28 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by Motofreak75
this java version also breaks your XmlGenerator
I've been using XmlGenerator with the Java 1.6 RCs for some time without issues. Haven't tried the release yet, but it seems odd for this to suddenly break between RC and release.

From your error log it looks like you might have a non-standard DOM implementation installed as part of an Apache setup, and that's what's breaking. But I'm really just guessing there since I don't have any hands-on experience with Apache.
__________________
-- Greg
Reply With Quote
  #5  
Old 12-11-2006, 12:59 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Motofreak75: are you (or were you at some time in the past) using an XMLTV importer? If so, do you have a xerces.jar file in the JARS or jre_x_x_x/lib/ext?

The Java 6 XML writing (which my webserver and XML generator) uses is not compatible with this old version of xerces.jar... I would say remove xerces.jar, but this may break your XMLTV importer...

(edited above post)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #6  
Old 12-11-2006, 01:58 PM
Motofreak75 Motofreak75 is offline
Sage Expert
 
Join Date: Oct 2005
Posts: 578
Send a message via ICQ to Motofreak75
I'm still using Demideus importer because I have no choice, since Sage doesn't support my device with WDM drivers.... And so far I using the old java version work with everything Its been running for over a year now running smoothly/correction problem for the most part. just a little laggy with v6 and the UI.

Unless anyone can offer another xml importer, it looks like I'm SOL.
__________________
12.04 server Sagetv7
HD-pvr / 2250 /PVR 500 / DVBS w/rotor & 36 inch dish

Last edited by Motofreak75; 12-11-2006 at 02:01 PM.
Reply With Quote
  #7  
Old 12-11-2006, 04:38 PM
MattJackson86 MattJackson86 is offline
Sage User
 
Join Date: Nov 2006
Posts: 74
Java 6

As Java 6 has just been released as the final version, any advantages of going to it for sagetv?
__________________
Server: Athlon 64 X2 4200+, 2GB Memory, 2x750GB HDD (DVD Library), 1x500GB (Recordings), 1x500GB(Data), 1x80GB(OS), nVidia 7600GS, PVR-500, HDHomerun
Reply With Quote
  #8  
Old 12-11-2006, 04:44 PM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Hello,
Quote:
Originally Posted by Motofreak75
Unless anyone can offer another xml importer, it looks like I'm SOL.
See my signature for this : my Importer doesn't need the xerces parser.

Regards,
Stéphane.
Reply With Quote
  #9  
Old 12-11-2006, 05:00 PM
doc's Avatar
doc doc is offline
Sage Fanatic
 
Join Date: Jun 2006
Location: Leicester, England
Posts: 918
Quote:
Originally Posted by StephaneM
Hello,

See my signature for this : my Importer doesn't need the xerces parser.

Regards,
Stéphane.

The only plugins I use are the cerces.jar XML importer and Nielm's webserver, so it looks like I'll be testing your importer this weekend
Reply With Quote
  #10  
Old 12-11-2006, 05:46 PM
SHS's Avatar
SHS SHS is offline
Moderator
 
Join Date: Mar 2003
Location: Vinita, Oklahoma
Posts: 4,589
Quote:
1 bug introduced ([the Sage Window class is no longer set to 'Sage.SpecialWindow -- which may break some Girder scripts and does break my ATI RW plugin).
It need be change to SunAwtFrame
Reply With Quote
  #11  
Old 12-11-2006, 08:22 PM
dblaine2 dblaine2 is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 307
Looks like nielm is doing some coding.

I agree it would be nice to hear from Sage on the risk/benefits of going to Java 6.
Reply With Quote
  #12  
Old 12-12-2006, 01:45 PM
jominor's Avatar
jominor jominor is offline
Sage Expert
 
Join Date: Dec 2003
Posts: 573
Quote:
Originally Posted by dblaine2
Looks like nielm is doing some coding.

I agree it would be nice to hear from Sage on the risk/benefits of going to Java 6.
New Splash page?
Cross platform system tray support?
It is reputed to be faster.
Reply With Quote
  #13  
Old 12-13-2006, 03:10 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
It does feel faster, especially with the V6 RC improvements in the media library and photo support. There seem to be a lot fewer spinning Sage icons
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #14  
Old 12-13-2006, 08:29 AM
scm scm is offline
Sage Advanced User
 
Join Date: Aug 2005
Posts: 179
Good initial impression...

Quote:
Originally Posted by nielm
It does feel faster, especially with the V6 RC improvements in the media library and photo support. There seem to be a lot fewer spinning Sage icons
I agree. Things do appear faster. I need more time to play with it, though. (If this job of mine wouldn't keep getting in the way of me playing with Sage!! )

BTW, does Java affect the Sage service, or just the GUI? Is there a value to updating it on my server?
Reply With Quote
  #15  
Old 12-13-2006, 10:43 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by scm
BTW, does Java affect the Sage service
yes: the service is also written in Java (and especially if you use MVP's)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #16  
Old 12-13-2006, 12:53 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
SageTV still recommends Java v1.4.2. While there shouldn't be problems using the latest version of Java, it isn't going to be fully tested and supported for use with SageTV until later.

I suppose that qualifies as a "use at your own risk" type of situation.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #17  
Old 12-14-2006, 01:55 AM
reggie14 reggie14 is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Maryland
Posts: 2,760
I just want to say that my MVP is much, much, much more responsive with Java 1.6 versus 1.4.2. There's no more pressing a button and having to wait a full second until anything happens. I realize that is a known issue with 1.4.2 in certain circles around here, but everyone else should take note.
Reply With Quote
  #18  
Old 12-16-2006, 05:51 AM
doc's Avatar
doc doc is offline
Sage Fanatic
 
Join Date: Jun 2006
Location: Leicester, England
Posts: 918
Quote:
Originally Posted by reggie14
I just want to say that my MVP is much, much, much more responsive with Java 1.6 versus 1.4.2. There's no more pressing a button and having to wait a full second until anything happens. I realize that is a known issue with 1.4.2 in certain circles around here, but everyone else should take note.
I agree, its like I have a new toy

I've also moved from an old XMLTV importer to StephaneM's. It works fine on v6 as is a lot friendlier than the old one I was using. Being able to delete a source and add it back in again now is so easy, none of the old remapping channels that used to take an afternoon with a deskful of paper channel listings.

I'll give a donation after a few more days of successful importing so I can automate it fully. Its worth a donation for the saved time and hassle of adding back in the sources.
Reply With Quote
  #19  
Old 12-17-2006, 06:17 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Anybody tried Eclipse with Java 6. Ever since I upgraded to Java 6 (and Eclipse 3.2) I can't save anything anymore, I get an undefined method error.

Code:
java.lang.NoSuchMethodError: org.eclipse.core.internal.localstore.HistoryStore2.<init>(Lorg/eclipse/core/internal/resources/Workspace;Lorg/eclipse/core/runtime/IPath;I)V
	at org.eclipse.core.internal.resources.ResourcesCompatibility.createHistoryStore(ResourcesCompatibility.java:41)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.core.internal.resources.ResourcesCompatibilityHelper.createHistoryStore(ResourcesCompatibilityHelper.java:73)
...
Reply With Quote
  #20  
Old 12-17-2006, 06:22 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Just reporting, that Java 6 seems to be running great on my system. Seems much snappier than the previous beta was.
__________________
-Jason
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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 -6. The time now is 05:12 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.