SDRTrunk - p25 decoder test release

Status
Not open for further replies.

BTJustice

Member
Joined
Feb 27, 2012
Messages
77
I haven't been able to get the compile to work either. I've downloaded and extracted the jmbe_builder zip file and run the Make_jmbe_library_windows batch file. It creates a folder labeled jmbe but I haven't been able to find jmbe_0.3.2.jar file file. I-m running Win 7 64-bit and have Java 8.0_73


Found a post from last year that says "the JMBE auto-builder requires you to have the (Java Development Kit) version installed and the JAVA_HOME environment variable setup. I have to update the instructions on the wiki." Don't believe I have the development kit.

Where the heck do you set the JAVA_HOME at? Been trying ot get JMBE going without luck because of this and poor instructions on the JMBE Wiki.
 

DSheirer

Member
Premium Subscriber
Joined
Feb 15, 2010
Messages
587
Location
Fulton, NY
Where the heck do you set the JAVA_HOME at? Been trying ot get JMBE going without luck because of this and poor instructions on the JMBE Wiki.

We're you able to get the jmbe library compiled, or do you still need help?

Denny
 

shajoe44

Member
Joined
Dec 11, 2000
Messages
490
Location
North Augusta, SC
Is there a manual for dummies.........

I have used SDR's before for finding talkgroups and information and I ran across this program and thought I would try it. I have downloaded everything that is required on web page. I have the SDR tuner recognized. How do I start getting information from the frequency I have entered? Is there a youtube video or such to walk us thru the whole process? Thanks for any help that can be offered It looks like an awesome program.
 

DSheirer

Member
Premium Subscriber
Joined
Feb 15, 2010
Messages
587
Location
Fulton, NY
I have used SDR's before for finding talkgroups and information and I ran across this program and thought I would try it. I have downloaded everything that is required on web page. I have the SDR tuner recognized. How do I start getting information from the frequency I have entered? Is there a youtube video or such to walk us thru the whole process? Thanks for any help that can be offered It looks like an awesome program.

The User's manual is here: https://github.com/DSheirer/sdrtrunk/wiki/UserManual_V0.3.0

and the specific page on setting up channel configurations is here: https://github.com/DSheirer/sdrtrunk/wiki/Channels_V0.3.0

You'll have to create a channel configuration that identifiers the source frequency and the decoder to use, and then any optional logging or recording. Then enable the configuration and it will start decoding.

Denny
 

radiotec117

Member
Premium Subscriber
Joined
Dec 26, 2010
Messages
14
Can't find priority setting

Denny, I am running the latest version of java and SDRTrunk. When creating an alias, I can't find anyplace to set a priority for the talkgroup. Was this feature eliminated, or am I missing something? I am running this on Windows 10.

Craig
 

DSheirer

Member
Premium Subscriber
Joined
Feb 15, 2010
Messages
587
Location
Fulton, NY
Craig, after you select an alias, you should be able to add an Audio Priority with the 'New' button on the Audio/Identifier tab in the alias editor.

If you've already assigned an audio priority and/or if you have assigned a priority of 'Do Not Monitor', the 'New' button won't give you the option to add another priority.

Denny
 

Attachments

  • 20180115_200501_screen_capture.jpg
    20180115_200501_screen_capture.jpg
    85.3 KB · Views: 577

radiotec117

Member
Premium Subscriber
Joined
Dec 26, 2010
Messages
14
Thanks!

Wow, that was there all along and I could not find it. Thanks for pointing me in the right direction. It works like a charm. Is there a way to program a hold time for a particular talk group so that the program doesn't start scanning for other active talk groups right away ? Sometimes the dispatcher is slow to answer and the program will roll to the next active talk group, interrupting the conversation.
 

AB9NN

Member
Premium Subscriber
Joined
Jun 11, 2017
Messages
270
Location
Beulah, MI
ERROR: JAVA_HOME is set to an invalid directory

I am following these Windows 10 install directions:
https://github.com/DSheirer/jmbe

My machine passed the two tests prior to running the bat file per the instructions.

