Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to deploy #2311

Closed
nicram-cf opened this issue Jun 17, 2019 · 7 comments
Closed

Failed to deploy #2311

nicram-cf opened this issue Jun 17, 2019 · 7 comments
Labels
topic: Deployment configuration, startup command

Comments

@nicram-cf
Copy link

Recently Oracle introduced to install JRE 8 you have to create account, but this is free only for personal usage.
On Debian 9 there is only Open JDK/JRE so build fails

> Task :generateProto UP-TO-DATE
Using TaskInputs.file() with something that doesn't resolve to a File object has been deprecated and is scheduled to be removed in Gradle 5.0. Use TaskInputs.files() instead.

> Task :compileJava 
/home/tron/FullNode/java-tron/src/main/java/org/tron/common/overlay/discover/DiscoverServer.java:21: warning: Arg is internal proprietary API and may be removed in a future release
import com.sun.org.apache.xpath.internal.Arg;
                                        ^
Note: class org.pf4j.processor.ExtensionAnnotationProcessor init
/home/tron/FullNode/java-tron/src/main/java/org/tron/common/overlay/discover/DiscoverServer.java:21: warning: Arg is internal proprietary API and may be removed in a future release
import com.sun.org.apache.xpath.internal.Arg;
                                        ^
/home/tron/FullNode/java-tron/src/main/java/org/tron/core/db/Manager.java:40: error: package javafx.util does not exist
import javafx.util.Pair;
                  ^
/home/tron/FullNode/java-tron/src/main/java/org/tron/core/db/KhaosDatabase.java:15: error: package javafx.util does not exist
import javafx.util.Pair;
                  ^
/home/tron/FullNode/java-tron/src/main/java/org/tron/core/db/KhaosDatabase.java:273: error: cannot find symbol
  public Pair<LinkedList<KhaosBlock>, LinkedList<KhaosBlock>> getBranch(Sha256Hash block1,
         ^
  symbol:   class Pair
  location: class KhaosDatabase
/home/tron/FullNode/java-tron/src/main/java/org/tron/core/db/KhaosDatabase.java:321: error: cannot find symbol
  public Pair<LinkedList<BlockCapsule>, LinkedList<BlockCapsule>> getBranch(
         ^
  symbol:   class Pair
  location: class KhaosDatabase
/home/tron/FullNode/java-tron/src/main/java/org/tron/core/net/service/SyncService.java:17: error: package javafx.util does not exist
import javafx.util.Pair;
                  ^
/home/tron/FullNode/java-tron/src/main/java/org/tron/core/net/peer/PeerConnection.java:14: error: package javafx.util does not exist
import javafx.util.Pair;
                  ^
/home/tron/FullNode/java-tron/src/main/java/org/tron/core/net/peer/PeerConnection.java:101: error: cannot find symbol
  @Getter
  ^
  symbol:   class Pair
  location: class PeerConnection
/home/tron/FullNode/java-tron/src/main/java/org/tron/common/overlay/discover/DiscoverServer.java:21: warning: Arg is internal proprietary API and may be removed in a future release
import com.sun.org.apache.xpath.internal.Arg;
                                        ^
7 errors
3 warnings


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

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

* Get more help at https://help.gradle.org

BUILD FAILED in 8s
4 actionable tasks: 1 executed, 3 up-to-date
cp: cannot stat '/home/tron/FullNode/java-tron/build/libs/FullNode.jar': No such file or directory
FullNode killed
starting FullNode

run FullNode failed, please check your parameters
@taihaofu
Copy link
Contributor

Unfortunately we don't support Open jdk for now. build doc. You may not be able to set up FullNode on Open JDK system. We will evaluate the voice from community. But for now we prefer to keep it without any changes.

@nicram-cf
Copy link
Author

Ok, thanks for answer, but this way you are closing access to your coin.
We run big exchange market and TRX was one of available coins now we are forced to withdraw this coin :(.

@taihaofu
Copy link
Contributor

OK. We will do a research on this.

@nicram-cf
Copy link
Author

@taihaofu Thanks a lot.

@shydesky
Copy link
Contributor

you can use the Oracle jdk/jre before the version of 8u191 for free

@nicram-cf
Copy link
Author

nicram-cf commented Jun 28, 2019

@shydesky could you paste a link to this soft for debian/ubuntu? all oracle jdk/jre .deb packages were removed from ppa repositories
even downloading version 8u191 http://download.oracle.com/otn/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jre-8u191-linux-x64.tar.gz you have to have an oracle account

@shydesky
Copy link
Contributor

shydesky commented Jul 9, 2019

@nicram-cf yes, it needs an oracle account, you can just sign up one and then use it for free. you will not need to consider the jdk license before the version 8u191.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: Deployment configuration, startup command
Projects
None yet
Development

No branches or pull requests

4 participants