文档介绍::-=true\具体位置:利用jsp,tomcat和jasperReport工具,开发一个报表管理web系统,在windows下测试正常,但在linux下部署却遇到了x11的问题,大概就是如下的错误代码::Can'tconnecttoX11windowserverusing':',最终发现了网友们提供的几个解决办法,,启动java时加上-=true的参数。,下载 xvfb或者其他的虚拟x-window软件,再在Java运行环境里的DISPLAY作相应改变。,具体的修改办法是,,把其中的args=行修改为args=- =true。,-=true 具体位置如下所示,#!/bin/sh#-----------------------------------------------------------------------------#Start/StopScriptfortheCATALINAServer##EnvironmentVariablePrequisites##  CATALINA_HOME  MaypointatyourCatalina"build"directory.##  CATALINA_BASE  (Optional)Basedirectoryforresolvingdynamicportions#                  ofaCatalinainstallation. Ifnotpresent,resolvesto#                  thesamedirectorythatCATALINA_HOMEpointsto.##  CATALINA_OPTS  (Optional)Javaruntimeoptionsusedwhenthe"start",#                  "stop",or"mandisexecuted.##  CATALINA_TMPDIR(Optional)Directorypathlocationoftemporarydirectory#                  theJVMshoulduse(). Defaultsto#                  $CATALINA_BASE/temp.##  JAVA_HOME      MustpointatyourJavaDevelopmentKitinstallation.##  JAVA_OPTS      (Optional)Javaruntimeoptionsusedwhenthe"start",#                  "stop",or"mandisexecuted.##  JPDA_TRANSPORT (Optio