When I run the batch file: gradlew.bat build
I get the following error even though I passed the tests recommended in the instructions:

ERROR: JAVA_HOME is set to an invalid directory: C:\_Files\Java\jdk-10.0.1;

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

I examined the bat file and found it was looking for java.exe. To test my system
at the command prompt I ran the following with the following results:

C:\Users\jkres>java.exe -version
java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)

Given the error and given the test results I do not understand why JAVA_HOME is invalid.
Here is the contents of JAVA_HOME:

C:\_Files\Java\jdk-10.0.1

The instructions say, "Verify that JAVA_HOME points to the Java Development Kit (JDK) version 8 or higher."

I have version 10 and JAVA_HOME contains that folder.
 

thewraith2008

Member
Joined
Nov 22, 2016
Messages
1,851
You most likely need the change/set the JAVA_HOME environment variable.

It's in Control Panel > System and Security > System > Advanced system settings > Environment Variables... > System variables then find JAVA_HOME in list or create it, then point to "C:\Program Files\Java\jdk-10.0.1" or whatever your path is and JDK version.
I don't use Win10 so I don't know if it's the same way to it.
 

AB9NN

Member
Premium Subscriber
Joined
Jun 11, 2017
Messages
270
Location
Beulah, MI
Thanks! The install and build instructions lead you go the link below. Based on the paragraph below that link I installed Java JDK here: C:\_Files\Java\jdk-10.0.1

Here are the results when I run the recommended test:

C:\_Files\Java\jdk-10.0.1>echo %JAVA_HOME%
C:\_Files\Java\jdk-10.0.1;

I do wonder - there is a semi-colon at the end of the result but it is not there in the variable when I go and edit it.??? Could that be an issue? Also, I do have an underline in my path - an issue?

https://www.theserverside.com/tutorial/How-to-install-the-JDK-on-Windows-and-setup-JAVA_HOME

It makes sense to accept all of the installation defaults the wizard presents, with the exception of where to install the JDK on the file system. The default is a subfolder under C:\Program Files, but the space between Program and Files can sometimes cause problems with Groovy scripts or Jenkins jobs. It's best to install the JDK into a folder of your own choosing that doesn't have empty spaces. For this tutorial, we will choose C:\_jdk10.
 

thewraith2008

Member
Joined
Nov 22, 2016
Messages
1,851
";" is normally used as a delimiter. For when more paths are used. (like in PATH=)

It could be a problem if JAVA_HOME returns that.

On the command line, does typing:
Code:
echo %JAVA_HOME%

Output:
Code:
C:\_Files\Java\jdk-10.0.1;
or
Code:
C:\_Files\Java\jdk-10.0.1

If the 1st one then that would be an issue

EDIT: If 2nd then the .bat could have a typo.
 

thewraith2008

Member
Joined
Nov 22, 2016
Messages
1,851
Here is the contents of JAVA_HOME:

C:\_Files\Java\jdk-10.0.1

Even though you did the version check, which shows that it's on the PC. Are the files actually at that location. (C:\_Files\Java\jdk-10.0.1\bin\java.exe) That's what the bat is looking for.
 

AB9NN

Member
Premium Subscriber
Joined
Jun 11, 2017
Messages
270
Location
Beulah, MI
It returned with the ; at the end. I deleted the old entry, pasted in the entry and it added it. I entered without it, it added it, and it returns it when tested.

However, after it failed again I realized my only high percentage of sucess probability option was to delete the entire variable and re-enter it - by hand. I saved that, closed CMD and re-opened a fresh instance of it (otherwise the old variable contents see to stick) and re-ran the test. It passed! I ran the build batch file and got the following results:

C:\Users\jkres\Downloads\jmbe-0.3.3b\jmbe-0.3.3b>gradlew.bat build
Downloading https://services.gradle.org/distributions/gradle-4.4-bin.zip
........................................................................
Unzipping C:\Users\jkres\.gradle\wrapper\dists\gradle-4.4-bin\bgaq7vklkazwgxox0hdadxbvi\gradle-4.4-bin.zip to C:\Users\jkres\.gradle\wrapper\dists\gradle-4.4-bin\bgaq7vklkazwgxox0hdadxbvi
Starting a Gradle Daemon (subsequent builds will be faster)

