[Pljava-dev] pljava on Windows XP

Lists: pljava-dev
From: armin at trailer(dot)com(dot)mx (armin)
To:
Subject: [Pljava-dev] pljava on Windows XP
Date: 2005-10-31 15:57:35
Message-ID: 200510311557.j9VFvS0g002303@ns1.serversname.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

Hi, has anyone get pl/java working in Windows XP, I have tried but I get the
following error when I try to use the functions (install_jar) of pl/java in
postgreSQL.

Error: Failed to create Java VM.

This are my path

JAVA_HOME: C:\Archivos de programa\Java\jre1.5.0_02
PATH : :\Archivos de programa\Mail
Enable\BIN;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\
Program Files\j2sdk_nb\j2sdk1.4.2\bin;C:\Archivos de programa\Archivos
comunes\Autodesk Shared\;C:\Archivos de programa\SecureCRT\;C:\Archivos de
programa\Microsoft SQL Server\80\Tools\Binn\;D:\postgre\bin;C:\Archivos de
programa\Java\jre1.5.0_04\lib\i386
CLASSPATH:
D:\postgre\pljava

In postgresql.conf I have add the following lines
#---------------------------------------------------------------------------
# PL/JAVA
#---------------------------------------------------------------------------

custom_variable_classes = 'pljava'
pljava.classpath = 'D:\\postgre\\pljava\\pljava.jar'
pljava.release_lingering_savepoints = true
pljava.statement_cache_size = 10
pljava.vmoptions = '-Xmx64M'
dynamic_library_path = '$libdir;D:\\postgre\\pljava\\'
pljava.debug = false

I hope you can help me.

Atte.
Armin Teodoro Bergen Dyck
Grupo Remolques del Norte, S.A. de C.V.
Tel (625) 58 77200, ext. 214
Fax (625) 58 77203
<mailto:armin at trailer.com.mx> armin at trailer.com.mx
http://www.trailer.com.mx



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20051031/3321196e/attachment.html>


From: thomas at tada(dot)se (Thomas Hallgren)
To:
Subject: [Pljava-dev] pljava on Windows XP
Date: 2005-10-31 18:16:00
Message-ID: 43665F60.8020706@tada.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: PostgreSQL : PostgreSQL 메일 링리스트 : 2005-10-31 이후 스포츠 토토 베트맨Dev 18:16

Armin,
You can remove "C:\Archivos de programa\Java\jre1.5.0_04\lib\i386" from
your path (I doubt it exists) and instead add these two entries:

C:\Archivos de programa\Java\jre1.5.0_04\bin\client
C:\Archivos de programa\Java\jre1.5.0_04\bin

It is probably a good idea to remove "c:\Program
Files\j2sdk_nb\j2sdk1.4.2\bin" also. That looks like an older Java
version that could cause a conflict.

Regards,
Thomas Hallgren

armin wrote:
>
> Hi, has anyone get pl/java working in Windows XP, I have tried but I
> get the following error when I try to use the functions (install_jar)
> of pl/java in postgreSQL.
>
>
>
> Error: Failed to create Java VM.
>
>
>
> This are my path
>
>
>
> JAVA_HOME: C:\Archivos de programa\Java\jre1.5.0_02
>
> PATH : :\Archivos de programa\Mail
> Enable\BIN;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Program
> Files\j2sdk_nb\j2sdk1.4.2\bin;C:\Archivos de programa\Archivos
> comunes\Autodesk Shared\;C:\Archivos de
> programa\SecureCRT\;C:\Archivos de programa\Microsoft SQL
> Server\80\Tools\Binn\;D:\postgre\bin;C:\Archivos de
> programa\Java\jre1.5.0_04\lib\i386
>
> CLASSPATH:
>
> D:\postgre\pljava
>
>
>
> In postgresql.conf I have add the following lines
>
> #---------------------------------------------------------------------------
>
> # PL/JAVA
>
> #---------------------------------------------------------------------------
>
>
>
> custom_variable_classes = 'pljava'
>
> pljava.classpath = 'D:\\postgre\\pljava\\pljava.jar'
>
> pljava.release_lingering_savepoints = true
>
> pljava.statement_cache_size = 10
>
> pljava.vmoptions = '-Xmx64M'
>
> dynamic_library_path = '$libdir;D:\\postgre\\pljava\\'
>
> pljava.debug = false
>
>
>
> I hope you can help me.
>
>
>
> Atte.
>
> Armin Teodoro Bergen Dyck
>
> Grupo Remolques del Norte, S.A. de C.V.
>
> Tel (625) 58 77200, ext. 214
>
> Fax (625) 58 77203
>
> armin at trailer.com.mx <mailto:armin at trailer.com.mx>
>
> http://www.trailer.com.mx
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>


