|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
|
Thread Tools | Search this Thread | Display Modes |
#41
|
|||
|
|||
Rookie Questions
OK, so I'm trying to get my feet wet with Java; no previous experienxce.
I'm trying to do the Windows build of Sage.Jar. When I run the GRADLEW.BAT file, it appears to be doing a "MiniClient Build". Wouldn't that be the "client" jar, and not the "server" jar? I assume they are different? Anyhow, the build is successful, but when I swap it out with my server Sage.JAR and try to start SageTV I get an exception error "java.lang.NoClassDefFound org/apache/lucene/search/query", or something to that affect. Do I understand that all I need do is swap out the v7 jar with the rebuild (v9) jar? No other file changes? Should I delete the Wiz file, or will it rebuild automatically? I understand the v9 is different then the v7. Do I need to have the same version of Java installed in my server that I used for the build? I'm currently running the old v6 of Java that comnes with the Sage installer. Thanx for reading this and any help you can offer. |
#42
|
|||
|
|||
There is more complete information on installing the new Sage.jar in the Youtube Plugin post at this link. I followed it and got the new version working on my Windows machine.
It may be that you are missing the updated Lucene plugin. Don't forget to remove any earlier Lucene version, as instructed in the post.
__________________
Server:UnRaid;2x Intel Xeon E5; SuperMicro moboard;Also:BM3000 w/ WMC; 2x Ceton ETH 6; OpenDCT SageTV Extender:3x HD200 1x HD300 1xFireTV Sage TV: 9.2 on Java 11, Standard STVi, Comskip Playback, Web Interface, 24 Hour Clock, SRE, Playon All in lovely Drexel Hill, PA |
#43
|
||||
|
||||
Just to be clear - You do NOT want to install the lucene plugin, it contains an outdated version of the lucene.jar file. You DO want to download the lucene.jar file linked in that post and put it in the JARs directory making sure you delete any other lucene.jar files in the JARs directory.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#44
|
|||
|
|||
Thanx a lot guys!
Installing the lucene.jar solved the problem. |
#45
|
|||
|
|||
Just want to be sure I'm actually running on V9.
When I look at the System Info screen, it displays V9.0.0.3, but when I first fire up Sage it's still asking for the license key. I did find if I hit ESC two times it seems to bypass the license key? I also thought there were a couple of new entries in the Properties file that I don't see? Last edited by jrockow; 08-24-2015 at 05:33 AM. |
#46
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#47
|
|||
|
|||
Thanx again.
|
#48
|
|||
|
|||
YouTube online videos not working. I am showing "No videos Found" and searches result in nothing.
Does anyone have a fix or somehow reset all of my online videos to defaults? Thanks in advance! |
#49
|
||||
|
||||
Quote:
Just install the UI Mod Plugin "YouTube (2015)".
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#50
|
|||
|
|||
Quote:
|
#51
|
||||
|
||||
@Fuzzy (or anyone else)
If you need older Visual studio I have copies of 2003 and either 2005/2010 (can't remember which) that I have from my MSDN subscriber days. Now on to my questions: 1.) I can't seem to get the gradlew bat file to successfully build the Sage.jar: F inished executing task ':compileJava' 21:16:52.336 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :compileJava FAI LED 21:16:52.344 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :c ompileJava (Thread[main,5,main]) completed. Took 1.075 secs. 21:16:52.348 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] T ask worker [Thread[main,5,main]] finished, busy: 1.075 secs, idle: 0.012 secs 21:16:52.360 [ERROR] [org.gradle.BuildExceptionReporter] 21:16:52.365 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed w ith an exception. 21:16:52.371 [ERROR] [org.gradle.BuildExceptionReporter] 21:16:52.376 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: 21:16:52.380 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for ta sk ':compileJava'. 21:16:52.385 [ERROR] [org.gradle.BuildExceptionReporter] > Could not find tools. jar 2.) Can I just run the linux builds using my bash shell on windows (Cygwin)? Or is the bat file doing something special?
__________________
AMD Ryzen 9 3900XT 12 Core+HT, 64GB DDR5, GeForce 1060, MSI Prestige x570 Creation Mobo, SIIG 4 port Serial PCIe Card, Win10, 1TB M.2 SSD OS HDD, 1 URay HDMI Network Encoder, 3 HD-PVR, 4 DirecTV STB serial tuned |
#52
|
|||
|
|||
Do you have the JDK installed? The JRE required to run Java is not enough. You need the developer package to build it.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#53
|
||||
|
||||
Yeah I realized that I'd probably need a JDK as well; I was trying to download a version that matches the JRE version (or close too it), but Oracle's website keeps trying to get me to sign up just to do that download which I'm certainly not going to do. . .
__________________
AMD Ryzen 9 3900XT 12 Core+HT, 64GB DDR5, GeForce 1060, MSI Prestige x570 Creation Mobo, SIIG 4 port Serial PCIe Card, Win10, 1TB M.2 SSD OS HDD, 1 URay HDMI Network Encoder, 3 HD-PVR, 4 DirecTV STB serial tuned |
#54
|
|||
|
|||
Just Google the major version of the JDK you want and it will give you the right page. I don't know why they make people jump through hoops when a search gives you a direct link to the page.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#55
|
||||
|
||||
Quote:
java jdk 6 (which is really 1.6, and more specifically I'd really like 1.6.29) or java jdk 1.6 . . .all of which don't matter all of which send me to the Oracle archive where I have to freaking sign in to do the download. . . The direct link is actually here: http://download.oracle.com/otn/java/...indows-x64.exe But like I said. . .clicking it sends me through some sign up to get spam crap. . . grrr
__________________
AMD Ryzen 9 3900XT 12 Core+HT, 64GB DDR5, GeForce 1060, MSI Prestige x570 Creation Mobo, SIIG 4 port Serial PCIe Card, Win10, 1TB M.2 SSD OS HDD, 1 URay HDMI Network Encoder, 3 HD-PVR, 4 DirecTV STB serial tuned |
#56
|
|||
|
|||
Quote:
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#57
|
||||
|
||||
I agree with @Taddeusz... Got with AT LEAST Java 7. While core sagetv works with any Java version, some plugins may actually use some Java 7 features, unknowningly. Phoenix (ie, phoenix-core) may fall into this category, and phoenix-core is used Pheonix UI and Gemstone and BMT. I'm not saying that it does use Java 7 features, but I tend to develop in Java 7, and I don't enable compile checking for Java 6, so it is quite possible that Java 7 features slip in. Also Java 7 enhanced memory management and added other performance features, so there's no real reason why you shouldn't use it
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#58
|
||||
|
||||
OK well then than that's fine, I'll go with that. . .perhaps I'll do an upgrade to Java 7 on the home server as well.
No real reason that I was doing that other than being safe. . . we all know choosing the new shiny thing is usually a bad idea ;-). . .so I was just going that route to be careful. . . Java 7 for the JDK it is then.
__________________
AMD Ryzen 9 3900XT 12 Core+HT, 64GB DDR5, GeForce 1060, MSI Prestige x570 Creation Mobo, SIIG 4 port Serial PCIe Card, Win10, 1TB M.2 SSD OS HDD, 1 URay HDMI Network Encoder, 3 HD-PVR, 4 DirecTV STB serial tuned |
#59
|
||||
|
||||
Does the new sage.jar apply to SageTV Client installations as well? Or only needed server side?
__________________
SageTV server & client: Win 10 Pro x64, Intel DH67CF, Core i5 2405s, 8 GB ram, Intel HD 3000, 40GB SSD system, 4TB storage, 2x HD PVR component + optical audio, USB-UIRT 2 zones + remote hack, Logitech Harmony One, HDMI output to Sony receiver with native Intel bitstreaming |
#60
|
|||
|
|||
Server and client side, unless you're talking about an extender which we can't update anyway.
Last edited by Monedeath; 10-24-2015 at 12:15 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any threads out there on how best to rebuild your sage server??? | MickBurke | SageTV Software | 5 | 06-07-2015 08:11 PM |
database rebuild on sage startup | comet48 | SageTV Software | 4 | 03-16-2011 06:12 PM |
Transition from Windows to Linux Sage Server | tsheal | SageTV Linux | 21 | 11-09-2010 06:57 AM |
How do I rebuild sage from scratch | rdefino | SageTV Software | 3 | 11-15-2008 04:27 PM |
Will this method work to rebuild my Sage box? | Fountainhead | SageTV Software | 6 | 05-23-2007 11:16 AM |