SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-21-2006, 10:35 PM
aperry's Avatar
aperry aperry is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 680
Version to Use for JAR File?

So, if I want to package some stuff up in a JAR file, what version of the JDK should I be using? Or does it really matter much?
Reply With Quote
  #2  
Old 03-21-2006, 10:39 PM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
I would compile with 1.4, since not everybody has 1.5 installed (unless you really need a language feature only present in 1.5 ...)

Dirk
Reply With Quote
  #3  
Old 03-21-2006, 10:48 PM
aperry's Avatar
aperry aperry is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 680
I don't think I've got anything in there that requires 1.5...

Thanks!
Reply With Quote
  #4  
Old 03-22-2006, 03:47 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
It is not just a question of featrues requiring JRE1.5 -- the java compiler embeds a JDK version number in the .class files: .class files compiled with 1.5 will not run on a 1.4 JDK.

If you are using Eclipse, you can set the JRE compatibility version somewhere, no matter what JRE/JDK you are using.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #5  
Old 04-05-2006, 03:21 PM
aperry's Avatar
aperry aperry is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 680
Narflex stated in the 4.12 beta thread that:
Quote:
FYI, Java 1.5 is now bundled with the SageTV installer (it has been for a few versions).
Does this mean that someday when they have another official release (4.5?), that we'll be able to use 1.5 stuff? If so, that would be great, given that 1.5 adds XPath support to Java (without having to pull in some other package).
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 02:31 AM.


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