From: armin at trailer(dot)com(dot)mx (armin)
To:
Subject: [Pljava-dev] pljava on Windows XP
Date: 2005-10-31 19:51:57
Message-ID: 200510311951.j9VJpl0g009549@ns1.serversname.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

Thomas, thanks for your response, I made the changes, but it gives me the
same errors, these are my new paths

Path=
C:\Archivos de programa\Mail Enable\BIN;
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;
C:\Archivos de programa\Archivos comunes\Autodesk Shared\;
C:\Archivos de Programa\SecureCRT\;
C:\Archivos de programa\Microsoft SQL Server\8
0\Tools\Binn\;
D:\postgre\bin;C:\Archivos de programa\Java\jre1.5.0_04\bin;
C:\Archivos de programa\Java\jre1.5.0_04\bin\client

Atte.

Armin Teodoro Bergen Dyck
Grupo Remolques del Norte, S.A. de C.V.
Tel (625) 58 77200, ext. 214
Fax (625) 58 77203
armin at trailer.com.mx
http://www.trailer.com.mx

-----Mensaje original-----
De: Thomas Hallgren [mailto:thomas at tada.se]
Enviado el: Lunes, 31 de Octubre de 2005 11:16 a.m.
Para: armin
CC: Pljava-Dev at Gborg.Postgresql.Org
Asunto: Re: [Pljava-dev] pljava on Windows XP

Armin,
You can remove "C:\Archivos de programa\Java\jre1.5.0_04\lib\i386" from
your path (I doubt it exists) and instead add these two entries:

C:\Archivos de programa\Java\jre1.5.0_04\bin\client
C:\Archivos de programa\Java\jre1.5.0_04\bin

It is probably a good idea to remove "c:\Program
Files\j2sdk_nb\j2sdk1.4.2\bin" also. That looks like an older Java
version that could cause a conflict.

Regards,
Thomas Hallgren

armin wrote:
>
> Hi, has anyone get pl/java working in Windows XP, I have tried but I
> get the following error when I try to use the functions (install_jar)
> of pl/java in postgreSQL.
>
>
>
> Error: Failed to create Java VM.
>
>
>
> This are my path
>
>
>
> JAVA_HOME: C:\Archivos de programa\Java\jre1.5.0_02
>
> PATH : :\Archivos de programa\Mail
>
Enable\BIN;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\
Program
> Files\j2sdk_nb\j2sdk1.4.2\bin;C:\Archivos de programa\Archivos
> comunes\Autodesk Shared\;C:\Archivos de
> programa\SecureCRT\;C:\Archivos de programa\Microsoft SQL
> Server\80\Tools\Binn\;D:\postgre\bin;C:\Archivos de
> programa\Java\jre1.5.0_04\lib\i386
>
> CLASSPATH:
>
> D:\postgre\pljava
>
>
>
> In postgresql.conf I have add the following lines
>
>
#---------------------------------------------------------------------------
>
> # PL/JAVA
>
>
#---------------------------------------------------------------------------
>
>
>
> custom_variable_classes = 'pljava'
>
> pljava.classpath = 'D:\\postgre\\pljava\\pljava.jar'
>
> pljava.release_lingering_savepoints = true
>
> pljava.statement_cache_size = 10
>
> pljava.vmoptions = '-Xmx64M'
>
> dynamic_library_path = '$libdir;D:\\postgre\\pljava\\'
>
> pljava.debug = false
>
>
>
> I hope you can help me.
>
>
>
> Atte.
>
> Armin Teodoro Bergen Dyck
>
> Grupo Remolques del Norte, S.A. de C.V.
>
> Tel (625) 58 77200, ext. 214
>
> Fax (625) 58 77203
>
> armin at trailer.com.mx <mailto:armin at trailer.com.mx>
>
> http://www.trailer.com.mx
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>


From: thomas at tada(dot)se (Thomas Hallgren)
To:
Subject: [Pljava-dev] pljava on Windows XP
Date: 2005-10-31 21:19:02
Message-ID: 43668A46.3070607@tada.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

Are you sure this is the path that is in effect for the postmaster (the
server) process?

- thomas

