Removed support for adding jar files to the classpath, since it didn't work anyway
with the new -jar starter.
This commit is contained in:
parent
808a1e8f00
commit
a028092e40
2 changed files with 8 additions and 15 deletions
|
@ -1,6 +1,9 @@
|
|||
@echo off
|
||||
rem Batch file for Starting Helma with a JDK-like virtual machine.
|
||||
|
||||
rem To add jar files to the classpath, simply place them into the
|
||||
rem lib/ext directory of this Helma installation.
|
||||
|
||||
:: Initialize variables
|
||||
:: (don't touch this section)
|
||||
set JAVA_HOME=
|
||||
|
@ -27,9 +30,6 @@ rem set JAVA_HOME=c:\program files\java
|
|||
:: Uncomment to pass options to the Java virtual machine
|
||||
rem set JAVA_OPTIONS=-server -Xmx128m
|
||||
|
||||
:: Uncomment to add your own jar files to the class path
|
||||
rem set JARS=C:\path\to\some.jar
|
||||
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
:::::: No user configuration needed below this line :::::::
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
|
@ -74,9 +74,6 @@ if not "%HOP_HOME%"=="" (
|
|||
echo Serving applications from %HOP_HOME%
|
||||
set OPTIONS=%OPTIONS% -h "%HOP_HOME%
|
||||
)
|
||||
if not "%JARS%"=="" (
|
||||
set JARS=-classpath %JARS%
|
||||
)
|
||||
|
||||
:: Invoking the Java virtual machine
|
||||
%JAVACMD% %JAVA_OPTIONS% %JARS% -jar launcher.jar %OPTIONS%
|
||||
%JAVACMD% %JAVA_OPTIONS% -jar launcher.jar %OPTIONS%
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
#!/bin/sh
|
||||
# Shell script for starting Helma with a JDK-like virtual machine.
|
||||
|
||||
# To add JAR files to the classpath, simply place them into the
|
||||
# lib/ext directory.
|
||||
|
||||
# uncomment to set JAVA_HOME variable
|
||||
# JAVA_HOME=/usr/lib/java
|
||||
|
||||
|
@ -17,9 +20,6 @@ HTTP_PORT=8080
|
|||
# AJP13_PORT=8009
|
||||
# RMI_PORT=5050
|
||||
|
||||
# Set additional classpath
|
||||
# JARS=/path/to/some/file.jar
|
||||
|
||||
###########################################################
|
||||
###### No user configuration needed below this line #######
|
||||
###########################################################
|
||||
|
@ -63,10 +63,6 @@ fi
|
|||
if [ "$HOP_HOME" ]; then
|
||||
SWITCHES="$SWITCHES -h $HOP_HOME"
|
||||
fi
|
||||
if [ "$JARS" ]; then
|
||||
JARS="-classpath $JARS"
|
||||
fi
|
||||
|
||||
|
||||
# Invoking the Java VM
|
||||
$JAVACMD $JAVA_OPTIONS $JARS -jar launcher.jar $SWITCHES
|
||||
$JAVACMD $JAVA_OPTIONS -jar launcher.jar $SWITCHES
|
||||
|
|
Loading…
Add table
Reference in a new issue