SDRTrunk P25 Phase II testing

Status
Not open for further replies.

dave3825

* * * * * * * * * * * *
Premium Subscriber
Joined
Feb 17, 2003
Messages
9,747
Location
Suffolk County NY
So yeah, confused. Says here on this page Note: java is no longer required to be installed on your operating system -- java is now bundled with the application .

With that said, is java needed to set up sdrtrunk-296-p25-phase-2-decoder ? Sdr-trunk-0.4.0-alpha.9 is working good.
 
S

simpilo

Guest
So yeah, confused. Says here on this page Note: java is no longer required to be installed on your operating system -- java is now bundled with the application .

With that said, is java needed to set up sdrtrunk-296-p25-phase-2-decoder ? Sdr-trunk-0.4.0-alpha.9 is working good.

You need Java 11 installed. Seems the developer is in error not maintaining his instructions properly. All ".jar" and ".java" files MUST have java 11 installed. Telling people it is not required when it uses jar and java files is absurd!
 

DRL-XM43

Member
Joined
Jun 23, 2015
Messages
842
Location
Durham Region
Mine says ,


View attachment 75373

I thought it was stated on one of the pages that you did not need java anymore as it was included in the download. Either way, not sure what to set it to as sdr trunk is working the way with java set like the pic. Just can't get past,

Code:
C:\Users\Preferred Customer\SDRTrunk\sdrtrunk-296-p25-phase-2-decoder\sdrtrunk-2

96-p25-phase-2-decoder>gradlew.bat clean buildSdr

ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk-10

Please set the JAVA_HOME variable in your environment to match the location of your Java installation.

.
Maybe check and see if that is where Java JDK actualy is.... or see if the version matches the variable which a manual input.
 

DRL-XM43

Member
Joined
Jun 23, 2015
Messages
842
Location
Durham Region
I think these download what is needed after you run the batch

Build with preconfigured wrapper for linux/windows
Linux

./gradlew clean buildSdr

Windows

gradlew.bat clean buildSdr

This would add gradle, download all project dependencies and build JAR
 

DRL-XM43

Member
Joined
Jun 23, 2015
Messages
842
Location
Durham Region
I think these download what is needed after you run the batch

Build with preconfigured wrapper for linux/windows
Linux

./gradlew clean buildSdr

Windows

gradlew.bat clean buildSdr

This would add gradle, download all project dependencies and build JAR
 

dave3825

* * * * * * * * * * * *
Premium Subscriber
Joined
Feb 17, 2003
Messages
9,747
Location
Suffolk County NY
@DRL-XM43 Got further than before. Now have jdk 13 and set java home to that folder.

Ran gradlew.bat clean buildSdr from in C:\Users\Preferred Customer\SDRTrunk\sdrtrunk-296-p25-phase-2-decoder\

It did download something this time around,

Then said this,

1 error

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output. Run with --scan to get full insights.

* Get more help at Gradle | Search for Help with Gradle

BUILD FAILED in 1s
<-------------> 0% WAITING
> IDLE

C:\Users\Preferred Customer\SDRTrunk\sdrtrunk-296-p25-phase-2-decoder>

Did I run gradlew.bat clean buildSdr from the right location?

In my sdr trunk folder, I have both folders
sdr-trunk-0.4.0-alpha.9-windows-x64
sdrtrunk-296-p25-phase-2-decoder

More coffee...
 
Joined
Apr 23, 2018
Messages
22
Location
GA
I was able to compile and run on an rPi4 but am running into issues compiling sdrtrunk on an atomic pi. The JMBE lib appeared to compile without issue

Code:
Starting a Gradle Daemon (subsequent builds will be faster)

> Configure project :codec
Your finished JMBE library is located here: /home/atomicpi/Downloads/jmbe-5-ambe-codec-2/codec/build/libs/jmbe-1.0.0.jar

BUILD SUCCESSFUL in 1m 48s
10 actionable tasks: 10 executed

I receive the following error messages on compile of sdrtrunk:

Code:
> Task :compileJava
/home/atomicpi/Downloads/sdrtrunk-296-p25-phase-2-decoder/src/main/java/io/github/dsheirer/util/XTEA.java:27: error: unmappable character (0xC2) for encoding US-ASCII
    //Key Schedule = (sqrt(5) ?? 1) * 2^31

and the carat is under the second question mark.

Code:
/home/atomicpi/Downloads/sdrtrunk-296-p25-phase-2-decoder/src/main/java/io/github/dsheirer/gui/control/CurveFittedAreaChart.java:123: error: unmappable character (0x93) for encoding US-ASCII
                        // P2 = 2P1 ??? P0

I also get a similar message on what I assume to be an accented e.

Code:
/home/atomicpi/Downloads/sdrtrunk-296-p25-phase-2-decoder/src/main/java/io/github/dsheirer/dsp/filter/Window.java:23: error: unmappable character (0xC3) for encoding US-ASCII
* Copyright (C) 2012 Ren?? Jeschke <rene_jeschke@yahoo.de>
                         ^
/home/atomicpi/Downloads/sdrtrunk-296-p25-phase-2-decoder/src/main/java/io/github/dsheirer/dsp/filter/Window.java:23: error: unmappable character (0xA9) for encoding US-ASCII
* Copyright (C) 2012 Ren?? Jeschke <rene_jeschke@yahoo.de>

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

BUILD SUCCESSFUL in 1m 15s
7 actionable tasks: 7 executed

atomicpi@atomicPi1:~/Downloads/sdrtrunk-296-p25-phase-2-decoder$ javac -version
javac 11.0.4
 

DRL-XM43

Member
Joined
Jun 23, 2015
Messages
842
Location
Durham Region
@DRL-XM43 Got further than before. Now have jdk 13 and set java home to that folder.

Ran gradlew.bat clean buildSdr from in C:\Users\Preferred Customer\SDRTrunk\sdrtrunk-296-p25-phase-2-decoder\

It did download something this time around,

Then said this,

1 error

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output. Run with --scan to get full insights.

* Get more help at Gradle | Search for Help with Gradle

BUILD FAILED in 1s
<-------------> 0% WAITING
> IDLE

C:\Users\Preferred Customer\SDRTrunk\sdrtrunk-296-p25-phase-2-decoder>

Did I run gradlew.bat clean buildSdr from the right location?

In my sdr trunk folder, I have both folders
sdr-trunk-0.4.0-alpha.9-windows-x64
sdrtrunk-296-p25-phase-2-decoder

More coffee...

There are only three steps. (assumes Windows)

1. Download zip file decompress it.
2. Open a dos command box (Command Prompt). In it CD to where the files are.
3. In the dos box run the compile bat.
 

DRL-XM43

Member
Joined
Jun 23, 2015
Messages
842
Location
Durham Region
It should look something like this.

(hint copy and paste the address bar in explorer to save typing the address, again make sure you are in the folder where the files are, not at the folder)
 

Attachments

  • compile.PNG
    compile.PNG
    115.7 KB · Views: 54

dave3825

* * * * * * * * * * * *
Premium Subscriber
Joined
Feb 17, 2003
Messages
9,747
Location
Suffolk County NY
That's what I did.

Just rebooted and ran gradlew.bat clean buildSdr from in C:\Users\Preferred Customer\SDRTrunk\sdrtrunk-296-p25-phase-2-decoder\ and still getting the same error. Doing this with windows 7 64 bit.

It said to
Run with --stacktrace option to get the stack trace.
Run with --debug get more log output.
Run with --scan to get full insights.

I ran
gradlew.bat clean buildSdr --info
1 error
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to
get more log output. Run with --scan to get full insights.


I ran
gradlew.bat clean buildSdr --stacktrace
1 error

at org.gradle.groovy.scripts.internal.DefaultScriptCompilationHandler.co
mpileScript(DefaultScriptCompilationHandler.java:133)
... 152 more

I ran
gradlew.bat clean buildSdr --scan
1 error

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output. Run with --scan to get full insights.



C:\Users\Preferred Customer\SDRTrunk\sdrtrunk-296-p25-phase-2-decoder>
 

dave3825

