Forum Discussion
lfhx_54443
Nimbostratus
May 23, 2007Problem of running with iControl.jar
Hi
I create a iControl.jar with the tool from iControl's jdk, and when I try to run some simple code with this jar file, the error occour:
LocalLBNodeAddress.java:21: cannot access iControl.LocalLBNodeAddressBindingStub
bad class file: /vobs/im/proxy/3pp/icontrol/iControl.jar(iControl/LocalLBNodeAddressBindingStub.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
public LocalLBNodeAddressBindingStub m_nodeAddress ;
^
1 error
*** Error code 1
clearmake: Error: Build script failed for "LocalLBNodeAddress.jar"
any help will be appreciated !
3 Replies
- lfhx_54443
Nimbostratus
Hi Joe
yes, what we need is this jar file
we have loaded it and compile with our code successfully
Many thanks ! - Great, glad to hear it!
-Joe - mchaas
Nimbostratus
Hi there!
I also have the same problem when trying to run the java class under linux. In Eclipse on Windows, the whole thing works like a charm!
But in Linux I get the following:javac -g -classpath exts/ -extdirs exts/ Erstens.java Erstens.java:1: cannot access iControl.SystemSystemInfoLocator bad class file: exts/iControl.jar(iControl/SystemSystemInfoLocator.class) class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. import iControl.SystemSystemInfoLocator; ^ 1 error
The Hello World works fine, so I suppose the SDK and JRE should be ok. 😉
But, when I look for an iControl.jar in the File you were refering to in the iControlAssembly, I didn't find one...
All that's in there are iControl.dll's and iControl.pdb's.
I have to add here that I am not an avid java coder, so maybe there is something that I'm missing...
thanks in advance and br,
Matt
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects