Apache Ignite - 如何在没有任何IDE的情况下运行Hello World示例(Eclipse,InteliJ)

时间:2017-06-26 18:22:31

标签: java apache ignite

来自此处的示例: https://ggfabric.blogspot.com/2015/12/apache-ignite-hello-world-example.html?showComment=1498501033189

我可以在笔记本电脑上启动Apache Ignite,但mvn对我不起作用(可能是过时的版本或示例)。

是否有一个非常简单的整个POM文件(版本2.0.0)和简单的HelloWorld.java示例,可以在没有任何IDE(Eclipse,InteliJ等)的情况下从命令行(通过mvn编译)工作。只想快速尝试Ignite而不需要任何额外的开销..

谢谢!

1 个答案:

答案 0 :(得分:1)

二进制包包含!SESSION 2017-06-27 00:39:29.113 ----------------------------------------------- eclipse.buildId=4.7.0.I20170531-2000 java.version=1.8.0_91 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product !ENTRY org.eclipse.egit.ui 2 0 2017-06-27 00:39:50.111 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\Enrico'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !SESSION 2017-06-27 00:41:04.510 ----------------------------------------------- eclipse.buildId=4.7.0.I20170531-2000 java.version=1.8.0_91 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT Framework arguments: -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product -data file:/C:/Users/Enrico/workspace/ -product org.eclipse.epp.package.java.product !ENTRY org.eclipse.egit.ui 2 0 2017-06-27 00:41:13.439 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\Enrico'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !SESSION 2017-06-27 00:42:32.097 ----------------------------------------------- eclipse.buildId=4.7.0.I20170531-2000 java.version=1.8.0_91 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product !ENTRY org.eclipse.egit.ui 2 0 2017-06-27 00:42:42.119 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\Enrico'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !SESSION 2017-06-27 00:45:05.785 ----------------------------------------------- eclipse.buildId=4.7.0.I20170531-2000 java.version=1.8.0_91 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT Framework arguments: -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product -data file:/C:/Users/Enrico/workspace/ -product org.eclipse.epp.package.java.product !ENTRY org.eclipse.egit.ui 2 0 2017-06-27 00:45:13.542 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\Enrico'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !SESSION 2017-06-27 00:47:39.707 ----------------------------------------------- eclipse.buildId=4.7.0.I20170531-2000 java.version=1.8.0_91 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product !ENTRY org.eclipse.egit.ui 2 0 2017-06-27 00:47:49.374 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\Enrico'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. 文件夹,这是一个独立的Maven项目。您可以使用它来构建和运行示例。