|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
How to: Access my java classes in Studio
Hi all,
I'm having a hard time figuring out how Studio and custom java classes implement together. I have gone through the Studio_Tutorials.xml and that was excellent but I didn't see anything that relates to custom java classes. How do I access my java classes in Studio? (These do not use any SageTV related methods.) More specifically: 1. How do I tell Studio that there is a new jar file that has AClass.class in it? 2. Where do I put this code in Studio to populate an item? AClass = new AClass(); string = AClass.returnAString(); Edit: I found the below thread so I think I just need to know about #1 now. http://forums.sagetv.com/forums/showthread.php?t=13962 Last edited by chrishallowell; 08-04-2010 at 09:39 PM. |
#2
|
|||
|
|||
For #1, just put your jar in the JARs folder and restart SageTV. Studio automatically loads all jars found in the JARs folder, but you must restart Sage after adding a jar in order for Studio to "see" the new jar.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#3
|
|||
|
|||
Thanks Slugger! Sounds easy enough.
|
#4
|
||||
|
||||
Regarding #2, p. 151 of the Studio manual tells you how to do it. Where you do it depends on what you're trying to do.
__________________
-- Greg |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
java file access from an extender | jphipps | SageTV Studio | 7 | 06-11-2009 08:55 PM |
Help calling Java from Studio | Tiki | SageTV Studio | 3 | 12-31-2008 12:51 PM |
Testing Sagetv with Java Access bridge | nallan | SageTV Software | 0 | 04-01-2006 07:31 PM |
Calling custom java classes from studio | davin | SageTV Studio | 9 | 11-09-2005 11:50 AM |
Access .NET (dll) From Studio? | deria | SageTV Studio | 5 | 11-04-2005 01:55 AM |