- 浏览: 268572 次
- 性别:
- 来自: 新乡
文章分类
- 全部博客 (227)
- servciemix (10)
- db (18)
- javaTools (4)
- hibernate (31)
- web (3)
- spring (14)
- design pattern (4)
- java security (3)
- portal (1)
- ejb (6)
- session (2)
- java_lang (21)
- jbpm (29)
- struts (7)
- orgRights (2)
- project manager Jira (7)
- 跨库事务 (2)
- mysql (14)
- ubuntu (7)
- osgi (9)
- maven ant make (4)
- 分布式 高并发 高性能 (5)
- virgo-dm_server (0)
- osgi web (3)
- platform (1)
- smooks (1)
- business (1)
- 职场生涯 (14)
- Java编码格式 (2)
- web服务 (1)
- 计算机使用 (1)
- 健康工作生活的保障,工作中务必抛掉的不良心态 (4)
- 电信-网络监控 (1)
- 多线程-multithread (1)
- 海量数据-高性能 (2)
- Mybatis (1)
- web开发平台研发 (0)
- oracle (0)
- 应用服务器调优 (0)
- web前端 (0)
- servlet-jsp (0)
- tomcat (2)
- newtouch (1)
- portal_liferay (2)
- version control (1)
- apm-impact (2)
- tools (1)
- 研发管理 (1)
- 电商业务 (1)
- 生鲜电商市场调查 (0)
- PBX (0)
- 房东 (0)
最新评论
-
lifuchao:
...
权限问题 -
Branding:
谢谢,受教了,另外,CONN AS SYSDBA,必须是在操作 ...
Oracle密码忘记了怎么办? -
zhuchao_ko:
...
Portal实现原理 -
败类斯文:
不知道改哪里。。。木有见到红色。。表示悟性低了、、
jira error: Neither the JAVA_HOME nor the JRE_HOME environment variable is defin -
c__06:
正文:假如事务我是这样定义的: <tx:method n ...
Spring中Transactional配置
jira error: Neither the JAVA_HOME nor the JRE_HOME environment variable is defin
jira error: Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one o
2011-09-21 17:37
error:
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
先看Tomcat的startup.bat,它调用了catalina.bat,而catalina.bat则调用了setclasspath.bat。只要在setclasspath.bat的开头声明环境变量,打开tomcat的bin目录下面的setclasspath.sh,添加红色部分,路径自己修改
#!/bin/sh
# -----------------------------------------------------------------------------
# Set CLASSPATH and Java options
#
# $Id: setclasspath.sh 467182 2006-10-23 23:47:06Z markt $
# -----------------------------------------------------------------------------
export JAVA_HOME=/usr/lib/jvm/java-6-sun
export JRE_HOME=/usr/lib/jvm/java-6-sun/jre
# First clear out the user classpath
CLASSPATH=
# Make sure prerequisite environment variables are set
if [ -z "$JAVA_HOME" -a -z "$JRE_HOME" ]; then
# Bugzilla 37284
if $darwin && [ -d "/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home" ]; then
export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home"
else
echo "Neither the JAVA_HOME nor the JRE_HOME environment variable is defined"
echo "At least one of these environment variable is needed to run this program"
exit 1
fi
fi
if [ -z "$JAVA_HOME" -a "$1" = "debug" ]; then
echo "JAVA_HOME should point to a JDK in order to run in debug mode."
exit 1
fi
if [ -z "$JRE_HOME" ]; then
JRE_HOME="$JAVA_HOME"
fi
# If we're running under jdb, we need a full jdk.
if [ "$1" = "debug" -o "$1" = "javac" ] ; then
if [ "$os400" = "true" ]; then
if [ ! -x "$JAVA_HOME"/bin/java -o ! -x "$JAVA_HOME"/bin/javac ]; then
echo "The JAVA_HOME environment variable is not defined correctly"
echo "This environment variable is needed to run this program"
echo "NB: JAVA_HOME should point to a JDK not a JRE"
exit 1
fi
else
if [ ! -x "$JAVA_HOME"/bin/java -o ! -x "$JAVA_HOME"/bin/jdb -o ! -x "$JAVA_HOME"/bin/javac ]; then
echo "The JAVA_HOME environment variable is not defined correctly"
echo "This environment variable is needed to run this program"
echo "NB: JAVA_HOME should point to a JDK not a JRE"
exit 1
fi
fi
fi
if [ -z "$BASEDIR" ]; then
echo "The BASEDIR environment variable is not defined"
echo "This environment variable is needed to run this program"
exit 1
fi
if [ ! -x "$BASEDIR"/bin/setclasspath.sh ]; then
if $os400; then
# -x will Only work on the os400 if the files are:
# 1. owned by the user
# 2. owned by the PRIMARY group of the user
# this will not work if the user belongs in secondary groups
eval
else
echo "The BASEDIR environment variable is not defined correctly"
echo "This environment variable is needed to run this program"
exit 1
fi
fi
# Set the default -Djava.endorsed.dirs argument
JAVA_ENDORSED_DIRS="$BASEDIR"/endorsed
# Set standard CLASSPATH
if [ "$1" = "debug" -o "$1" = "javac" ] ; then
CLASSPATH="$JAVA_HOME"/lib/tools.jar
fi
# OSX hack to CLASSPATH
JIKESPATH=
if [ `uname -s` = "Darwin" ]; then
OSXHACK="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes"
if [ -d "$OSXHACK" ]; then
for i in "$OSXHACK"/*.jar; do
JIKESPATH="$JIKESPATH":"$i"
done
fi
fi
# Set standard commands for invoking Java.
_RUNJAVA="$JRE_HOME"/bin/java
if [ "$os400" != "true" ]; then
_RUNJDB="$JAVA_HOME"/bin/jdb
fi
_RUNJAVAC="$JAVA_HOME"/bin/javac
2011-09-21 17:37
error:
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
先看Tomcat的startup.bat,它调用了catalina.bat,而catalina.bat则调用了setclasspath.bat。只要在setclasspath.bat的开头声明环境变量,打开tomcat的bin目录下面的setclasspath.sh,添加红色部分,路径自己修改
#!/bin/sh
# -----------------------------------------------------------------------------
# Set CLASSPATH and Java options
#
# $Id: setclasspath.sh 467182 2006-10-23 23:47:06Z markt $
# -----------------------------------------------------------------------------
export JAVA_HOME=/usr/lib/jvm/java-6-sun
export JRE_HOME=/usr/lib/jvm/java-6-sun/jre
# First clear out the user classpath
CLASSPATH=
# Make sure prerequisite environment variables are set
if [ -z "$JAVA_HOME" -a -z "$JRE_HOME" ]; then
# Bugzilla 37284
if $darwin && [ -d "/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home" ]; then
export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home"
else
echo "Neither the JAVA_HOME nor the JRE_HOME environment variable is defined"
echo "At least one of these environment variable is needed to run this program"
exit 1
fi
fi
if [ -z "$JAVA_HOME" -a "$1" = "debug" ]; then
echo "JAVA_HOME should point to a JDK in order to run in debug mode."
exit 1
fi
if [ -z "$JRE_HOME" ]; then
JRE_HOME="$JAVA_HOME"
fi
# If we're running under jdb, we need a full jdk.
if [ "$1" = "debug" -o "$1" = "javac" ] ; then
if [ "$os400" = "true" ]; then
if [ ! -x "$JAVA_HOME"/bin/java -o ! -x "$JAVA_HOME"/bin/javac ]; then
echo "The JAVA_HOME environment variable is not defined correctly"
echo "This environment variable is needed to run this program"
echo "NB: JAVA_HOME should point to a JDK not a JRE"
exit 1
fi
else
if [ ! -x "$JAVA_HOME"/bin/java -o ! -x "$JAVA_HOME"/bin/jdb -o ! -x "$JAVA_HOME"/bin/javac ]; then
echo "The JAVA_HOME environment variable is not defined correctly"
echo "This environment variable is needed to run this program"
echo "NB: JAVA_HOME should point to a JDK not a JRE"
exit 1
fi
fi
fi
if [ -z "$BASEDIR" ]; then
echo "The BASEDIR environment variable is not defined"
echo "This environment variable is needed to run this program"
exit 1
fi
if [ ! -x "$BASEDIR"/bin/setclasspath.sh ]; then
if $os400; then
# -x will Only work on the os400 if the files are:
# 1. owned by the user
# 2. owned by the PRIMARY group of the user
# this will not work if the user belongs in secondary groups
eval
else
echo "The BASEDIR environment variable is not defined correctly"
echo "This environment variable is needed to run this program"
exit 1
fi
fi
# Set the default -Djava.endorsed.dirs argument
JAVA_ENDORSED_DIRS="$BASEDIR"/endorsed
# Set standard CLASSPATH
if [ "$1" = "debug" -o "$1" = "javac" ] ; then
CLASSPATH="$JAVA_HOME"/lib/tools.jar
fi
# OSX hack to CLASSPATH
JIKESPATH=
if [ `uname -s` = "Darwin" ]; then
OSXHACK="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes"
if [ -d "$OSXHACK" ]; then
for i in "$OSXHACK"/*.jar; do
JIKESPATH="$JIKESPATH":"$i"
done
fi
fi
# Set standard commands for invoking Java.
_RUNJAVA="$JRE_HOME"/bin/java
if [ "$os400" != "true" ]; then
_RUNJDB="$JAVA_HOME"/bin/jdb
fi
_RUNJAVAC="$JAVA_HOME"/bin/javac
发表评论
-
关于分工协作
2012-02-27 11:29 918一、任何工作都要经过一下步骤 1、以一人为主先行设计,拿出初稿 ... -
安装maven和Jira到Eclipse
2011-11-13 11:30 1687安装maven到Eclipse 14.1. 简介 Eclip ... -
SubVersion
2011-10-29 15:27 9SubVersion 出自Ubuntu中文 ... -
ubuntu10.10中安装subversion
2011-10-29 12:00 6ubuntu下安装svn确定比较简单。 1、安装 sudo ... -
Subversion+RabbitVCS 版本控制
2011-10-29 11:59 2174Ubuntu 10.04学习笔记(4) ... -
安装apache和subsersion on linux
2011-10-29 11:58 5一. 安装apr依赖库(Apache Portable Ru ... -
rethat安装svnserver(转)
2011-10-29 11:27 6rethat安装svnserver 1. 本 ... -
ubuntu下svn服务器的安装配置
2011-10-28 17:23 5ubuntu下svn服务器的安装配置 2011年01月1日 / ... -
查看ubuntu是多少位的操作系统
2011-10-27 16:11 1291运行命令 uname -a -
Ubuntu下SCIM应该是最好的中文输入法
2011-10-27 15:53 682Ubuntu下SCIM应该是最好的中文输入法了,它与搜狗差不多 ... -
'java.lang.OutOfMemoryError PermGen Space' 错误导致JIRA崩溃
2011-10-26 19:08 1548'java.lang.OutOfMemoryError Per ... -
Linux中配置MySQL随系统的自动启动和关闭
2011-10-25 18:28 1056Linux中配置MySQL和tomcat随系统的自动启动和关闭 ... -
Linux环境变量的设置和查看方法
2011-10-25 18:04 777Linux环境变量的设置和查看方法 时间:2011-01-0 ... -
如何在ubuntu 10.04中安装与配置JDK
2011-10-24 18:50 1191如何在ubuntu 10.04中安装与配置JDK 201 ... -
ubuntu linux下配置多个mysql实例 (Larry徐刚原创)
2011-10-22 18:10 3025port ,socket,pid-file,datadir这四 ... -
Jira的安装步骤
2011-10-19 14:00 1337第一步:oracle官网下装安装 jdk-6u24-wi ... -
如何做好项目经理
2011-08-31 22:12 973我觉得做项目关键还是 ...
相关推荐
阿尔弗雷德·吉拉(Alfred Jira)搜索 Alfred工作流程可快速搜索您的Jira问题 :magnifying_glass_tilted_right: 安装 从下载最新的工作流。 您将收到有关Alfred未来更新的通知。 配置 系统将要求您使用以下值配置...
标题中的“Unknown system variable 'storage_engine'”是一个MySQL数据库错误信息,表示系统未找到名为'storage_engine'的变量。这个变量在MySQL 5.7版本中被弃用,替换为'innodb_storage_engine'。这通常是由于旧...
**JIRA工具详解** JIRA是一款由Atlassian公司开发的项目与任务管理工具,尤其以其强大的缺陷跟踪(bug tracking)功能而闻名。本教程将深入探讨JIRA在bug跟踪、项目管理和工具使用上的核心概念。 ### 一、JIRA基础...
export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib export PATH=${JAVA_HOME}/bin:$PATH ``` - 使配置生效: ```bash source ~/.bashrc ``` - 验证JDK是否安装成功:...
export PATH=$PATH:/opt/jdk1.6.0_37/bin:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$HOME/bin ``` - 保存文件并应用更改:`source /etc/profile` - 验证JDK安装:`java -version` 1.3 测试JDK配置: - 编写一个简单...
commitlint-jira commitlint-jira检查您的提交消息是否符合Jira常规提交格式。 有关技巧和您可以阅读此入门。安装依赖项npm install --save-dev @commitlint/cli commitlint-plugin-jira-rules commitlint-config-...
适用于jira4.4 jira_crack.zip(JIRA4破解补丁) 使用说明:http://blog.csdn.net/ctbinzi/archive/2010/11/06/5991892.aspx
Jira Nextcloud 应用程序 :blue_square: Jira 集成提供了一个仪表板小部件,显示您的重要通知,一个统一的搜索提供程序,用于搜索与您分配的问题相关的最近活动的问题和通知。 :wrench: 配置 用户设置 帐户配置...
### JIRA工作流详解 #### 一、工作流概述 工作流是指问题在其生命周期中经历的一系列步骤和阶段的变化过程。这种变化往往反映了实际业务流程的处理方式。在JIRA中,通过定义一系列状态来模拟问题的整个生命周期,...
标题 "JIRA到Matrix机器人_TypeScript_下载.zip" 暗示了这是一个使用TypeScript编写的项目,目的是将数据从JIRA(一个流行的项目管理和问题跟踪工具)集成到Matrix(一个去中心化的通信网络)。这个压缩包可能包含了...
Java_Jira所需Jar包是开发与Atlassian Jira系统交互的应用程序时不可或缺的依赖库。Jira是一款流行的项目管理和问题追踪工具,广泛用于软件开发团队。为了在Java环境中与Jira进行集成,开发者通常需要引入特定的Jira...
(模板)JIRA需求号_JIRA需求名称_用例_平台_李银池_20200101.xmind
吉拉 用于外壳程序脚本的JIRA ...jira:issue_add_comment " AA-999 " " Hello World " 检查问题是否为子任务: if [[ $( issue_is_subtask " AA-999 " ) == " true " ]] ; then echo " is subtask " if 获取问
CLASS_PATH="$JAVA_HOME/lib:$JAVA_HOME/jre/lib" PATH=".:$PATH:$JAVA_HOME/bin" export JAVA_HOME CLASS_PATH PATH ``` 3. 使更改立即生效。 ```bash source /etc/profile ``` 4. **验证JDK安装**: ...
Atlassian JSON Atlassian json的备份存档。 Atlassian Downloader可。支持产品: 产品当前的档案EAP :check_mark_button: :check_mark_button: :check_mark_button: :check_mark_button: :check_mark_button: :...
export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$CLASSPATH export JIRA_HOME=/usr/local/jira/atlassian-jira/ export JIRA_WEBAPP=/usr/local/jira/ ``` 3. **验证JDK安装** 重新加载`/etc/profile...
1.停止JIRA服务 2.JIRA 基本中文插件: a.下载插件文件 jira-lang-zh_CN-4.4.jar b.将文件名称修改为 jira-lang-zh_CN-JIRA版本号.jar。 如果你使用的是JIRA4.4.1, 就将文件名修改为 jira-lang-zh_...
GreenHopper V5.3破解 已验证
《Jira安装指南》 1. 引言 本指南旨在提供详尽的Jira安装步骤,以便在项目开发过程中实现高效的任务管理、项目计划、需求跟踪和错误追踪。目标受众为所有系统管理员,无论您是初次接触还是有经验的Jira用户,此...
JIRA Brancher将在$HOME/.jirabrancher存储3个值: JIRA_HOST -JIRA服务器的主机名JIRA_USER您的JIRA帐户的用户名JIRA_BASICAUTH用于连接到JIRA服务器的HTTP基本身份验证令牌在随后的运行中,您只需要提供一个JIRA...