Can't able to access the Jar files which is kept inside the folder.
Hi,
I am using the eclipse IDE, my project folder contains the folders src, bin, .metadata, .settings
if i place the jar file in the same location of the above mentioned folder means i can able to use the Jar file in eclipse(in my project).
But i create one folder in the same location in the name of Jar or anything and all jar files are placed inside the folder,then i can't able to access the jar file in eclipse(in my project).
How i can solve this problem?
RajivGuna wrote:
..How i can solve this problem?Put Eclipse aside for the moment and learn how the SDK tools work at the level of the command line, then you will be much better placed to figure how to do it in the IDE. If you are still having problems, I suggest you ask on an [Eclipse forum|http://www.eclipse.org/forums/].
Similar Messages
-
Required the details of jar files which is loaded in the database
Hi
We are having a 10g database which is running under Solaris machine. There are lot of .jar files which are loaded into the database. I would like to know how to find those .jar file details atlease the name of the files which are loaded in the database. Is there any view for this.
I couldnt find anything from the Java option in TOAD
Please provide a solution.
Thanks
SHIYAS MFrom 11g onwards, you have
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
SQL> desc javajar$
Name Null? Type
NAME NOT NULL VARCHAR2(30)
OWNER# NOT NULL NUMBER
PATH VARCHAR2(4000)
CONTENTS BLOB
SQL> desc javajarobjects$
Name Null? Type
JARNAME NOT NULL VARCHAR2(30)
OWNER# NOT NULL NUMBER
OBJNAME NOT NULL VARCHAR2(40)
NAMESPACE NOT NULL NUMBER -
Custom Fault Policy java class is not able to access mediator.jar file
Hi,
I am trying to implement the custom java class for mediator fault handling. However when this class is invoked its not able to access the "oracle.tip.mediator.common.error.recovery.MediatorRecoveryContext" class during run time (which exists in mediator.jar). However its able to access all the other imported class files which exists in other library files.
Do we need to add mediator.jar to the weblogic classpath manually or should we place that jar file in some location in the server ?? Its currently residing in the path -- /app/oracle/product/soastg/11.1.0/SOA/soa/modules/oracle.soa.mediator_11.1.1/mediator.jar. I tried to copy the same jar into domain lib and admin lib path but there was no luck.
Any input on this will be helpful.
Thanks,
RameshHi Ramesh,
Try out the following
1) Copy mediator.jar from SOA_HOME>/soa/modules/oracle.soa.mediator_11.1.1 to <MW_HOME>//soa/modules/oracle.soa.ext_11.1.1/classes
2) Goto <MW_HOME>//soa/modules/oracle.soa.ext_11.1.1/classes and run the following command:
a. jar -xvf mediator.jar
3) Now remove the jar file, i.e., mediator.jar from classes folder.
4) Restart the server.
Regards,
Srijith -
I want to grab the application files which are deployed on the oracle 9i
I want to know the physical path of a java application deployed on server.
I am having the admin console access to the server. But i don't have the login to the physical box. I am pretty much sure this is the only application deployed on this server. I don't have any clue how it is deployed under a [b]war or ear format.
I don't know any thing about the oracle application server. Can any body help me out under which path these j2ee applications will be deployed.
"/u01/app/oracle/ias_app"
Thanks
TaraHello Tara,
Unless the deployment directories have been changed the default location for the application to be deployed is:
$OH\j2ee\<OC4J_Name>\applications\<app_name>
$OH\j2ee\<OC4J_Name>\application-deployments\<app_name>
You can have limited access to the applications through the console via the Applications link.
Hope this helps.
Deepak -
Finding class inside of the jar file...
Hi,
please could someone explain me, what is the difference between this object mapping...
env->FindClass("com/dir1/dir2/ClassA");
and
env->FindClass("Lcom/dir1/dir2/ClassA;");
because if class 'ClassA' resides inside of the jar file, which is appended to the classpath, Lcom/dir1/dir2/ClassA; don't succed and FindClass returns NULL!!!!
Instead of if i use 'com/dir1/dir2/ClassA' string FindClass method ends with success....
But i don't understand this...i was wondering that all my objects, not default java objects, should be mapped as L<class>;....:-((
Please heellpI have noticed that a class have several notations which have been brough together of late. Even ObjectOutputStream write both java.lang.String and java/lang/String, arrays appear as [Ljava.lang.String; and the code will decode Ljava.lang.String; correctly even though it will not get generated.
It is possible that this historical discrepencies are more visable at the native level and are yet to be fixed up ???? -
How to modify the jar files information for Script Assets??
Hi,
I am using Open Script 9.2. We can add the external JAR files using Script->Script Properties--> Script Assets. I need to change the jar files when ever i am going to execute no of scripts. How can I modify them using JAVA Coding without manual handling. Is there any specific methods existed in OpenScript to serve the above scenario.
Thanks in Advance.
Thanks & Regards,
Siva ThotaHi,
When you say alter the jar file, do you mean alter the contents of the java code within the jar. If this is yes then the simple answer is no. As you are probably aware, a jar file contains pre-compiled java code, which you will not be able to alter. What is it you are trying to achieve?
A simple answer maybe to use a child script which you can include into your main script. You can then change the code in the child script, and when you play back, this 'new' code will be compiled, and included within the replay.
Regards
Wayne. -
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. -
How to find the JAR files of a custom portal service?
Hi all,
I have created and deployed a custom protal service on to the portal. Now for any of the other apps to make use of this service, i need the JAR files which correspond to this portal service. Where do I find them??
Regards,
Narahari
Message was edited by: Narahari VedulaHi,
Can you check up if this is located in the following path.
System Administration ->Support->Portal Runtime
Here navigate to ROOT/WEB-INF/portal/portalapps
Open the folder with the name of the par file and check up if you can locate the jar.
Regards,
Harish
(Please award points in case this helps) -
To add the JNI dll to the jar file and use the dll inside the jar file
Hi to everybody,
I am new to java.
I want to add the JNI dll to the jar file and use it in the java class.
How can I achieve it.
Please help me.
Thanks in advance.
Regards,
M.Sivadhas.can't be done because none of the known operating systems support reading binary libraries from .jar files ... you can add the binary to the jar but then you have to extract it...
besides, mixing platform specific and platfrom independent components is not a very good idea, i'd keep the dll out of the jar to begin with -
Portal Service - Creating the JAR Files
Hello All,
I need some help with Portal Services, I have created a Service and Deployed it to the Portal Server, but can someone tell me how to create the JAR Files for PortalService to add them to other projects. I just want to confirm if we just:
1. Export the IService files in a Jar file and add to the project.
Please do let me know.
Thanks,
John.Hi John,
You have to jar the class files of the Portal Service using the java jar command and add the jar in your other applications.
You can go to the directory location of the class files of your Portal service in command prompt and type in this command..
"jar -cvf <i>jarFileName</i>.jar ."
the jar file will be created in the current directory.
cheers
Kiran -
Problem when modifying the jar file of a portal component
I get the umelogonbase.jar from the com.sap.portal.runtime.logon component, extract it with winzip, do not make any changes to the source code, then re-create the jar file and add it back to the component. Now, when I deploy the component to the Portal I get the following error:
"Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
com/sap/security/core/logonadmin/IAccessToLogic.
Exception id: 10:30_08/08/07_0012_15067450
See the details for the exception ID in the log file"
any idea what I am doing wrong here?
I am doing this because I need to change the texts in the umelogonbase.jar, so this is the first step to see that the component still runs once I modify the jar file.
Note: I create the jar file by creating a jar-type project in NWDS and then exporting the project as jar.Do you have JDK installed? If not then please install it by downloading from http://java.sun.com/j2se/1.4.2/download.html. Install it in your local machine. Then inside the installation folder\bin folder you will find the jar.exe.
Also create the environment parameter named JAVA_HOME and set the value as the installation directory of JDK for example JAVA_HOME=C:\j2sdk1.4.2_13. Also add the following to your Path environment variable
C:\j2sdk1.4.2_13\bin;C:\j2sdk1.4.2_13\lib;
these path names should vary depending upon your actual JDK installation folder name.
Regards,
Shubho -
Protecting the jar files from being web access
I have a jnlp file which is put under tomcat webapps folder, say (\webapps\TEST\launch.jnlp), with the jar and lib files put in the subfolder (\webapps\TEST\folder1\*.jar AND \webapps\TEST\folder1\lib\*.jar).
My question is how can i prevent user from direct access to the jar files via typing http://www.someip.com/TEST/folder1/main.jar ? I tried the following methods but it seemed not working:
1. Change the folder permisson in \webapps\TEST\*.*, but when user type the above hyperlink they can still get the jar file
2. put the jar and related files under \WEB-INF\, but now this time running the launch.jnlp, it returns an error saying that it can't access/find the WEB-INF.
Is there any method? Or should I say, when you published jnlp to web, the related jar files are forced to be accessed by everyone.Sounds easy to me: encrypt your xml, then instead of just storing your key as plain bytes do some reversable operations on it (xor masks, reversions, whatever you like), just do them in many different points (and classes) of your code, have some parts done by methods that actually check application is running under JWS with proper codebase, scramble it all, and suddently the whole stealing operation won't be worth the effort. Obviously you should have many private (and package protected) methods, seal packages and so on. Maybe, somehow, you can even use reflection to identify calling classes (not sure, never looked for anything similar).
What else? write down some c++ code into your own dll/JNI library and make it do something too, so they'll even need to decompile the dll. If you know first execution is always online you can send another xor key and store it with persistence service or write it down to windows registry. You can keep making it harder as much as you like, even just with silly code like
Math.ceil((new GregorianCalendar.getField(Calendar.YEAR)%2000)/1000)*((int)('c'-'a'))just to retrieve the number 2. If you distribute such code through many lines and methods, once you scramble it, most people will give up.
Bye. -
Java Files inside the jar file cannot be read or accessed through Eclpse
The Java File inside the jar file of the eclipse cannot be accessed through the Eclipse . It shows error for the modules in the jar file .
But when compiled with adding the jar files to the class path the compilation is successful .
How can i browse through the files in the jar like going into the function definition .
TIA ,
ImranOpen MPlayer OSX and show the playlist (command-shift-p) then drag the file into the playlist. Click the file in the playlist and click the "i"nfo button. What does it list for file, video and audio format?
Not all of the codecs used in avi and wmv files are available for OS X so I'm guessing your file happens to be using one that isn't... -
What are the Jar files required,that for accessing the Type 4 Drivers.
what are the Jar files required,that for accessing the Type 4 Drivers.
Regards,Well it is Database Specific.
Howevr there are few 3rd party .jar (Derby) which you can use it for accesing some standard databases. -
How can i get the path to config folder placed inside the jar file?
Hi i have developed an RCP application using eclipse.
In my application config directory is there.
When i export my RCP application as JNLP Project the jar file is created which contains config folder inside it.
When i download the application using java web start , how can i get the path to config folder placed inside the jar file?
Will the config folder exists in local cache in my system?
Help needed.
-Deepak-- This works in CS6:
tell application "Adobe InDesign CS6"
set myDocument to active document
set selectedRectangles to selection of myDocument
set theGraphicsLink to file path of item link of (graphic 1 of (item 1 of selectedRectangles))
--> "Macintosh HD:folder/folder/filename.tif"
end tell
Maybe you are looking for
-
Can I Use A Standard TV for A Poor Man's Monitor?
I do a fair amount of video work at home and was wondering if I could rig up a standard TV to view my spots for field issues and maybe some rough color. This is my video card: http://www.driverheaven.net/reviews/9800256/R9800PRO%20256%20BOARDhighres.
-
I'm learning iMovie (version 10.0.6), in OS Yosemite, I can no longer see the menu at the left bottom side (the title, iTunes, garageband, etc.) Did I hit a button to accidentally hide it or something? I imported my media and all of a sudden the me
-
Newbie: Moving a workgroup to an external drive
I am just setting up a snow leopard server for our small design firm on a mini. I'm sure I'm missing some really basic concepts to I apologize in advance. I have a large Drobo which I want to put our company workgroup files on. When I installed the s
-
So I have this Spry menu I want to use for navigation. I did not like the default styling of text etc so I changed some stuff in the CSS. But now a submenu appears strange in IE and I can´t figure out what is wrong. Take a look at: www.bignert.com/su
-
I have been trying to back up encore projects from my edit machine to an external hard drive and have been able to back up everything except a couple of these files. Is there a character limit that anyone knows about? I think that might have someth