> Configure project :
Your finished JMBE library is here: C:\Users\jkres\Downloads\jmbe-0.3.3b\jmbe-0.3.3b\build/libs

Download https://repo.maven.apache.org/maven2/pl/edu/icm/JLargeArrays/1.6/JLargeArrays-1.6.pom
Download https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.pom
Download https://repo.maven.apache.org/maven2/com/github/wendykierp/JTransforms/3.1/JTransforms-3.1.pom
Download https://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
Download https://repo.maven.apache.org/maven2/org/slf4j/slf4j-parent/1.7.25/slf4j-parent-1.7.25.pom
Download https://repo.maven.apache.org/maven2/org/apache/commons/commons-math3/3.5/commons-math3-3.5.pom
Download https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/34/commons-parent-34.pom
Download https://repo.maven.apache.org/maven2/org/apache/apache/13/apache-13.pom
Download https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar
Download https://repo.maven.apache.org/maven2/com/github/wendykierp/JTransforms/3.1/JTransforms-3.1.jar
Download https://repo.maven.apache.org/maven2/org/apache/commons/commons-math3/3.5/commons-math3-3.5.jar
Download https://repo.maven.apache.org/maven2/pl/edu/icm/JLargeArrays/1.6/JLargeArrays-1.6.jar

> Task :jmbe:compileJava
Malformed jar [jmbe-api-0.3.3.jar] found on classpath. Gradle 5.0 will no longer allow malformed jars on a classpath.


BUILD SUCCESSFUL in 30s
7 actionable tasks: 7 executed
C:\Users\jkres\Downloads\jmbe-0.3.3b\jmbe-0.3.3b>

I copied the freshly produced *.jar file to my SDRTunk working directory. Now I need to figure out how to start it. I used the Windows bat file but it crashed. Examining that bat file now...

Thanks for your insight on the semi-colon issue!
 

AB9NN

Member
Premium Subscriber
Joined
Jun 11, 2017
Messages
270
Location
Beulah, MI
Anyone know where SDRTrunk stores settings input after you start the software? I have working versions on two computers. My old computer has a nicely configured set of settings input for some P25 channels, etc.. I would like to move those to the new PC. When the software starts on the new PC it says it can't find the following resources:

Icons file not found at [C:\Users\jkres\SDRTrunk\settings\icons.xml]

PlaylistManager - playlist not found at [C:\Users\jkres\SDRTrunk\playlist\playlist_v2.xml]

Any ideas on how to proceed?
 

thewraith2008

Member
Joined
Nov 22, 2016
Messages
1,851
I think you answered your own question.

The files that SDRTrunk creates and uses are in "C:\Users\jkres\SDRTrunk\" in folders:
  • settings
  • playlist

It should just create those files on a new run/install. (icons.xml, playlist_v2.xml)

What version of SDRTrunk you using?

It's been a little while since I compiled the source code but all you do is double click the compiled application: sdr-trunk-all-0.3.4-beta.1.jar (or whatever the versions is).

You shouldn't be needing a batch file like in old versions.

The Java IMBE audio decoder (jmbe-0.3.3.jar) should be placed in the folder where above .jar file is run from. (which you did)

You should not be trying to run jmbe-0.3.3.jar.

If you have more problems Denny can help directly from SDRTrunk support forum
 

AB9NN

Member
Premium Subscriber
Joined
Jun 11, 2017
Messages
270
Location
Beulah, MI
I am running the following:

C:\_Files\jdk-10.0.1\bin\java.exe -jar sdr-trunk-all-0.3.4-beta.2.jar

In the following folder:

"C:\_Files\SDR - Software Defined Radio\sdrtrunk - 1st working version"

The software runs, I added some channels. I can see them being processed in the tabs but there is no audio output. Audio works on the same radio with the same speakers / headphones with other software. There is also Tuner information which is missing - greyed out..
 
Status
Not open for further replies.
Top