Help finding JAR files containing a specific class
I Need to find the JAR file containing the java class/type com.sap.engine.frame.ServiceException
<i><b>Frank</b></i>
Hi Frank,
The easiest solution will be searching for class names in Windows search like: Search for files *.jar and contains text xyz.class.
If you find a particular jar then open it using WinZip and you can locate the class file.
Regards,
Ananth
Similar Messages
-
Hi all,
Where can i find the following jar files:
1) GenericConnector.jar
2) ConnectorHelper.jar
3) connectionapi.jar
Regards,
Kerenhi,
You can install jar class finder as explained in this blog
Using JAR Class Finder
You can find it under
<Drive>usrsapJ2EJC00j2eeclusterserver0appssap.comirjservlet_jspirj
ootWEB-INFdeploymentpcd
Regards,
Ganesh N -
Help on jar file for org.apache.xml.serialize.OutputFormat
Hi all, I need help regarding on org.apache.xml.serialize.OutputFormat
and org.apache.xml.serialize.XMLSerializer. May I know which jar files
contain these? ThanksAfter installing jdk 1.5 the problem is now resolved and after prefexing a few of the import statements with com.sun.
There are however some more classes as part of the Xerces 2.7.1 jar file as compared to the JWSDP 1.6 installed and this requires the xercesimpl.jar to be included in the classpath.
Rgds,
Seetesh -
Help using jar file!
Hello
I have created a jar file by using
jar cvmf Manifest.txt myjar.jar 1.class Mydirectory
In 1.java file :I have used
JEditorPane editor;
editor.setPage(getClass().getResource("/Mydirectory/default.htm"));
If I am only giving myjar.jar file to the client without Mydirectory then also it is working fine by showing default.htm in JeditorPane.
But my problem is I want to use
Runtime.getRuntime().exec("cmd /c start IEXPLORE"+targetstr) ;
targetstr will be the filename with path of the default.htm
If I am giving myjar.jar file with Mydirectory to the client it is working but I don't want to give Mydirectory to the client .
What should I do?
Is there any solution for this?
Using another jar file which will include mydirectory can solve this problem?
Is there any othe concept in java so that I wll be able to hide Mydirectory from client?
Please help.It seems like you could extract the .htm file from the jar, either with Runtime.exec or using the Jar API classes.
-
Where to find .jar files so I can implement import java.util.logging
I'm trying to figure out how to take an application built for Websphere and port it to WebLogic. I've come across this blog entry http://blogs.sun.com/fkieviet/entry/using_java.util.logging_in_bea_weblogic and would like to try creating and using the startup class.
I have not been able to find the correct jar files.
import weblogic.common.T3ServicesDef;
import weblogic.common.T3StartupDef;
import weblogic.logging.LoggingHelper;
In reading the documentation on using the NonCatalogLogger APIs at http://download.oracle.com/docs/cd/E12840_01/wls/docs103/i18n/writing.html I also see some code calling for the following imports
import weblogic.jndi.Environment;
import weblogic.logging.NonCatalogLogger;
1. Does anyone know where I can grab these?
2. There must be a strategy for finding these .jars that people use. If so, what is it?I thought I understood you, but the more I look at what you've set here, I'll just be honest and admit that the I don't know what you are saying here:
'You should be able to add the "weblogic.jar" in the WebLogic distribution to your classpath.' - What doe this mean?
1. Go to my xxxWeb app Dynamic Web Project and right-click and select Build Path / Configure Build Bath / Libraries - Select Add external JARS and navigate to the weblogic.jar
2. Go to my xxxWeb app Dynamic Web Project and right-click and select Build Path / Configure Build Bath / Libraries - Select Add Library and try to go from there?
3. Go to my xxxWeb app Dynamic Web Project and right-click and select Build Path / Configure Build Bath / Libraries - Select Add Variable and try to go from there?
4. Go to my xxxWeb app Dynamic Web Project and right-click and select Build Path / Configure Build Bath and do something else?
5. Something else?
Also, I don't know what you mean here:
'You don't need to (and you shouldn't) copy that jar file, just have it in your compilation classpath. It will be present automatically at runtime.'
Sorry for being so simple here but I've been trouble shooting why I can't follow what look like pretty simple steps to implement over-riding the ApplicationLifecycleListener Class to use existing java.util.logging.Logger code by adding the following to the the weblogic-application.xml:
<wls:listener>
<wls:listener-class>com.qualcomm.weblogic.log.listener.UtilLogWrapper</wls:listener-class>
</wls:listener>
And including as a referenced jar file, a simple POJO class instance of com.qualcomm.weblogic.log.listener.UtilLogWrapper.
My resrouces for this are:
1. http://blogs.sun.com/fkieviet/entry/using_java.util.logging_in_bea_weblogic.
2. http://www.oracle.com/technology/pub/articles/drolet-ant.html.
Maybe my weblogic.jar is at the root of the problem.
I hope you can 'dumb this down' for me with a simple explanation of steps to do what you outlined above. -
Hello,
I'm developing a JSPDynpage with beans.
These beans connect to an R/3-system.
I want to make use of the Connector Framework.
I added the needed used DC's to my development component, but I'm still missing 1 jar-file with the IConnectorGateService-class (i think its the connectorserviceapi.jar) wich DC do I have to add to my used DC's?
Thanks for help,
Joachim
Message was edited by: Joachim Van PraetHello,
Ok, Then you have to create a seperate DC if type "<b>EXTERNAL Library</b>" , And then make it as a public part for use by other DC's. For more information you can try do like this.
<a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2361">Add External Jar to DC</a>
I hope this will solve your problem.
Regards
Pravesh -
What jar file contains javax.naming service?
Hi,
Back so soon.
Does anyone know what jar file contains the javax.naming services used for JNDI?
Thanks,
EveretteHi..
There's a good utility called jarscan.. I use it a lot, especially since wls 10 where lots of stuff's been moved around.. -
Where is jar file containing oracle.ifs.beans?
Where is the jar file containing the Java packages that must be imported in order to compile a Java application that uses iFS? It doesn't seem to have been included when I installed the iFS development kit.
1) To run an applicaiton against iFS you need the following entries in your Classpath
classpath "D:\Program Files\Oracle\IFS\custom_classes;D:\Program Files\Oracle\jlib\oracle8.1.6\classes111.zip;D:\Program Files\Oracle\IFS\lib\xmlparserv2.jar;D:\Program Files\Oracle\IFS\lib\release.jar;D:\Program Files\Oracle\IFS\lib\repos.jar;D:\Program Files\Oracle\IFS\lib\tools.jar;D:\Program Files\Oracle\IFS\lib\utils.jar;D:\Program Files\Oracle\IFS\lib\adk.jar;D:\Program Files\Oracle\IFS\jws\lib\servlet.jar;D:\Program Files\Oracle\IFS\settings;D:\Program Files\Oracle\Lib\vbjorb.jar;
null -
Find jar file which contains wanted class
I have too many jar and zip files under my classpath. How could I know which jar or zip file contains the class file I wanted?
Thanks.Maybe this tool will be of interest to you:
Java Tip 105: Mastering the classpath with JWhich - Identify which class will be loaded in your classpath
http://www.javaworld.com/javaworld/javatips/jw-javatip105.html?
Jesper -
Hi,
help me to find out jars containing the below classes
and from which location in portal server , i can get those jars..
import com.sapportals.portal.landscape.ISystem;
import com.sapportals.portal.prt.component.IPortalComponentRequest;
import com.sapportals.portal.prt.service.exportal.IExportal;
import com.sapportals.portal.prt.service.landscape.IEPSystem;
import com.sapportals.portal.prt.service.landscape.ILandscapeService;
Thanks and Regards,
SivaHi Siva,
please go to the following thread to learn how to use JAR class finder
Is anyone using IBM's JAR Class Finder in NWDS/Eclipse? Help
You will be able to solve your problem yourself.
regards,
Shubhadip -
Can't find jar file which contains com.sap.portal.directory - Constants
Hi,
I am not able to find a jar-file which contains the Constants class of com.sap.portal.directory.
Does anybody know where to find it?
Thank you in advance.
Kind regards, Patrick.Hi,
Refer this link
Using JAR Class Finder
in the server u can find the jar files required for the application....
C:usrsapJ2EJC00j2eeclusterserver0appssap.comirjservlet_jspirj
ootWEB-INFportal
Regards,
Senthil K. -
I am trying to build some code which needs oracle.ifs.beans and oracle.ifs.clients packages and classes. I have downloaded the following:
OracleAdministrativeClientUtility
OracleApplicationServer
OracleContentManagementSDK
OracleIIOPClientLibrary
OracleJDeveloper
OracleRMIClientSideLibrary
OracleSOA
OracleWebServicesClientLibrary
None of these appears to contain the oracle.ifs packages.oracle.ifs.beans and oracle.ifs.clients packages are for the Oracle Internet File System. Are the following JAR files available?
repos.jar
adk.jar -
Help! How to create Jar file for a packaged class?
Hi!
I am new in jar complexities. I made a swing frame that just prompts a JOptionPane when executed. I accomplished the same using jar without packaging my class SwingTest.
But when i package it, it doesn't run. Can any one tell me how to make jar file of packaged classes and include images in the jar files too!
Really Thanx!Call the Jar from the commandline to see the exceptions thrown.
java -jar <jarFileName> <className> -
OK, folks, I need some help here...
And I have researched on this prior to this post, but I still don't get it.
I have a simple application in Reminder.java file. When I compile it, I get Reminder.class and Reminder$ReminderThread.class, because I have an inner class.
I place those files in Reminder directory. I want to make an executable JAR file, so I made a manifest file outside the Reminder directory that contains these lines
Manifest-Version: 1.0
Main-Class: Reminder.Remindersince the Reminder.class is within the Reminder directory, I understood I had to have a prefix "Reminder."
In the command line, I type
jar cmf manifest Reminder.jar Reminder/Reminder.class Reminder/Reminder$ReminderThread.classAnd I do get a Reminder.jar file, but when I double-click on it, I get a popup saying "Could not find the main class. Program will exit!"
So, what am I doing wrong and how can I fix this? As I said, I have researched, but I can't understand what went wrong nor how to fix the problem.
Any help will be greatly appreciated.Never mind, I solved it, I was missing a carriage return in my manifest file. I feel so stupid now...
-
Please Help! .jar file don't work.
Hi, I've written a swing program that works fine when run from command prompt but it doesn't work when I create a self executable jar file and run it.
Here's the generated classes after compiling the source file:
TheGMailClient.class (main class)
TheGMailClient$1.class
MailSender.class
MyAuthenticator.class
I also have a GIF image file.
Here's what written in the manifest file:
Manifest-Version: 1.0
Created-By: 1.4.2_05 (Sun Microsystems Inc.)
Main-Class: TheGMailClient
I've created the jar file with the following command:
jar cvfm TheGMailClient.jar MANIFEST.MF -C classfiles .And here's the exceptions shown after running the jar file (I've run the jar file from command prompt using the java -jar command to view the exceptions):
java.lang.NoClassDefFoundError: javax/mail/MessagingException
at TheGMailClient.actionPerformed(TheGMailClient.java:238)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
n Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)It seems to me that some classes are not found. How can I overcome this problem? Please help me guys! I'm really stuck in here.The error is occuring because the jar ignores the system classpath.
You need to set your classpath in the manifest file to find the external jars.
Otherwise the external jars will not be found.
In your case class javax/mail/MessagingException
For example:
Manifest-Version: 1.0
Created-By: 1.4.2_05 (Sun Microsystems Inc.)
Main-Class: TheGMailClient
Class-Path: . jars/mail.jar jars/activation.jar
The path will need to be correct in the above related to your system.
Also because you mention a gif image.
You will need to add the image to the jar - you haven't.
make sure you are loading the GIF image file in a manner that can be used from a jar.
Image image = null;
try {
image = ImageIO.read(getCkass().getResource("logo.gif"));
catch {
// what ever
}You may need a relative path to the image in the jar depending on where the gif is.
For example image = ImageIO.read(getCkass().getResource("images/test.gif"));
rykk
Maybe you are looking for
-
How do I reverse the order in which files appear in Icon View option?
I took a lot of pictures on a trip recently, which I have uploaded to a folder in Finder. When I click on View Options and then Keep Arranged by Date Created, they get rearranged so that the most recent appears at the top, and the first ones taken ar
-
BI IP: How to create a message in custom developed planing function type
Hello experts, I try to set a message in a ABAP planning function. I created a own planning function type and implemented the class in ABAP. Everthing is working fine until here. But how can I create a message which is visible in the report. Is it ju
-
the "upgrading database" phase which should "take a couple of minutes" has taken over a month and it's still only a quarter of the way done. i'm on a macbook pro that is just under a year and a half old. this is the screen i'm on / have been on: what
-
Hello, my Mac Pro will not update my apps. It says I havent owned the major version of the software. Why can't I update my apps? Please help. Thank YOU. Joe Barbato <Email Edited by Host>
-
I'm an old codger who finds the white earphones that I was given with the N70 too loud.Is there a darker,like black, version that you can buy?