gpt4 book ai didi

java - 在 Ubuntu10.04 Linux 中启动 Jade

转载 作者:塔克拉玛干 更新时间:2023-11-03 04:09:10 24 4
gpt4 key购买 nike

当我在 ubuntu linux 的终端中运行以下命令时,我还正确设置了 ClassPath,但我没有成功。

java jade.Boot -gui

我在终端窗口中收到以下错误:

15 Jun, 2011 6:33:10 PM jade.core.Runtime beginContainer
INFO: ----------------------------------
This is JADE snapshot - revision 6357 of 2010/07/06 16:27:34
downloaded in Open Source, under LGPL restrictions,
at http://jade.tilab.com/
----------------------------------------
Retrieving CommandDispatcher for platform null
15 Jun, 2011 6:33:11 PM jade.imtp.leap.CommandDispatcher addICP
WARNING: Error adding ICP jade.imtp.leap.JICP.JICPPeer@ae506e[Error: Not possible to launch JADE on a remote host (127.0.1.1). Check the -host and -local-host options.].
15 Jun, 2011 6:33:11 PM jade.core.AgentContainerImpl joinPlatform
SEVERE: Communication failure while joining agent platform: No ICP active
jade.core.IMTPException: No ICP active
at jade.imtp.leap.LEAPIMTPManager.initialize(LEAPIMTPManager.java:138)
at jade.core.AgentContainerImpl.init(AgentContainerImpl.java:316)
at jade.core.AgentContainerImpl.joinPlatform(AgentContainerImpl.java:482)
at jade.core.Runtime.createMainContainer(Runtime.java:165)
at jade.Boot.main(Boot.java:89)
15 Jun, 2011 6:33:11 PM jade.core.Runtime$1 run
INFO: JADE is closing down now.

帮助我从这个错误中恢复。

最佳答案

我已经厌倦了这个问题。这是 JADE 的许多怪癖和问题之一。

您面临的问题是您需要在命令行中提供正确的主机信息。示例

java jade.Boot -gui -local-host

这一切都在这里描述:http://jade.tilab.com/doc/tutorials/JADEAdmin/startJade.html

在很多情况下您不会遇到这个问题,那么只使用 -gui 选项就足够了。但是我发现当您解析为 127.0.1.1 时,Jade 不能很好地工作。您可以通过在 Linux 中设置您的 IP 地址来解决此问题,或者如果您使用的是 Linux,请编辑您的/etc/hosts 文件以获得更永久的解决方案。

关于java - 在 Ubuntu10.04 Linux 中启动 Jade,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6359463/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com