armin wrote:
> Thomas, thanks for your response, I made the changes, but it gives me the
> same errors, these are my new paths
>
> Path=
> C:\Archivos de programa\Mail Enable\BIN;
> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;
> C:\Archivos de programa\Archivos comunes\Autodesk Shared\;
> C:\Archivos de Programa\SecureCRT\;
> C:\Archivos de programa\Microsoft SQL Server\8
> 0\Tools\Binn\;
> D:\postgre\bin;C:\Archivos de programa\Java\jre1.5.0_04\bin;
> C:\Archivos de programa\Java\jre1.5.0_04\bin\client
>
>
> Atte.
>
> Armin Teodoro Bergen Dyck
> Grupo Remolques del Norte, S.A. de C.V.
> Tel (625) 58 77200, ext. 214
> Fax (625) 58 77203
> armin at trailer.com.mx
> http://www.trailer.com.mx
>
>
>
> -----Mensaje original-----
> De: Thomas Hallgren [mailto:thomas at tada.se]
> Enviado el: Lunes, 31 de Octubre de 2005 11:16 a.m.
> Para: armin
> CC: Pljava-Dev at Gborg.Postgresql.Org
> Asunto: Re: [Pljava-dev] pljava on Windows XP
>
> Armin,
> You can remove "C:\Archivos de programa\Java\jre1.5.0_04\lib\i386" from
> your path (I doubt it exists) and instead add these two entries:
>
> C:\Archivos de programa\Java\jre1.5.0_04\bin\client
> C:\Archivos de programa\Java\jre1.5.0_04\bin
>
> It is probably a good idea to remove "c:\Program
> Files\j2sdk_nb\j2sdk1.4.2\bin" also. That looks like an older Java
> version that could cause a conflict.
>
> Regards,
> Thomas Hallgren
>
> armin wrote:
>
>> Hi, has anyone get pl/java working in Windows XP, I have tried but I
>> get the following error when I try to use the functions (install_jar)
>> of pl/java in postgreSQL.
>>
>>
>>
>> Error: Failed to create Java VM.
>>
>>
>>
>> This are my path
>>
>>
>>
>> JAVA_HOME: C:\Archivos de programa\Java\jre1.5.0_02
>>
>> PATH : :\Archivos de programa\Mail
>>
>>
> Enable\BIN;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\
> Program
>
>> Files\j2sdk_nb\j2sdk1.4.2\bin;C:\Archivos de programa\Archivos
>> comunes\Autodesk Shared\;C:\Archivos de
>> programa\SecureCRT\;C:\Archivos de programa\Microsoft SQL
>> Server\80\Tools\Binn\;D:\postgre\bin;C:\Archivos de
>> programa\Java\jre1.5.0_04\lib\i386
>>
>> CLASSPATH:
>>
>> D:\postgre\pljava
>>
>>
>>
>> In postgresql.conf I have add the following lines
>>
>>
>>
> #---------------------------------------------------------------------------
>
>> # PL/JAVA
>>
>>
>>
> #---------------------------------------------------------------------------
>
>>
>>
>> custom_variable_classes = 'pljava'
>>
>> pljava.classpath = 'D:\\postgre\\pljava\\pljava.jar'
>>
>> pljava.release_lingering_savepoints = true
>>
>> pljava.statement_cache_size = 10
>>
>> pljava.vmoptions = '-Xmx64M'
>>
>> dynamic_library_path = '$libdir;D:\\postgre\\pljava\\'
>>
>> pljava.debug = false
>>
>>
>>
>> I hope you can help me.
>>
>>
>>
>> Atte.
>>
>> Armin Teodoro Bergen Dyck
>>
>> Grupo Remolques del Norte, S.A. de C.V.
>>
>> Tel (625) 58 77200, ext. 214
>>
>> Fax (625) 58 77203
>>
>> armin at trailer.com.mx <mailto:armin at trailer.com.mx>
>>
>> http://www.trailer.com.mx
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Pljava-dev mailing list
>> Pljava-dev at gborg.postgresql.org
>> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>>
>>
>
>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>


From: armin at trailer(dot)com(dot)mx (armin)
To:
Subject: [Pljava-dev] pljava on Windows XP
Date: 2005-10-31 22:17:14
Message-ID: 200510312217.j9VMHC0g013778@ns1.serversname.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

How can I verify which path is usign the postmaster porcess?

Atte.

Armin Teodoro Bergen Dyck
Grupo Remolques del Norte, S.A. de C.V.
Tel (625) 58 77200, ext. 214
Fax (625) 58 77203
armin at trailer.com.mx
http://www.trailer.com.mx

