Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Timestamps revisited

6 views
Skip to first unread message

DrMike

unread,
May 31, 2007, 6:48:20 PM5/31/07
to
I have a jdbTable that is extracting 4 columns from a view created in DB2;
two of the fields are timestamps. The data displays correctly when I run it
as a Java application in Jbuilder 2006; however the timestamp data
disappears when I run it as a Java Web Start app. Here's a new twist: I can
run it on an Apple MACBook and it displays the data as it should. I'm
wondering if the jdk (ver 5 vs ver 6) might be part of the problem.


Kevin Dean [TeamB]

unread,
Jun 1, 2007, 7:27:14 AM6/1/07
to
DrMike wrote:

dbSwing hasn't seen any significant modifications in years. It's quite
possible that there's an incompatibility with JDK 6. What JDK is it
running under in JBuilder and in JWS?

--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html

DrMike

unread,
Jun 1, 2007, 9:33:29 PM6/1/07
to

>Kevin Dean [TeamB]:


What JDK is it
>running under in JBuilder and in JWS?
>

The IDE (JBuilder 2006) uses the built in jdk 1.5. I'm not sure how to tell what the JWS uses. I have jdk 1.6 and jre 1.5 and 1.6 installed on that machine. When I go to the Tools->Sun Java Console menu item in IE, it tells me jre 1.6. So, I guess I should somehow change that back to 1.5 and see if that makes a difference. Sure wish I knew how to do that...

Kevin Dean [TeamB]

unread,
Jun 2, 2007, 7:31:26 AM6/2/07
to
DrMike wrote:

>Sure wish I knew how to do that...

Here's the documentation on JWS as a whole:

http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/contents.html

What you want is the j2se element of the resources element:

http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/syntax.html#resources

DrMike

unread,
Jun 2, 2007, 10:00:59 AM6/2/07
to

>What you want is the j2se element of the resources element:
>
>http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/syntax.html#resources
>
>--
>Kevin Dean [TeamB]

Wow. That worked. All I did was remove that + sign from the <j2se version="1.5+" /> line in the jnlp file. Now all I have to do is make sure nobody upgrades to jre1.6. :-)
Thanks for the reference; I had not seen it but relied on what I found in JBuilder.

0 new messages