fjossinet / RNArtist

With RNArtist, you construct a collection of RNA structures that can be gathered into RNA families, projects,...
https://twitter.com/rnartist_app
Other
158 stars 10 forks source link

Compile Error on Ubuntu 18.04.5 with OpenJDK and Maven installed #2

Closed patbohn closed 3 years ago

patbohn commented 3 years ago

Hello, While following the instructions to install, I came across this compile error:

[INFO] Changes detected - recompiling the module!
[INFO] Compiling 19 source files to /home/patrick/tools/RNArtist/RNArtist/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:00 min
[INFO] Finished at: 2021-01-04T11:52:19+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (java-compile) on project rnartist: Fatal error compiling: error: release version 15 not supported -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

The installed version of java is:

$ java --version
openjdk 11.0.9.1 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.18.04)
OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.18.04, mixed mode, sharing)

The maven version is:

$ mvn -version
Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 11.0.9.1, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-52-generic", arch: "amd64", family: "unix"
patbohn commented 3 years ago

Update: I have now compiled it successfully by changing java.version from 15 to 11 in the pom.xml file.

However, when I now try to register, the Error "Connection refused" shows up.

fjossinet commented 3 years ago

Hi.

The registering step is not active now. You can cancel this step. I will remove the registration step for the official release and will come back later to its implementation.

fjossinet commented 3 years ago

I have inactivated the user registration in the last commit. Let me know if it works. Thanks

patbohn commented 3 years ago

I see, yes the software itself started up after cancelling, so that's working fine, and I could successfully import your examples!

If you're interested in some feedback, I've noticed a few things about file import:

And two graphical issues:

Then lastly I would like to recommend two features that I think would be very useful for RNA (which I understand may fall behind priorities, but sadly I am no use in java to implement it ...):

I hope you find some of this useful. Best wishes, Patrick

fjossinet commented 3 years ago

Thank you Patrick for your nice feedback:

Fabrice

fjossinet commented 3 years ago

Commit done