Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Minor change requested for dmk.sh(Please read setenv.sh before calling setupClasspath.sh)
Minor change requested for dmk.sh [message #1761209] Mon, 08 May 2017 22:58 Go to next message
Bill Mair is currently offline Bill MairFriend
Messages: 72
Registered: July 2009
Member
Hi,

I set the variable "JAVA_HOME" in "$KERNEL_HOME/bin/setenv.sh" but it is read after "$KERNEL_HOME/bin/setupClasspath.sh" is called so I always get the warning "The JAVA_HOME environment variable is not defined. Using PATH instead.".

Moving the setenv.sh before setupClasspath.sh solves this for me, so might I suggest that the delivered dmk.sh be changed the same way?

# execute user setenv script if needed
if [ -r "$KERNEL_HOME/bin/setenv.sh" ]
then
        . $KERNEL_HOME/bin/setenv.sh
fi

# setup classpath and java environment
. "$KERNEL_HOME/bin/setupClasspath.sh"


Regards,
Bill
Re: Minor change requested for dmk.sh [message #1761215 is a reply to message #1761209] Tue, 09 May 2017 05:47 Go to previous messageGo to next message
Violeta Georgieva is currently offline Violeta GeorgievaFriend
Messages: 11
Registered: October 2016
Junior Member
Hi,

Please create bugzilla issue and attach a patch there.

Thanks,
Violeta
Re: Minor change requested for dmk.sh [message #1761231 is a reply to message #1761215] Tue, 09 May 2017 09:18 Go to previous message
Bill Mair is currently offline Bill MairFriend
Messages: 72
Registered: July 2009
Member
Bug report with attached patch file submitted: Bug report.
Previous Topic:Configuring security context for "/admin"
Next Topic:Virgo 3.7.0 Spring bundles from plugins conflicts with repo/ext bundles
Goto Forum:
  


Current Time: Wed Apr 24 23:59:46 GMT 2024

Powered by FUDForum. Page generated in 0.03206 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top