You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by René Armbruster <ar...@gmail.com> on 2006/03/15 17:08:30 UTC
Problem on startup (J2)
Hi there,
I just downloaded Jetspeed 2 and used the installer with derby included.
Anything worked fine, until I clicked the "startup.bat" ... I get the
following error:
-Xmx256m could not be found .....
Would be wonderful if anyone could help me.
Thanks.
BR
René
Re: Problem on startup (J2)
Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od René Armbruster z 2006-03-15 17:43 brzmiala:
> I uploaded a screenshot at http://www.mydotsys.de/error.jpg
See the answer in the 3rd line. JAVA_HOME should be a path to JDK, not JRE.
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Problem on startup (J2)
Posted by Stefan Weinert <su...@yahoo.de>.
JAVA_HOME is supposed to point to the home directory (I guess that's why
they called it that way ;-)). the bin is needed for the PATH variable.
Stefan
René Armbruster schrieb:
> Thanks.
>
> I got a /bin at the end of my Java_Home, without it´s working.
>
> many thx
>
> On 3/15/06, Stefan Weinert <su...@yahoo.de> wrote:
>
>> you need to set JAVA_HOME correctly
>> install a java jdk (if you haven't) and set the environemnt variable
>> JAVA_HOME to the jdk directory
>>
>> Stefan
>>
>> René Armbruster schrieb:
>>
>>> I uploaded a screenshot at http://www.mydotsys.de/error.jpg
>>>
>>> br
>>>
>>> René
>>>
>>> On 3/15/06, Jacek Wiślicki <ja...@gmail.com> wrote:
>>>
>>>
>>>> Wiadomosc od René Armbruster z 2006-03-15 17:19 brzmiala:
>>>>
>>>>
>>>>
>>>>> thanks for the quick reply. I am using the standard startup.bat as
>>>>>
>>>>>
>>>> follows:
>>>> Is the error returned from Java or from windows command? Could you
>>>> append the whole output when you launch startup.bat?
>>>>
>>>> --
>>>> pozdrawiam,
>>>> Jacek Wislicki
>>>>
>>>> jacek.wislicki@gmail.com
>>>> tel.: +48 502 408 444
>>>> gg: 2540358
>>>> skype: jacek_wislicki
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>>>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>>>
>>>>
>>>>
>>>>
>>
>>
>> ___________________________________________________________
>> Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>>
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Problem on startup (J2)
Posted by "M.Liang Liu " <pa...@gmail.com>.
He's right.Just follow it.
On 3/16/06, Jacek Wiślicki <ja...@gmail.com> wrote:
>
> Wiadomosc od René Armbruster z 2006-03-15 17:57 brzmiala:
>
> > I got a /bin at the end of my Java_Home, without it´s working.
> Is there any JDK installed in your system? If so, set JAVA_HOME to
> something like this "C:\Program Files\Java\jdk1.5.0_06", i.e. where JDK
> is installed. Otherwize, install JDK first and then set JAVA_HOME.
>
> --
> pozdrawiam,
> Jacek Wislicki
>
> jacek.wislicki@gmail.com
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
--
千杯欲醉:我的Blog @
Drink Drank Drunk
http://my.donews.com/patriotlml/
Re: Problem on startup (J2)
Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od René Armbruster z 2006-03-15 17:57 brzmiala:
> I got a /bin at the end of my Java_Home, without it´s working.
Is there any JDK installed in your system? If so, set JAVA_HOME to
something like this "C:\Program Files\Java\jdk1.5.0_06", i.e. where JDK
is installed. Otherwize, install JDK first and then set JAVA_HOME.
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Problem on startup (J2)
Posted by René Armbruster <ar...@gmail.com>.
Thanks.
I got a /bin at the end of my Java_Home, without it´s working.
many thx
On 3/15/06, Stefan Weinert <su...@yahoo.de> wrote:
>
> you need to set JAVA_HOME correctly
> install a java jdk (if you haven't) and set the environemnt variable
> JAVA_HOME to the jdk directory
>
> Stefan
>
> René Armbruster schrieb:
> > I uploaded a screenshot at http://www.mydotsys.de/error.jpg
> >
> > br
> >
> > René
> >
> > On 3/15/06, Jacek Wiślicki <ja...@gmail.com> wrote:
> >
> >> Wiadomosc od René Armbruster z 2006-03-15 17:19 brzmiala:
> >>
> >>
> >>> thanks for the quick reply. I am using the standard startup.bat as
> >>>
> >> follows:
> >> Is the error returned from Java or from windows command? Could you
> >> append the whole output when you launch startup.bat?
> >>
> >> --
> >> pozdrawiam,
> >> Jacek Wislicki
> >>
> >> jacek.wislicki@gmail.com
> >> tel.: +48 502 408 444
> >> gg: 2540358
> >> skype: jacek_wislicki
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> >> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> >>
> >>
> >>
>
>
>
>
> ___________________________________________________________
> Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
Re: Problem on startup (J2)
Posted by Stefan Weinert <su...@yahoo.de>.
you need to set JAVA_HOME correctly
install a java jdk (if you haven't) and set the environemnt variable
JAVA_HOME to the jdk directory
Stefan
René Armbruster schrieb:
> I uploaded a screenshot at http://www.mydotsys.de/error.jpg
>
> br
>
> René
>
> On 3/15/06, Jacek Wiślicki <ja...@gmail.com> wrote:
>
>> Wiadomosc od René Armbruster z 2006-03-15 17:19 brzmiala:
>>
>>
>>> thanks for the quick reply. I am using the standard startup.bat as
>>>
>> follows:
>> Is the error returned from Java or from windows command? Could you
>> append the whole output when you launch startup.bat?
>>
>> --
>> pozdrawiam,
>> Jacek Wislicki
>>
>> jacek.wislicki@gmail.com
>> tel.: +48 502 408 444
>> gg: 2540358
>> skype: jacek_wislicki
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>>
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Problem on startup (J2)
Posted by René Armbruster <ar...@gmail.com>.
I uploaded a screenshot at http://www.mydotsys.de/error.jpg
br
René
On 3/15/06, Jacek Wiślicki <ja...@gmail.com> wrote:
>
> Wiadomosc od René Armbruster z 2006-03-15 17:19 brzmiala:
>
> > thanks for the quick reply. I am using the standard startup.bat as
> follows:
> Is the error returned from Java or from windows command? Could you
> append the whole output when you launch startup.bat?
>
> --
> pozdrawiam,
> Jacek Wislicki
>
> jacek.wislicki@gmail.com
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
Re: Problem on startup (J2)
Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od René Armbruster z 2006-03-15 17:19 brzmiala:
> thanks for the quick reply. I am using the standard startup.bat as follows:
Is the error returned from Java or from windows command? Could you
append the whole output when you launch startup.bat?
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Problem on startup (J2)
Posted by René Armbruster <ar...@gmail.com>.
Hi Jacek,
thanks for the quick reply. I am using the standard startup.bat as follows:
@echo off
if "%OS%" == "Windows_NT" setlocal
rem
---------------------------------------------------------------------------
rem Start script for the CATALINA Server
rem
rem $Id: startup.bat,v 1.6 2004/05/27 18:25:11 yoavs Exp $
rem
---------------------------------------------------------------------------
rem Guess CATALINA_HOME if not defined
set CURRENT_DIR=%cd%
if not "%CATALINA_HOME%" == "" goto gotHome
set CATALINA_HOME=%CURRENT_DIR%
if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
cd ..
set CATALINA_HOME=%cd%
cd %CURRENT_DIR%
:gotHome
if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
echo The CATALINA_HOME environment variable is not defined correctly
echo This environment variable is needed to run this program
goto end
:okHome
set EXECUTABLE=%CATALINA_HOME%\bin\catalina.bat
rem Check that target executable exists
if exist "%EXECUTABLE%" goto okExec
echo Cannot find %EXECUTABLE%
echo This file is needed to run this program
goto end
:okExec
rem Get remaining unshifted command line arguments and save them in the
set CMD_LINE_ARGS=
:setArgs
if ""%1""=="""" goto doneSetArgs
set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
shift
goto setArgs
:doneSetArgs
call "%EXECUTABLE%" start %CMD_LINE_ARGS%
:end
Thanks for your help.
BR
René
On 3/15/06, Jacek Wiślicki <ja...@gmail.com> wrote:
>
> Wiadomosc od René Armbruster z 2006-03-15 17:08 brzmiala:
>
> > Hi there,
> >
> > I just downloaded Jetspeed 2 and used the installer with derby included.
> > Anything worked fine, until I clicked the "startup.bat" ... I get the
> > following error:
> >
> > -Xmx256m could not be found .....
> >
> > Would be wonderful if anyone could help me.
> Could you attach your startup.bat?
>
> --
> pozdrawiam,
> Jacek Wislicki
>
> jacek.wislicki@gmail.com
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
Re: Problem on startup (J2)
Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od René Armbruster z 2006-03-15 17:08 brzmiala:
> Hi there,
>
> I just downloaded Jetspeed 2 and used the installer with derby included.
> Anything worked fine, until I clicked the "startup.bat" ... I get the
> following error:
>
> -Xmx256m could not be found .....
>
> Would be wonderful if anyone could help me.
Could you attach your startup.bat?
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org