Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Change JDK location

4 posts in EJB Client Last posting was on 2004-12-20 15:04:01.0Z
Al Posted on 2004-12-02 16:43:43.0Z
Sender: 2dc1.41af3b99.1804289383@sybase.com
From: Al
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Change JDK location
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <41af463b.2f05.1681692777@sybase.com>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 2 Dec 2004 08:43:39 -0800, 10.22.241.42
Lines: 14
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 2 Dec 2004 08:43:40 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 2 Dec 2004 08:43:43 -0800
X-Trace: forums-1-dub 1102005823 10.22.108.75 (2 Dec 2004 08:43:43 -0800)
X-Original-Trace: 2 Dec 2004 08:43:43 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:395
Article PK: 424570

I downloaded the Converter program. It works.

I try to change JDK location from System Options/Java Tab.

Instead of using the default values, I use JDK version 1.4.2
that I downloaded from SUN.com.

The JDK location becomes "C:\j2sdk1.4.2_04".
The JRE location becomes "C:\j2sdk1.4.2_04\jre\bin\client"

But when I try to deploy the proxy, I get "Bad Java Class
Name: void".

Anyone has any idea of why?


Bede <bede_nosp Posted on 2004-12-02 20:21:03.0Z
From: Bede <bede_nosp@m_sofico.be>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: Change JDK location
Message-ID: <MPG.1c19979c253c65bb989683@forums.sybase.com>
References: <41af463b.2f05.1681692777@sybase.com>
Organization: Sofico
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
X-Original-NNTP-Posting-Host: d51538d7d.kabel.telenet.be
X-Original-Trace: 2 Dec 2004 12:21:01 -0800, d51538d7d.kabel.telenet.be
Lines: 21
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 2 Dec 2004 12:21:02 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 2 Dec 2004 12:21:03 -0800
X-Trace: forums-1-dub 1102018863 10.22.108.75 (2 Dec 2004 12:21:03 -0800)
X-Original-Trace: 2 Dec 2004 12:21:03 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:396
Article PK: 424569

i you really want to change the JDK of the PB-IDE you'll need to look in
the registry under LocalMachine\software\sybase\pb\java
good luck,

Ben
In article <41af463b.2f05.1681692777@sybase.com>, Al says...

> I downloaded the Converter program. It works.
>
> I try to change JDK location from System Options/Java Tab.
>
> Instead of using the default values, I use JDK version 1.4.2
> that I downloaded from SUN.com.
>
> The JDK location becomes "C:\j2sdk1.4.2_04".
> The JRE location becomes "C:\j2sdk1.4.2_04\jre\bin\client"
>
> But when I try to deploy the proxy, I get "Bad Java Class
> Name: void".
>
> Anyone has any idea of why?
>


Gokhan Demir Posted on 2004-12-11 22:12:09.0Z
From: Gokhan Demir <gokhan.demir@igonline.biz>
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: Change JDK location
References: <41af463b.2f05.1681692777@sybase.com>
In-Reply-To: <41af463b.2f05.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: adsluser-1165.adsl.ttnet.net.tr
X-Original-NNTP-Posting-Host: adsluser-1165.adsl.ttnet.net.tr
Message-ID: <41bb70b9$1@forums-1-dub>
Date: 11 Dec 2004 14:12:09 -0800
X-Trace: forums-1-dub 1102803129 212.174.52.141 (11 Dec 2004 14:12:09 -0800)
X-Original-Trace: 11 Dec 2004 14:12:09 -0800, adsluser-1165.adsl.ttnet.net.tr
Lines: 27
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:426
Article PK: 424601

The newer 1.4.2 JVMs javap clients are producing different outputs than
that comes default with Powerbuilder. Therefore, Powerbuilder javap
parsers fail while generating proxies.

What I do is, I generate my proxies using the JVM that is distributed
with Powerbuilder, and after generating the proxies, I change the JVM
path to point to the newer Sun JVMs.

Regards,
Gokhan

Al wrote:
> I downloaded the Converter program. It works.
>
> I try to change JDK location from System Options/Java Tab.
>
> Instead of using the default values, I use JDK version 1.4.2
> that I downloaded from SUN.com.
>
> The JDK location becomes "C:\j2sdk1.4.2_04".
> The JRE location becomes "C:\j2sdk1.4.2_04\jre\bin\client"
>
> But when I try to deploy the proxy, I get "Bad Java Class
> Name: void".
>
> Anyone has any idea of why?


Bala Narasimhan Posted on 2004-12-20 15:04:01.0Z
From: "Bala Narasimhan" <bala.narasimhan@energy.sungard.com>
Newsgroups: sybase.public.powerbuilder.ejbclient
References: <41af463b.2f05.1681692777@sybase.com> <41bb70b9$1@forums-1-dub>
Subject: Re: Change JDK location
Lines: 44
Organization: Sungard Energy Systems
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Original-NNTP-Posting-Host: 198.63.161.84
Message-ID: <41c6e9db$1@forums-2-dub>
X-Original-Trace: 20 Dec 2004 07:03:55 -0800, 198.63.161.84
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 20 Dec 2004 07:03:58 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 20 Dec 2004 07:04:01 -0800
X-Trace: forums-1-dub 1103555041 10.22.108.75 (20 Dec 2004 07:04:01 -0800)
X-Original-Trace: 20 Dec 2004 07:04:01 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:429
Article PK: 424604

I have the same issue while generating proxies using PB 10.0
"Bad Java Class Name: void".
I have tried with different JDK versions including the default one that
comes with PB.. No luck.
It would be nice if we get an option to choose the decompiler. like DJ
Decompiler etc...which doesn't expect the required files in classpath etc.,
or
better error reporting on such parser errors like what file (class/jar/any
other dependent files) etc.,

"Gokhan Demir" <gokhan.demir@igonline.biz> wrote in message
news:41bb70b9$1@forums-1-dub...
> The newer 1.4.2 JVMs javap clients are producing different outputs than
> that comes default with Powerbuilder. Therefore, Powerbuilder javap
> parsers fail while generating proxies.
>
> What I do is, I generate my proxies using the JVM that is distributed
> with Powerbuilder, and after generating the proxies, I change the JVM
> path to point to the newer Sun JVMs.
>
> Regards,
> Gokhan
>
>
> Al wrote:
> > I downloaded the Converter program. It works.
> >
> > I try to change JDK location from System Options/Java Tab.
> >
> > Instead of using the default values, I use JDK version 1.4.2
> > that I downloaded from SUN.com.
> >
> > The JDK location becomes "C:\j2sdk1.4.2_04".
> > The JRE location becomes "C:\j2sdk1.4.2_04\jre\bin\client"
> >
> > But when I try to deploy the proxy, I get "Bad Java Class
> > Name: void".
> >
> > Anyone has any idea of why?