You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Erhan Baz <er...@yahoo.com> on 2002/06/26 15:48:11 UTC
Error: Unrecognised JVM specific option '-Xms16m'
I couldn't start Xindice server on Mandrake Linux. I
know there is a wrong with Java. I get such an error:
Starting Xindice
-------------------------------------------------
Error: Unrecognised JVM specific option '-Xms16m'
Error: Unrecognised JVM specific option '-Xmc168m'
Couldn't find or load essential class
'lava/lang/Object' java.lang.noClassDefFoundError
java/lang/Object
./start: line 73: 1613 Aborted
68m -Dxindice.home="$XINDICE_HOME" $VMPROPS -classpath
"$CLASSPATH" org.apachi.xindice.server.Xindice $*
Thanks for your helps
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
Re: AW: Error: Unrecognised JVM specific option '-Xms16m'
Posted by Erhan Baz <er...@yahoo.com>.
I did it but still gives the same result.
--- Stefan Lischke <li...@novacom.net> wrote:
> Hi,
>
> maybe u have to make ulimit -s 2048 before
> thats what i always have to do
>
> mfg stefan
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
AW: Error: Unrecognised JVM specific option '-Xms16m'
Posted by Stefan Lischke <li...@novacom.net>.
Hi,
maybe u have to make ulimit -s 2048 before
thats what i always have to do
mfg stefan
Re: Error: Unrecognised JVM specific option '-Xms16m'
Posted by Erhan Baz <er...@yahoo.com>.
Yes Brad you are right. There is another java in
/usr/local that version:1.1
I will delete it.
Thankyou
--- Brad Burdick <bb...@media.org> wrote:
> > Yes This option isn't supported by 1.4.0. At least
> at
> > mine. But I could run same Xindice on Windiws NT
> with
> > 1.4.0.
> >
> > What I must do now? does it makes sense deleting
> these
> > options from start file.
>
> you could certainly try removing those options.
> Xindice may not be happy
> with the default values the JVM uses, though. the
> -Xmc option looks like
> a typo in your start script.
>
> the java 1.4 docs show that both -Xms and -Xmx are
> still non-standard options,
> so they should work.
>
>
>
http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/java.html
>
>
> it would probably be a good idea to verify that you
> do not have more than
> one JVM installed. since the java cmd in the start
> script doesn't use a
> full path, it will use whichever java it finds first
> in the current PATH.
>
> running 'which java' from your login shell on the
> mandrake system should
> do it.
>
> % which java
> /usr/j2se/bin/java
>
> and java -version would be useful.
>
> % java -version
> java version "1.3.1_01"
> Java(TM) 2 Runtime Environment, Standard Edition
> (build 1.3.1_01)
> Java HotSpot(TM) Client VM (build 1.3.1_01, mixed
> mode)
>
>
> -brad
>
> > --- Brad Burdick <bb...@media.org> wrote:
> > > > I mean all system variables are set correctly.
> But
> > > I
> > > > am not sure that a specific path that located
> in
> > > > Xindice should be included in CLASSPATH
> variable
> > >
> > > is JDK 1.4 supported? the -Xms option is
> > > non-standard and may have changed
> > > since 1.3 or earlier releases. i don't see a
> -Xmc
> > > option in 1.3.1. i don't
> > > have 1.4 to check what it supports.
> > >
> > > -brad
> > >
> > > % java -version
> > > java version "1.3.1_01"
> > > Java(TM) 2 Runtime Environment, Standard Edition
> > > (build 1.3.1_01)
> > > Java HotSpot(TM) Client VM (build 1.3.1_01,
> mixed
> > > mode)
> > >
> > > % java -X
> > > -Xmixed mixed mode execution
> (default)
> > > -Xint interpreted mode execution
> > > only
> > > -Xbootclasspath:<directories and zip/jar
> files
> > > separated by ;>
> > > set search path for
> bootstrap
> > > classes and resources
> > > -Xbootclasspath/a:<directories and zip/jar
> files
> > > separated by ;>
> > > append to end of bootstrap
> > > class path
> > > -Xbootclasspath/p:<directories and zip/jar
> files
> > > separated by ;>
> > > prepend in front of
> bootstrap
> > > class path
> > > -Xnoclassgc disable class garbage
> > > collection
> > > -Xincgc enable incremental garbage
> > > collection
> > > -Xbatch disable background
> compilation
> > > -Xms<size> set initial Java heap size
> > > -Xmx<size> set maximum Java heap size
> > > -Xss<size> set java thread stack size
> > > -Xprof output cpu profiling data
> > > -Xrunhprof[:help]|[:<option>=<value>, ...]
> > > perform JVMPI heap, cpu,
> or
> > > monitor profiling
> > > -Xdebug enable remote debugging
> > > -Xfuture enable strictest checks,
> > > anticipating future default
> > > -Xrs reduce use of OS signals
> by
> > > Java/VM (see documentation)
> > >
> > > The -X options are non-standard and subject to
> > > change without notice.
> > >
> > >
> > > >
> > > > > Yes. I have written
> > > JAVA_HOME=/usr/local/j2sdk1.4.0
> > > > > in
> > > > > .bashrc file..
> > > > >
> > > > > --- "Mark J. Stang"
> <ma...@earthlink.net>
> > > wrote:
> > > > > > Is JAVA_HOME set correctly?
> > > > > >
> > > > > >
> > > > > > Erhan Baz wrote:
> > > > > >
> > > > > > > I couldn't start Xindice server on
> Mandrake
> > > > > Linux.
> > > > > > I
> > > > > > > know there is a wrong with Java. I get
> such
> > > an
> > > > > > error:
> > > > > > >
> > > > > > > Starting Xindice
> > > > > > >
> > > > >
> > >
> -------------------------------------------------
> > > > > > > Error: Unrecognised JVM specific option
> > > > > '-Xms16m'
> > > > > > > Error: Unrecognised JVM specific option
> > > > > '-Xmc168m'
> > > > > > > Couldn't find or load essential class
> > > > > > > 'lava/lang/Object'
> > > > > java.lang.noClassDefFoundError
> > > > > > > java/lang/Object
> > > > > > > ./start: line 73: 1613 Aborted
> > > > > > > 68m -Dxindice.home="$XINDICE_HOME"
> $VMPROPS
> > > > > > -classpath
> > > > > > > "$CLASSPATH"
> > > org.apachi.xindice.server.Xindice
> > > > > $*
> > > > > > >
> > > > > > > Thanks for your helps
> > >
> > > --
> > > Brad Burdick | bburdick@media.org
> > > http://media.org/ | The medium is NOT the
> message
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> >
>
> --
> Brad Burdick | bburdick@media.org
> http://media.org/ | The medium is NOT the message
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
Re: Error: Unrecognised JVM specific option '-Xms16m'
Posted by Brad Burdick <bb...@media.org>.
> Yes This option isn't supported by 1.4.0. At least at
> mine. But I could run same Xindice on Windiws NT with
> 1.4.0.
>
> What I must do now? does it makes sense deleting these
> options from start file.
you could certainly try removing those options. Xindice may not be happy
with the default values the JVM uses, though. the -Xmc option looks like
a typo in your start script.
the java 1.4 docs show that both -Xms and -Xmx are still non-standard options,
so they should work.
http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/java.html
it would probably be a good idea to verify that you do not have more than
one JVM installed. since the java cmd in the start script doesn't use a
full path, it will use whichever java it finds first in the current PATH.
running 'which java' from your login shell on the mandrake system should
do it.
% which java
/usr/j2se/bin/java
and java -version would be useful.
% java -version
java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
-brad
> --- Brad Burdick <bb...@media.org> wrote:
> > > I mean all system variables are set correctly. But
> > I
> > > am not sure that a specific path that located in
> > > Xindice should be included in CLASSPATH variable
> >
> > is JDK 1.4 supported? the -Xms option is
> > non-standard and may have changed
> > since 1.3 or earlier releases. i don't see a -Xmc
> > option in 1.3.1. i don't
> > have 1.4 to check what it supports.
> >
> > -brad
> >
> > % java -version
> > java version "1.3.1_01"
> > Java(TM) 2 Runtime Environment, Standard Edition
> > (build 1.3.1_01)
> > Java HotSpot(TM) Client VM (build 1.3.1_01, mixed
> > mode)
> >
> > % java -X
> > -Xmixed mixed mode execution (default)
> > -Xint interpreted mode execution
> > only
> > -Xbootclasspath:<directories and zip/jar files
> > separated by ;>
> > set search path for bootstrap
> > classes and resources
> > -Xbootclasspath/a:<directories and zip/jar files
> > separated by ;>
> > append to end of bootstrap
> > class path
> > -Xbootclasspath/p:<directories and zip/jar files
> > separated by ;>
> > prepend in front of bootstrap
> > class path
> > -Xnoclassgc disable class garbage
> > collection
> > -Xincgc enable incremental garbage
> > collection
> > -Xbatch disable background compilation
> > -Xms<size> set initial Java heap size
> > -Xmx<size> set maximum Java heap size
> > -Xss<size> set java thread stack size
> > -Xprof output cpu profiling data
> > -Xrunhprof[:help]|[:<option>=<value>, ...]
> > perform JVMPI heap, cpu, or
> > monitor profiling
> > -Xdebug enable remote debugging
> > -Xfuture enable strictest checks,
> > anticipating future default
> > -Xrs reduce use of OS signals by
> > Java/VM (see documentation)
> >
> > The -X options are non-standard and subject to
> > change without notice.
> >
> >
> > >
> > > > Yes. I have written
> > JAVA_HOME=/usr/local/j2sdk1.4.0
> > > > in
> > > > .bashrc file..
> > > >
> > > > --- "Mark J. Stang" <ma...@earthlink.net>
> > wrote:
> > > > > Is JAVA_HOME set correctly?
> > > > >
> > > > >
> > > > > Erhan Baz wrote:
> > > > >
> > > > > > I couldn't start Xindice server on Mandrake
> > > > Linux.
> > > > > I
> > > > > > know there is a wrong with Java. I get such
> > an
> > > > > error:
> > > > > >
> > > > > > Starting Xindice
> > > > > >
> > > >
> > -------------------------------------------------
> > > > > > Error: Unrecognised JVM specific option
> > > > '-Xms16m'
> > > > > > Error: Unrecognised JVM specific option
> > > > '-Xmc168m'
> > > > > > Couldn't find or load essential class
> > > > > > 'lava/lang/Object'
> > > > java.lang.noClassDefFoundError
> > > > > > java/lang/Object
> > > > > > ./start: line 73: 1613 Aborted
> > > > > > 68m -Dxindice.home="$XINDICE_HOME" $VMPROPS
> > > > > -classpath
> > > > > > "$CLASSPATH"
> > org.apachi.xindice.server.Xindice
> > > > $*
> > > > > >
> > > > > > Thanks for your helps
> >
> > --
> > Brad Burdick | bburdick@media.org
> > http://media.org/ | The medium is NOT the message
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
--
Brad Burdick | bburdick@media.org
http://media.org/ | The medium is NOT the message
Re: Error: Unrecognised JVM specific option '-Xms16m'
Posted by Erhan Baz <er...@yahoo.com>.
Yes This option isn't supported by 1.4.0. At least at
mine. But I could run same Xindice on Windiws NT with
1.4.0.
What I must do now? does it makes sense deleting these
options from start file.
Thankyou
--- Brad Burdick <bb...@media.org> wrote:
> > I mean all system variables are set correctly. But
> I
> > am not sure that a specific path that located in
> > Xindice should be included in CLASSPATH variable
>
> is JDK 1.4 supported? the -Xms option is
> non-standard and may have changed
> since 1.3 or earlier releases. i don't see a -Xmc
> option in 1.3.1. i don't
> have 1.4 to check what it supports.
>
> -brad
>
> % java -version
> java version "1.3.1_01"
> Java(TM) 2 Runtime Environment, Standard Edition
> (build 1.3.1_01)
> Java HotSpot(TM) Client VM (build 1.3.1_01, mixed
> mode)
>
> % java -X
> -Xmixed mixed mode execution (default)
> -Xint interpreted mode execution
> only
> -Xbootclasspath:<directories and zip/jar files
> separated by ;>
> set search path for bootstrap
> classes and resources
> -Xbootclasspath/a:<directories and zip/jar files
> separated by ;>
> append to end of bootstrap
> class path
> -Xbootclasspath/p:<directories and zip/jar files
> separated by ;>
> prepend in front of bootstrap
> class path
> -Xnoclassgc disable class garbage
> collection
> -Xincgc enable incremental garbage
> collection
> -Xbatch disable background compilation
> -Xms<size> set initial Java heap size
> -Xmx<size> set maximum Java heap size
> -Xss<size> set java thread stack size
> -Xprof output cpu profiling data
> -Xrunhprof[:help]|[:<option>=<value>, ...]
> perform JVMPI heap, cpu, or
> monitor profiling
> -Xdebug enable remote debugging
> -Xfuture enable strictest checks,
> anticipating future default
> -Xrs reduce use of OS signals by
> Java/VM (see documentation)
>
> The -X options are non-standard and subject to
> change without notice.
>
>
> >
> > > Yes. I have written
> JAVA_HOME=/usr/local/j2sdk1.4.0
> > > in
> > > .bashrc file..
> > >
> > > --- "Mark J. Stang" <ma...@earthlink.net>
> wrote:
> > > > Is JAVA_HOME set correctly?
> > > >
> > > >
> > > > Erhan Baz wrote:
> > > >
> > > > > I couldn't start Xindice server on Mandrake
> > > Linux.
> > > > I
> > > > > know there is a wrong with Java. I get such
> an
> > > > error:
> > > > >
> > > > > Starting Xindice
> > > > >
> > >
> -------------------------------------------------
> > > > > Error: Unrecognised JVM specific option
> > > '-Xms16m'
> > > > > Error: Unrecognised JVM specific option
> > > '-Xmc168m'
> > > > > Couldn't find or load essential class
> > > > > 'lava/lang/Object'
> > > java.lang.noClassDefFoundError
> > > > > java/lang/Object
> > > > > ./start: line 73: 1613 Aborted
> > > > > 68m -Dxindice.home="$XINDICE_HOME" $VMPROPS
> > > > -classpath
> > > > > "$CLASSPATH"
> org.apachi.xindice.server.Xindice
> > > $*
> > > > >
> > > > > Thanks for your helps
>
> --
> Brad Burdick | bburdick@media.org
> http://media.org/ | The medium is NOT the message
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
Re: Error: Unrecognised JVM specific option '-Xms16m'
Posted by Brad Burdick <bb...@media.org>.
> I mean all system variables are set correctly. But I
> am not sure that a specific path that located in
> Xindice should be included in CLASSPATH variable
is JDK 1.4 supported? the -Xms option is non-standard and may have changed
since 1.3 or earlier releases. i don't see a -Xmc option in 1.3.1. i don't
have 1.4 to check what it supports.
-brad
% java -version
java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
% java -X
-Xmixed mixed mode execution (default)
-Xint interpreted mode execution only
-Xbootclasspath:<directories and zip/jar files separated by ;>
set search path for bootstrap classes and resources
-Xbootclasspath/a:<directories and zip/jar files separated by ;>
append to end of bootstrap class path
-Xbootclasspath/p:<directories and zip/jar files separated by ;>
prepend in front of bootstrap class path
-Xnoclassgc disable class garbage collection
-Xincgc enable incremental garbage collection
-Xbatch disable background compilation
-Xms<size> set initial Java heap size
-Xmx<size> set maximum Java heap size
-Xss<size> set java thread stack size
-Xprof output cpu profiling data
-Xrunhprof[:help]|[:<option>=<value>, ...]
perform JVMPI heap, cpu, or monitor profiling
-Xdebug enable remote debugging
-Xfuture enable strictest checks, anticipating future default
-Xrs reduce use of OS signals by Java/VM (see documentation)
The -X options are non-standard and subject to change without notice.
>
> > Yes. I have written JAVA_HOME=/usr/local/j2sdk1.4.0
> > in
> > .bashrc file..
> >
> > --- "Mark J. Stang" <ma...@earthlink.net> wrote:
> > > Is JAVA_HOME set correctly?
> > >
> > >
> > > Erhan Baz wrote:
> > >
> > > > I couldn't start Xindice server on Mandrake
> > Linux.
> > > I
> > > > know there is a wrong with Java. I get such an
> > > error:
> > > >
> > > > Starting Xindice
> > > >
> > -------------------------------------------------
> > > > Error: Unrecognised JVM specific option
> > '-Xms16m'
> > > > Error: Unrecognised JVM specific option
> > '-Xmc168m'
> > > > Couldn't find or load essential class
> > > > 'lava/lang/Object'
> > java.lang.noClassDefFoundError
> > > > java/lang/Object
> > > > ./start: line 73: 1613 Aborted
> > > > 68m -Dxindice.home="$XINDICE_HOME" $VMPROPS
> > > -classpath
> > > > "$CLASSPATH" org.apachi.xindice.server.Xindice
> > $*
> > > >
> > > > Thanks for your helps
--
Brad Burdick | bburdick@media.org
http://media.org/ | The medium is NOT the message
Re: Error: Unrecognised JVM specific option '-Xms16m'
Posted by Erhan Baz <er...@yahoo.com>.
I mean all system variables are set correctly. But I
am not sure that a specific path that located in
Xindice should be included in CLASSPATH variable
> Yes. I have written JAVA_HOME=/usr/local/j2sdk1.4.0
> in
> .bashrc file..
>
> --- "Mark J. Stang" <ma...@earthlink.net> wrote:
> > Is JAVA_HOME set correctly?
> >
> >
> > Erhan Baz wrote:
> >
> > > I couldn't start Xindice server on Mandrake
> Linux.
> > I
> > > know there is a wrong with Java. I get such an
> > error:
> > >
> > > Starting Xindice
> > >
> -------------------------------------------------
> > > Error: Unrecognised JVM specific option
> '-Xms16m'
> > > Error: Unrecognised JVM specific option
> '-Xmc168m'
> > > Couldn't find or load essential class
> > > 'lava/lang/Object'
> java.lang.noClassDefFoundError
> > > java/lang/Object
> > > ./start: line 73: 1613 Aborted
> > > 68m -Dxindice.home="$XINDICE_HOME" $VMPROPS
> > -classpath
> > > "$CLASSPATH" org.apachi.xindice.server.Xindice
> $*
> > >
> > > Thanks for your helps
> > >
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! - Official partner of 2002 FIFA World Cup
> > > http://fifaworldcup.yahoo.com
> >
> > --
> > Mark J Stang
> > System Architect
> > Cybershop Systems
> >
> > > begin:vcard
> > n:Stang;Mark
> > x-mozilla-html:TRUE
> > adr:;;;;;;
> > version:2.1
> > email;internet:markstang@earthlink.net
> > fn:Mark Stang
> > end:vcard
> >
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
Re: Error: Unrecognised JVM specific option '-Xms16m'
Posted by Erhan Baz <er...@yahoo.com>.
Yes. I have written JAVA_HOME=/usr/local/j2sdk1.4.0 in
.bashrc file..
--- "Mark J. Stang" <ma...@earthlink.net> wrote:
> Is JAVA_HOME set correctly?
>
>
> Erhan Baz wrote:
>
> > I couldn't start Xindice server on Mandrake Linux.
> I
> > know there is a wrong with Java. I get such an
> error:
> >
> > Starting Xindice
> > -------------------------------------------------
> > Error: Unrecognised JVM specific option '-Xms16m'
> > Error: Unrecognised JVM specific option '-Xmc168m'
> > Couldn't find or load essential class
> > 'lava/lang/Object' java.lang.noClassDefFoundError
> > java/lang/Object
> > ./start: line 73: 1613 Aborted
> > 68m -Dxindice.home="$XINDICE_HOME" $VMPROPS
> -classpath
> > "$CLASSPATH" org.apachi.xindice.server.Xindice $*
> >
> > Thanks for your helps
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
>
> --
> Mark J Stang
> System Architect
> Cybershop Systems
>
> > begin:vcard
> n:Stang;Mark
> x-mozilla-html:TRUE
> adr:;;;;;;
> version:2.1
> email;internet:markstang@earthlink.net
> fn:Mark Stang
> end:vcard
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
Re: Error: Unrecognised JVM specific option '-Xms16m'
Posted by "Mark J. Stang" <ma...@earthlink.net>.
Is JAVA_HOME set correctly?
Erhan Baz wrote:
> I couldn't start Xindice server on Mandrake Linux. I
> know there is a wrong with Java. I get such an error:
>
> Starting Xindice
> -------------------------------------------------
> Error: Unrecognised JVM specific option '-Xms16m'
> Error: Unrecognised JVM specific option '-Xmc168m'
> Couldn't find or load essential class
> 'lava/lang/Object' java.lang.noClassDefFoundError
> java/lang/Object
> ./start: line 73: 1613 Aborted
> 68m -Dxindice.home="$XINDICE_HOME" $VMPROPS -classpath
> "$CLASSPATH" org.apachi.xindice.server.Xindice $*
>
> Thanks for your helps
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
--
Mark J Stang
System Architect
Cybershop Systems