-----Mensaje original-----
De: Thomas Hallgren [mailto:thomas at tada.se]
Enviado el: Lunes, 31 de Octubre de 2005 02:19 p.m.
Para: armin
CC: pljava-dev at gborg.postgresql.org
Asunto: Re: [Pljava-dev] pljava on Windows XP

Are you sure this is the path that is in effect for the postmaster (the
server) process?

- thomas

armin wrote:
> Thomas, thanks for your response, I made the changes, but it gives me the
> same errors, these are my new paths
>
> Path=
> C:\Archivos de programa\Mail Enable\BIN;
> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;
> C:\Archivos de programa\Archivos comunes\Autodesk Shared\;
> C:\Archivos de Programa\SecureCRT\;
> C:\Archivos de programa\Microsoft SQL Server\8
> 0\Tools\Binn\;
> D:\postgre\bin;C:\Archivos de programa\Java\jre1.5.0_04\bin;
> C:\Archivos de programa\Java\jre1.5.0_04\bin\client
>
>
> Atte.
>
> Armin Teodoro Bergen Dyck
> Grupo Remolques del Norte, S.A. de C.V.
> Tel (625) 58 77200, ext. 214
> Fax (625) 58 77203
> armin at trailer.com.mx
> http://www.trailer.com.mx
>
>
>
> -----Mensaje original-----
> De: Thomas Hallgren [mailto:thomas at tada.se]
> Enviado el: Lunes, 31 de Octubre de 2005 11:16 a.m.
> Para: armin
> CC: Pljava-Dev at Gborg.Postgresql.Org
> Asunto: Re: [Pljava-dev] pljava on Windows XP
>
> Armin,
> You can remove "C:\Archivos de programa\Java\jre1.5.0_04\lib\i386" from
> your path (I doubt it exists) and instead add these two entries:
>
> C:\Archivos de programa\Java\jre1.5.0_04\bin\client
> C:\Archivos de programa\Java\jre1.5.0_04\bin
>
> It is probably a good idea to remove "c:\Program
> Files\j2sdk_nb\j2sdk1.4.2\bin" also. That looks like an older Java
> version that could cause a conflict.
>
> Regards,
> Thomas Hallgren
>
> armin wrote:
>
>> Hi, has anyone get pl/java working in Windows XP, I have tried but I
>> get the following error when I try to use the functions (install_jar)
>> of pl/java in postgreSQL.
>>
>>
>>
>> Error: Failed to create Java VM.
>>
>>
>>
>> This are my path
>>
>>
>>
>> JAVA_HOME: C:\Archivos de programa\Java\jre1.5.0_02
>>
>> PATH : :\Archivos de programa\Mail
>>
>>
>
Enable\BIN;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\
> Program
>
>> Files\j2sdk_nb\j2sdk1.4.2\bin;C:\Archivos de programa\Archivos
>> comunes\Autodesk Shared\;C:\Archivos de
>> programa\SecureCRT\;C:\Archivos de programa\Microsoft SQL
>> Server\80\Tools\Binn\;D:\postgre\bin;C:\Archivos de
>> programa\Java\jre1.5.0_04\lib\i386
>>
>> CLASSPATH:
>>
>> D:\postgre\pljava
>>
>>
>>
>> In postgresql.conf I have add the following lines
>>
>>
>>
>
#---------------------------------------------------------------------------
>
>> # PL/JAVA
>>
>>
>>
>
#---------------------------------------------------------------------------
>
>>
>>
>> custom_variable_classes = 'pljava'
>>
>> pljava.classpath = 'D:\\postgre\\pljava\\pljava.jar'
>>
>> pljava.release_lingering_savepoints = true
>>
>> pljava.statement_cache_size = 10
>>
>> pljava.vmoptions = '-Xmx64M'
>>
>> dynamic_library_path = '$libdir;D:\\postgre\\pljava\\'
>>
>> pljava.debug = false
>>
>>
>>
>> I hope you can help me.
>>
>>
>>
>> Atte.
>>
>> Armin Teodoro Bergen Dyck
>>
>> Grupo Remolques del Norte, S.A. de C.V.
>>
>> Tel (625) 58 77200, ext. 214
>>
>> Fax (625) 58 77203
>>
>> armin at trailer.com.mx <mailto:armin at trailer.com.mx>
>>
>> http://www.trailer.com.mx
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Pljava-dev mailing list
>> Pljava-dev at gborg.postgresql.org
>> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>>
>>
>
>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>