SDRTrunk JMBE Build HELP!

Status
Not open for further replies.

jack3553

Newbie
Feed Provider
Joined
Mar 30, 2012
Messages
2
Location
Wisconsin
Hi,

This is my first post on this form. I'm trying to get back into SDRs again but SDRTrunk is kicking my butt.
I need some help building the JMBE.jar file. I'm following these instructions DSheirer/jmbe but every time I run the build command I get this:

BUILD FAILED in 44s
5 actionable tasks: 3 executed, 2 up-to-date

I Will post the whole command prompt at the bottom.
When I first started trying to build it it would error out on what verson of java I had. But i got past that with some trial and error just to hit another wall.

So I need some help am I just making some noob mistake, do I still have the wrong java, or something else?

Thanks for any help

Code:
Microsoft Windows [Version 10.0.17763.437]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>echo %JAVA_HOME%
C:\java8

C:\WINDOWS\system32>javac -version
javac 1.8.0_40

C:\WINDOWS\system32>cd C:\Users\zeame\Downloads\jmbe-0.3.3b\jmbe-0.3.3b\

C:\Users\zeame\Downloads\jmbe-0.3.3b\jmbe-0.3.3b>gradlew.bat build
Starting a Gradle Daemon (subsequent builds will be faster)

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


FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':jmbe:compileClasspath'.
> Could not resolve org.slf4j:slf4j-api:1.7.25.
  Required by:
      project :jmbe
   > Could not resolve org.slf4j:slf4j-api:1.7.25.
      > Could not get resource 'https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.pom'.
         > Could not GET 'https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.pom'.
            > java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
> Could not resolve com.github.wendykierp:JTransforms:3.1.
  Required by:
      project :jmbe
   > Could not resolve com.github.wendykierp:JTransforms:3.1.
      > Could not get resource 'https://repo.maven.apache.org/maven2/com/github/wendykierp/JTransforms/3.1/JTransforms-3.1.pom'.
         > Could not GET 'https://repo.maven.apache.org/maven2/com/github/wendykierp/JTransforms/3.1/JTransforms-3.1.pom'.
            > java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
> Could not resolve pl.edu.icm:JLargeArrays:1.6.
  Required by:
      project :jmbe
   > Could not resolve pl.edu.icm:JLargeArrays:1.6.
      > Could not get resource 'https://repo.maven.apache.org/maven2/pl/edu/icm/JLargeArrays/1.6/JLargeArrays-1.6.pom'.
         > Could not GET 'https://repo.maven.apache.org/maven2/pl/edu/icm/JLargeArrays/1.6/JLargeArrays-1.6.pom'.
            > java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

* 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 https://help.gradle.org

BUILD FAILED in 44s
5 actionable tasks: 3 executed, 2 up-to-date

C:\Users\zeame\Downloads\jmbe-0.3.3b\jmbe-0.3.3b>
 

DSheirer

Member
Premium Subscriber
Joined
Feb 15, 2010
Messages
598
Location
Fulton, NY
It's possible that the Java installation that you're using is missing the trust anchor keys needed to communicate with maven in order to auto download the extra libraries needed to build jmbe.

There's mention of the issue here (half way down the page): Error - trustAnchors parameter must be non-empty

You might try installing a newer version of java 8. The version you're using is release 40.

OpenJDK 8 Release 212/212: Java SE Development Kit 8 - Downloads

Older Oracle Java 8 Releases:
Java Archive Downloads - Java SE 8

Denny
 

w2lie

New York DB Admin
Database Admin
Joined
Mar 2, 2004
Messages
1,628
Location
Long Island, NY
I had to use an older version of the Java in order to install correctly. Try going back through older versions.
 

jack3553

Newbie
Feed Provider
Joined
Mar 30, 2012
Messages
2
Location
Wisconsin
It's possible that the Java installation that you're using is missing the trust anchor keys needed to communicate with maven in order to auto download the extra libraries needed to build jmbe.

There's mention of the issue here (half way down the page): Error - trustAnchors parameter must be non-empty

You might try installing a newer version of java 8. The version you're using is release 40.

OpenJDK 8 Release 212/212: Java SE Development Kit 8 - Downloads

Older Oracle Java 8 Releases:
Java Archive Downloads - Java SE 8

Denny


THANK YOU,

You saved me from throwing my keyboard across the room, I spent six hours trying to get it to work.
There are just way to many type and versions of Java out there. I had a feeling it was wrong.

I installed OpenJDK 8 Release 212 and BOOM it works
Is there a way in your instructions you could tell what java you need?
At first I had JDK 12 then tryed a non-open versions JDK 8 then with some googling found out I needed a open versions of JDK 8 but the one I found was clearly an old one. Maybe would help someone else and save them some frustration.

THANKS AGAIN
 
Status
Not open for further replies.
Top