marytts / marytts-installer

Standalone installer for MaryTTS
Other
17 stars 13 forks source link

Ubuntu 18.04 with Java 10.0.1 error when running marytts #15

Closed shifters67 closed 6 years ago

shifters67 commented 6 years ago

Hi,

when trying to run marytts (to do anything) you get the error

Could not determine java version from '10.0.1'.

every time and it aborts. Any ideas?

regards

Tom

psibre commented 6 years ago

Are you sure? Works for me:

$ sdk use java 10.0.1-zulu 

Using java version 10.0.1-zulu in this shell.
raz:marytts-installer ingmar$ ./marytts 
Starting a Gradle Daemon (subsequent builds will be faster)

> Task :verify 
Verify  voice-cmu-slt-hsmm-5.2.jar

> Task :install 
Copy    voice-cmu-slt-hsmm-5.2.jar
Copy    marytts-lang-en-5.2.jar
Copy    marytts-runtime-5.2.jar
Copy    marytts-signalproc-5.2.jar
Copy    marytts-common-5.2.jar
Copy    commons-lang-2.6.jar
Copy    commons-io-2.5.jar
Copy    jtok-core-1.9.3.jar
Copy    slf4j-log4j12-1.6.1.jar
Copy    log4j-1.2.16.jar
Copy    fast-md5-2.7.1.jar
Copy    groovy-all-2.4.5.jar
Copy    icu4j-54.1.1.jar
Copy    commons-collections-3.2.2.jar
Copy    emotionml-checker-java-1.1.jar
Copy    guava-14.0.1.jar
Copy    trove4j-2.0.2.jar
Copy    httpcore-nio-4.1.jar
Copy    httpcore-4.1.jar
Copy    opennlp-tools-1.5.3.jar
Copy    opennlp-maxent-3.0.3.jar
Copy    hsqldb-2.0.0.jar
Copy    Jampack-1.0.jar
Copy    jama-1.0.3.jar
Copy    swing-layout-1.0.3.jar
Copy    slf4j-api-1.6.1.jar
Copy    jwnl-1.3.3.jar

> Task :server 
MARY server 5.2 starting as a HTTP server... started in 2.888 s on port 59125
shifters67 commented 6 years ago

Thanks for the response - interesting tool SDK which i did not know about.

Installed it - was using 10.0.1 but not the zulu version. Installed it and the same result!

I uninstalled openjdk and installed the oracle 8 version and it all works fine!

Many thanks for this handy tool so i can install and experiment with it!

Tom

psibre commented 6 years ago

Could you please paste your exact command and the output you're getting, including the error message?

shifters67 commented 6 years ago

I was literally typing ./marytts in the marytts-installer-5.2 folder

I got the error Could not determine java version from '10.0.1' and then it exited to shell every time.

I can't create the problem again now as i uninstalled openjdk and sdk

Since installing oracle 8 its working fine and been playing around with via the web interface fine.

Tom

psibre commented 6 years ago

Thanks for the update. I'm just trying to narrow down what's causing the problem, triggered by Java 10. But we're planning more development on this installer soon anyway, including a Gradle update, so hopefully this issue won't persist. I'm closing this for now, but please reopen it and report further details if you manage to reproduce it.

ThaDaVos commented 2 years ago

Having the same issue but then Java 11....

image

After running ./marytts install:cmu-slt

If I clone marytts itself, I can run it just fine - but it's so hard to get voices