Menu

#273 Irix does not support -server flag

v3.0 Rabbit Hole
open
nobody
5
2002-09-02
2002-09-02
No

Java2v14 (currently in Beta) on Irix uses HotSpot as
its default VM.
However, it does not support the -server flag.
Consequently, the
following patch should be applied to the startup script:

--- jboss-3.0.0/bin/run.sh.orig Mon Sep 2 13:11:10 2002
+++ jboss-3.0.0/bin/run.sh Mon Sep 2 13:12:18 2002
@@ -29,6 +29,7 @@
# OS specific support (must be 'true' or 'false').
cygwin=false;
darwin=false;
+irix=false;
case "`uname`" in
CYGWIN*)
cygwin=true
@@ -37,6 +38,10 @@
Darwin*)
darwin=true
;;
+
+ IRIX*)
+ irix=true;
+ ;;
esac

# For Cygwin, ensure paths are in UNIX format before
anything is touched
@@ -105,7 +110,7 @@
# If JAVA_OPTS is not set and the JVM is HOTSPOT
enabled, then the server mode
if [ "x$JAVA_OPTS" = "x" -a "x$HAS_HOTSPOT" != "x" ]; then
# MacOS does not support -server flag
- if [ "$darwin" != "true" ]; then
+ if [ "$darwin" != "true" -a "$irix" != "true" ]; then
JAVA_OPTS="-server"
fi
fi

Discussion


Log in to post a comment.