ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Using enum in WMB Java

Post new topic  Reply to topic
 Using enum in WMB Java « View previous topic :: View next topic » 
Author Message
crossland
PostPosted: Thu Aug 07, 2008 4:22 am    Post subject: Using enum in WMB Java Reply with quote

Master

Joined: 26 Jun 2001
Posts: 248

I need to use enum in a Java node, which was introduced with 1.5.
However, the Java compiler on the WMB toolkit is failing to recognise enum.

This is despite the fact that Windows, preferences, Java, installed JREs uses JRE 1.5.

The problem appears to be that the only options available under Windows, preferences, Java, Compiler, Compliance and Classfiles for Compiler compliance level are 1.4 and 1.3.

As a result, compilation fails.

Is there any way to get it to compile with 1.5?

My version of WMB Toolkit is 6.0.2.

Thanks.
Back to top
View user's profile Send private message
JLRowe
PostPosted: Fri Aug 08, 2008 2:08 am    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

Me thinks that you need 6.1 to get Java 5 support.
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Fri Aug 08, 2008 2:14 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

No... You can easily run Java 1.5 with Broker 6.0.

There's even been a recent post on this subject.
Back to top
View user's profile Send private message
crossland
PostPosted: Sat Aug 09, 2008 8:13 am    Post subject: Reply with quote

Master

Joined: 26 Jun 2001
Posts: 248

You didn't read the post.

The problem is that the only options for Compiler compliance are 1.4 and 1.3 with WMB 6.0.

Has anyone managed to get WMB 6 to offer 1.5 as an option for Compiler compliance?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Aug 09, 2008 10:02 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

crossland wrote:
You didn't read the post.

The problem is that the only options for Compiler compliance are 1.4 and 1.3 with WMB 6.0.

Has anyone managed to get WMB 6 to offer 1.5 as an option for Compiler compliance?

And let's be precise: this is not about the broker, this is about the toolkit.
Did you start the toolkit as usual or did you make sure the toolkit starts in a 1.5 jvm? I believe the default eclipse jvm is still 1.4?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
janekb
PostPosted: Sun Aug 17, 2008 4:18 pm    Post subject: Reply with quote

Newbie

Joined: 12 Aug 2008
Posts: 1

WMBT v6.0 is based on eclipse 3.1, this version of eclipse doesn't support Java 5 (so there is no possibility to have 1.5 Compiler compliance).
You will have to use WMBT v 6.1. (which is based on newer version of eclipse v 3.3)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Using enum in WMB Java
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.