![](https://csdnimg.cn/release/download_crawler_static/87226076/bgb.jpg)
n
报错:Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.
解决方法:
cd
ls -al
vi .bash_profile 文件,增加以下两行内容:(注意修改为自己远程服务器上实际的jre路径)
export INSTALL4J_JAVA_HOME=/weblogic/bea/jdk150_10/jre
执行 source .bash_profile 使环境变量立即生效。
3. 报错内容如下:
Starting Installer ...
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:853)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1257)
at com.install4j.runtime.installer.Installer.main(Unknown Source)
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires
it.
Could not display the GUI. This application needs access to an X Server.
If you have access there is probably an X library missing.
*******************************************************************
You can also run this application in console mode without
access to an X server by passing the argument -c
*******************************************************************
An error occurred:
java.lang.RuntimeException
Error log: /tmp/install4jError25068.log
解决方法:执行 jprofiler_linux_5_1_4.sh -c
五 功能简介
在本地启动 JProfiler,选择打开,选择配置好的远程服务器 session。启动后会出现下面