* * * * * * * * * * * *
Premium Subscriber
Joined
Feb 17, 2003
Messages
9,747
Location
Suffolk County NY
I have to run out for an hour. When I get back I am going to do the exact steps on my win 10 laptop and see what happens there.

Thanks for helping me with this. I will report back on the win 10 install..
 

dave3825

* * * * * * * * * * * *
Premium Subscriber
Joined
Feb 17, 2003
Messages
9,747
Location
Suffolk County NY
Found a gradle folder on my pc containing this,

FAILURE: Build failed with an exception.

* Where:
Settings file 'C:\Users\Preferred Customer\SDRTrunk\sdrtrunk-296-p25-phase-2-decoder\settings.gradle'

* What went wrong:
Could not compile settings file 'C:\Users\Preferred Customer\SDRTrunk\sdrtrunk-296-p25-phase-2-decoder\settings.gradle'.
> startup failed:
General error during semantic analysis: Unsupported class file major version 57

java.lang.IllegalArgumentException: Unsupported class file major version 57



Its a long file and has more stuff but exceeds the text limit here on this site..
 

DRL-XM43

Member
Joined
Jun 23, 2015
Messages
842
Location
Durham Region
Is your last post about the win 7 attempt or the win 10 attempt.

Before I posted above I ran the 3 steps on my win 10 to make sure it was accurate and successful, which it was.

I can only speak for latest win 10 because that is where I tested,

I also tested on Linux mint 19.1 and that also compiled with no issues (by following the same steps), using the zip file.
 

dave3825

* * * * * * * * * * * *
Premium Subscriber
Joined
Feb 17, 2003
Messages
9,747
Location
Suffolk County NY
Tried on win 10 also and same thing. I'm done. I give up. Thanks for the help you provided...
 

Attachments

  • daemon-9068.out.txt
    86.5 KB · Views: 14
Last edited:

DRL-XM43

Member
Joined
Jun 23, 2015
Messages
842
Location
Durham Region
Tried on win 10 also and same thing. I'm done. I give up. Thanks for the help you provided...

I think the author reads these threads and others with more tech knowledge than I, I expect your issue is a simple fix. If possible visit the google group there is a lot of help there.
 

dave3825

* * * * * * * * * * * *
Premium Subscriber
Joined
Feb 17, 2003
Messages
9,747
Location
Suffolk County NY
Update Simplo said jdk 11 and when i went to download, I downloaded jdk13. Denny reached out and also said to use jdk11 and that jdk13 is not supported yet but may be soon.

I followed the steps and it worked, and created sdr-trunk-all-0.4.0-beta.1.jar

Thanks again for all the help..
 
Joined
Apr 23, 2018
Messages
22
Location
GA
I am running the phase2 branch on a phase 1 and phase 2 system with an atomicPi (atom 4 core, 1.9ghz, 2Gb) and an rPi4 4Gb (Buster). They both seem pretty stable. I occasionally get Heap Overflow errors. I assume that is a processing power issue, but is there a way to increase the heapsize so it would overflow less often due to temporary channel load? I have the waterflow turned off.

Does/could the sdrturnk/jmbe use the gpu for channel processing?

It is possible to add an individual startup delay for the different channels? It seems to start fine when I turn one channel on, wait then turn the other on, but if the both start at the same time I often get heap overflow errors.

Thank you! It is an awesome program and I am excited about the Phase2 option.
 

DRL-XM43

Member
Joined
Jun 23, 2015
Messages
842
Location
Durham Region
I am running the phase2 branch on a phase 1 and phase 2 system with an atomicPi (atom 4 core, 1.9ghz, 2Gb) and an rPi4 4Gb (Buster). They both seem pretty stable. I occasionally get Heap Overflow errors. I assume that is a processing power issue, but is there a way to increase the heapsize so it would overflow less often due to temporary channel load? I have the waterflow turned off.

Does/could the sdrturnk/jmbe use the gpu for channel processing?

It is possible to add an individual startup delay for the different channels? It seems to start fine when I turn one channel on, wait then turn the other on, but if the both start at the same time I often get heap overflow errors.

Thank you! It is an awesome program and I am excited about the Phase2 option.

Do you have the waterfall disabled, this is a huge resource hog.
 
Status
Not open for further replies.
Top