How to get version of Informix JDBC Driver

How to get version of Informix JDBC Driver

Technote (troubleshooting)


Problem(Abstract)

How to get the version of Informix JDBC driver without writing any code

Resolving the problem

INTRODUCTION

Most customers using Informix products are used to having an option which gives them the version of the product being used. This is usually done at the command line using the "-V" option or using a special utility.

For example: esql -V would give the version of esql or the utility ifx_getversion can be used to display the version of the ClientSDK.

It is also possible to obtain the version of the JDBC driver contained in the ifxjdbc.jar file from the command line.


BEFORE YOU BEGIN

Make sure you have set the CLASSPATH variable correctly to include the location of ifxjdbc.jar ( or ifxjdbc-g.jar ) and that your PATH has the JDK in it.


STEPS

Execute the following

  • java com.informix.jdbc.Version

The following examples shows sample output.  
  • % java com.informix.jdbc.Version  
    IBM Informix JDBC Driver Version 2.21.JC5


COMMON PROBLEM  

Symptom :  
Exception in thread "main" java.lang.NoClassDefFoundError: com/informix/jdbc/Version  

Resolution:  
Make sure that ifxjdbc.jar is in your CLASSPATH. If you see ifxjdbc.jar in the CLASSPATH, make sure that ifxjdbc.jar exists in the location specified.



http://www-01.ibm.com/support/docview.wss?uid=swg21189718


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值