Jar/ java files in APPs

Hi,
Could anybody explain me where (in which directories) jar/ java files are situated in APPs and which is the difference between the jar files situated in COMMON_TOP and APPL_TOP ?
Thanks,
Paul

sorry, maybe i didn't state this clearly enough. basically, i have sets of libraries: app server library and middle-tier client libraries these are installed with each client machine and need to be updated accordingly with the libraries resided in the weblogic app server. now, the way i update these libraries is to uninstall/reinstall the client app each time. i am looking for ways to update in 1 place, ideally in the weblogic app server, then each time the client app starts, it will be notifed of these updates and maybe download these updates from the app server automatically...This will save me the hassle to uninstall/reinstall the client app each time, even small changes in the interfaces...

Similar Messages

  • Jarred .java file, how to use it?

    for a naked .java file, we can use -classpath to import it to our source files.
    but for a jarred .java file, can we import it into our source file for use?
    i tried for few hrs, it is impossible.
    if u have used a jarred .java file before, pls give me a hand.
    thx

    but for a jarred .java file, can we import it into our source file for use?No. And this has nothing to do with jar files at all. You don't import .java files, you import .class files.

  • Register a java file in apps

    Hi,
    I need to call a java file when i click on the function(responsibility-->menu-->function) in EBS.
    How?
    Best Regards,
    Palepu

    Hi,
    You have any oaframework page and from the link you want to call this java file,
    or directly from the menu - function you want to call the java file.
    In APPS normally there will not be any direct call to java file(.class), it will be called inside a OAFramework page file (click a link or button or inside some validation process)
    or have a simple .jsp file and import the java file and use it in that .jsp file.
    For the defn of .jsp file you can run the below query and get sample function defns.
    select function_name, web_html_call from fnd_form_functions
    where web_html_call like '%.jsp%' and web_html_call not like '%OA.jsp%'
    Thanks,
    With regards,
    Kali.
    OSSi.

  • How to put java files in  *.jar

    I have 5 *.java files in 1 directory. I want to put those 5 classes in a *.jar file without using some special tool. How is the best way to do that.
    It is something with the command prompt?
    All help welcome.
    Grtz
    Lehtori

    What is a 'special' tool?
    If you want to write your own jar app then feel free. You should probably need to do some research on zip files.
    If not then I suggest you use "jar" which will put anything into a jar file that you want.

  • Trouble compiling .java file in 11.5.10.2 Apps

    Hi Gurus,
    We are trying to recompile QuoteRenderer.java after adding some lines to give us some more debug information regarding a Quoting issue. But when we try to recompile we are getting below errors. We have executed standard Apps env file and below is the CLASSPATH set in the environment. Please advice how to fix this.
    Thanks in advance.
    Apps Version: 11.5.10.2
    JDK Version: 1.6.0_16
    CLASSPATH=/usr/java/jdk1.6/jre/lib/rt.jar:/usr/java/jdk1.6/lib/dt.jar:/usr/java/jdk1.6/lib/tools.jar:/usr/java/jdk1.6/jre/lib/charsets.jar:/testappl/testcommon/java/appsborg2.zip:/testappl/testcommon/java/apps.zip:/testora/8.0.6/forms60/java:/testappl/xxx/11.5.0/java/CustomMobileApplication.zip:/testappl/xxx/11.5.0/java/itext-1.4.6.jar:/testappl/xxx/11.5.0/java/xxxCustomQuotevj.jar:/testappl/testcommon/java:/testappl/testcommon/java/oracle/apps/xdo/template/rtf/util/barcoder
    apps> javac QuoteRenderer.java
    QuoteRenderer.java:38: package javax.servlet.jsp does not exist
    import javax.servlet.jsp.JspWriter;
    ^
    QuoteRenderer.java:39: package javax.servlet.jsp does not exist
    import javax.servlet.jsp.PageContext;
    ^
    QuoteRenderer.java:162: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void loadQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, int i)
    ^
    QuoteRenderer.java:192: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    private static Quote loadQuoteLinesForDisplay(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, BigDecimal bigdecimal, HashMap hashmap, int i, BigDecimal abigdecimal[], PageContext pagecontext)
    ^
    QuoteRenderer.java:818: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void loadQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s, String s1)
    ^
    QuoteRenderer.java:929: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void loadQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s)
    ^
    QuoteRenderer.java:999: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    private static void partialLoadQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, int i)
    ^
    QuoteRenderer.java:1080: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void loadExpandList(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext)
    ^
    QuoteRenderer.java:1191: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void renderQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s, String s1)
    ^
    QuoteRenderer.java:2638: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void renderQuoteLineSmry1(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s)
    ^
    QuoteRenderer.java:2797: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static String getPriceListExists(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s)
    ^
    QuoteRenderer.java:2907: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void renderQuoteLineSmry(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s)
    ^
    QuoteRenderer.java:3207: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void XxreRenderQuoteSupportTotals(PageContext pagecontext)
    ^
    QuoteRenderer.java:3272: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static boolean XxSiebelIntPkgCall(PageContext pagecontext)
    ^
    QuoteRenderer.java:1199: cannot find symbol
    symbol : class JspWriter
    location: class oracle.apps.qot.util.QuoteRenderer
    JspWriter jspwriter = pagecontext.getOut();
    ^
    QuoteRenderer.java:2645: cannot find symbol
    symbol : class JspWriter
    location: class oracle.apps.qot.util.QuoteRenderer
    JspWriter jspwriter = pagecontext.getOut();
    ^
    QuoteRenderer.java:2811: cannot find symbol
    symbol : class JspWriter
    location: class oracle.apps.qot.util.QuoteRenderer
    JspWriter jspwriter = pagecontext.getOut();
    ^
    QuoteRenderer.java:2914: cannot find symbol
    symbol : class JspWriter
    location: class oracle.apps.qot.util.QuoteRenderer
    JspWriter jspwriter = pagecontext.getOut();
    ^
    QuoteRenderer.java:3210: cannot find symbol
    symbol : class JspWriter
    location: class oracle.apps.qot.util.QuoteRenderer
    JspWriter jspwriter = pagecontext.getOut();
    ^
    Note: QuoteRenderer.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    19 errors

    Hi Guarav,
    There was initial customization done by Oracle consulting some years back. Recently users have discovered a bug in the functionality. Oracle consulting have left .java files behind. We are trying to add few lines of debug code (printing variables and info) and trying to compile the .java file and we are getting above said errors.
    Please advice whether there is any better approach of dealing with the situation.
    Thank you.

  • How to compress a bunch of .java files into a single .jar file?

    Hello everyone! I am working on a Chinese segmentation job. Someone offers very excellent
    such tool. When I copy his example, I find it imports
              import org.apache.lucene.analysis.Analyzer;
              import org.apache.lucene.analysis.Token;
              import org.apache.lucene.analysis.TokenStream;
              import org.mira.lucene.analysis.IK_CAnalyzer;I have downloaded IK_CAnalyzer.jar file which contains org.mira.lucene.analysis.IK_CAnalyzer class.
    I find that I need to download lucene, thus I went into the following website
    http://lucene.apache.org/#06+May+2008+-+Lucene+Java+2.3.2+availableand downloaded the lucene-2.3.2-src.tar.gz. Aftre unzip, I found all java source files in java directory (and in many other different subdirectories). Now it seems I need to compile all the src files and compress them into a single .jar file while keeping their original hierarchy unchanged
    I think I should use jar command and with some additional options.
    Can anyone show me how to do that?
    Many thanks!
    Edited by: aaron9979215 on Jul 12, 2008 5:17 AM

    Thanks for reply, I?ve read that tutorial before I post. Howevver, it do tells how to compress a jar file.
    The question I have is how to compile two .java file stored in different packages like
    rootPackage-->subPackage-->a.java
    rootPackage-->subPackage2-->b.java
    I want to compile a,java and b.java both and keep their hierarchy like rootPackage.subPackage.a unchanged. If I directly go into subPackage and compile a.java, I think the hierarchy is changed.
    What do you think about it?

  • Java 7: Problems launching applets with jars on "file://" location

    Hi,
    We are experiencing a problem when updating our client's JRE from Java6 U 21 up to Java7 U 55.
    We have developed an Applet which is composed by several JAR files. Some of those JARs must be stored in local drive, and the JAR with the main Java class is stored on server.
    Let's supose we have a similar scenario like this:
    https://blahblahbah/bar.jar
    https://blahblahbah/test.html
    C:/foo.jar
    The code of test.html:
    <embed
      archive="file:///C:/foo.jar"
      cache_archive="bar.jar"
    />
    This code works fine on Java 6 and Applet is correctly loaded.
    However, with Java 7 a security exception is raised when trying to load JAR files from "file:///" location during Applet launch:
    java.lang.SecurityException: Permission denied: file:/C:/foo.jar
        at sun.plugin2.applet.Applet2Manager._loadJarFiles(Unknown Source)
    We have tried several tests using a java.policy file which grants all possible permisions:
    grant codeBase "file:/C:/foo.jar" {
        permission java.security.AllPermission;
    grant {
      permission java.security.AllPermission;
    We also tried to low Java's security level to "MEDIUM", with no success.
    We finally only managed to run the Applet if we explicity disable the "Next-Generation Plugin" with Internet Explorer 8. However, that's not a suitable solution, and still does not work with Mozilla family browsers.
    Eventhought with Mozilla browsers is still not working.
    Is there any restrictions in Java 7 that prevents to read jars from being loaded from local drive when launching Applets?
    Thanks in advance,

    Thank you baftos.
    I had read the whole message before posting mine. It's not the same problem. I'm able to run the sample signed applet always having the jar in the same location than the HTML page serving the applet via JNLP:
    <jar href="SignedAppletTest.jar" main="true"/>
    However, the security exception raises when trying to read that jar from local drive:
    <jar href="file://C:/SignedAppletTest.jar" main="true"/>
    ExitException[ 3]java.lang.SecurityException: Permission denied: file://C:/SignedAppletTest.jar
        at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
    I have even tried to decompile JNLP2Manager class, without seeing anything useful on that loadJarFiles method
    The only way I managed to avoid the problem is unchecking the New Generation Plugin and running the Applet with IE. Not a suitable solution for me at all..

  • How to make a jar file from a java file?

    how to make a jar file from a java file, is there any one tht can help me thank you;

    You can study this.
    http://java.sun.com/docs/books/tutorial/jar/basics/index.html

  • Java files work but jar files do not

    Hello everyone!
    My java files run normally and I get a response that I expect (which is successful). Imagine my surprise when I collected them in a Jar and the very same files inside the jar no longer work! I get a response (still generated by my java program) from successful, it turns to Query Expire.
    My problem is, when executed as normal java programs, the expected result is produced. However, when the jars are executed, the result is expired. What is wrong? The classes and the ones in the jar are the same. Is there something different with the mechanism of Jars that make it erroneous?
    Many thanks in advance. I have been working with this for a week with no progress! =(

    Hi!
    Thanks for your reply. Here's what's happening so far:
    I created my java files using Eclipse and using the Export option, I exported them as a JAR.
    When I run my application on Eclipse with the Java files in tow, the output I expect is Done sending: wait for responses now
    Received response from billing api- A: null(0), C: 13, E: Account already registered
    Register: Failed: 1 Failure(s)Now, on to the JAR file.
    I executed the JAR file using the command java -jar <jar name.jar>
    Here's the response:
    Done sending: wait for responses now
    Received response from billing api- A: null(0), C: -1, E: Query expire w/o response
    Register: Failed: 1 Failure(s)My program communicates with a database and this generates the reply that should be received by my program. My ordinary Java file gets the expected output, but the JAR does not.
    Is it possible that the JAR file somehow slows down the transaction? The reply sent by the database isn't received by the JAR -- somehow, the message gets lost.

  • 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 ,
    Imran

    Open 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...

  • Is it possible to zip and use java file in jar?

    there are 2 cases:
    1. only zip no-package java files in a jar file:
    i.e.
    ------------zip
    NoPack0.java (they are no package)
    NoPack1.java
    NoPackN.java
    ------------as NoPack.jar
    2. zip both no-package and packaged java files in a jar file
    i.e.
    ------------zip
    NoPack0.java
    NoPackN.java
    pack\HasPack0.java (they are packed in 'pack')
    pack\HasPackN.java
    ------------as HasPack.jar
    my question is:
    for 2 cases above, if both, one or none of them can be use as a jar file in -classpath for javac compiler?
    thx

    has my Q been answered?

  • How do you convert a jar file into a java file,  ?

    how do you convert a jar file into a java file ?
    I am new to Java ,but have a little experience in C++ and Visual Basic.
    I want to edit and maybe create my own mobile games that are written or converted into jar files.
    At the moment I am using Java NetBeans , and Easy Java( the java pad).
    However the only solution I tried was to open the JAR file in winrar and see that its made up of png picture files,
    midi music files and class files. Unfortunately when I uncompressed the JAR file , there was NO java file to be seen and the JAVA editors Do not show the class file like a Java file. So why is there no extension Java file in the mobile JAR game ?

    801283 wrote:
    how do you convert a jar file into a java file ?You generally don't. There exist decompilers, but if you're meant to have the source, you should either have it because you are the author, or you should be able to get it from the author.
    I am new to Java ,but have a little experience in C++ and Visual Basic.Does that experience include turning .exe files into C++ code? Because that's the equivalent of what you're asking
    I want to edit and maybe create my own mobile games that are written or converted into jar files.Eh?
    Are you saying you want to take existing games and modify them? If the creators allow you to modify their source, then they'll provide you with that source (the .java files). If you're allowed to add things but not modify, you don't need .java files. Just documentation, which, again, the creators should be providing.
    Or are you saying you want to create your own games and distribute them in jar files? If so, there's no need to turn jars into .java.
    However the only solution I tried was to open the JAR file in winrar and see that its made up of png picture files,
    midi music files and class files. Unfortunately when I uncompressed the JAR file , there was NO java file to be seen and the JAVA editors Do not show the class file like a Java file. So why is there no extension Java file in the mobile JAR game ?Why would you expect there to be one?

  • Obtaining a *.java file from Oracle Apps 11i

    Hi,
    I am working on customizing an existing Oracle Apps page. For this purpose I would need some of the seeded java files (not class files) provided by Oracle Apps. Is there any place on the application server or some other place from where I can get these?
    Thanks,
    Sangita

    Avoid modifying the std code, extend std.
    If you still want to modify std, do it thru' JDeveloper, Open the Business component, double click on the component to open the Object Editor, navigate to Java, check generate Java File options and then click OK , JDeveloper will automatically create it for you. This will save you the step of adding the new file onto JDev. You can then simply decompile the standard class file, copy the code onto the JDev-created java files and start modifying.

  • Help please - Updating .jar file and can't compile decompiled .java files.

    Ok, so there is a game on the internet called 'runescape', its a java applet that runs in the web browser from a cache in the windows directory.
    Basically im trying to edit this client so that i can run it away from their website (for use on a private server).
    The problem i am getting is that when i decompile the class files from the .jar into the .java files i can't recompile the .java files.
    E.G. I decompiled one of the .class files and tried to re-compile it agian straight away which brought me errors, i did this to rule out my editing as the problem.
    The jar file can be found [here.|http://world80.runescape.com/loader_gl397188536.jar] but the link will no double be dead after a few weeks.
    Can somebody please take a look and help me? I'm fairly new to java programming so if you could keep your answers as simple as possible that would be great, thanks.
    Ps. If this is the wrong section im sorry, i couldn't find the right section and this section seemed closest for me.

    i'm compiling using the javac command in a batch file, its displaying 100 errors but there are more, it seems to be showing that the syntax is incorrect as it is labeling brackets as being in the incorrect places.
    Decompiling error?
    As for being allowed to do this, im not so sure the company would approve but im only doing this for learning purposes and will not be releasing any of it upon the internet.

  • Deleted Java files, now no app opens on iMac

    I was running Mavericks on my iMac and a Java update wouldn't allow me to open certain programs. I then deleted all of my Java files from "user/library/...", restarted my computer and now all I get are error messages whenever I try to open an application, including finder. Is the only way to fix this to take it to a repair centre? WIll I lose all data or will they be able to save it if I give them a hard drive with the computer?
    Thank you

    What are the error messages, and what backups do you have?

Maybe you are looking for

  • How do I reset my Macbook Pro

    I have owned my Macbook Pro since around the end of 2012, and I would like to reset it, as it has recently been slowing down, along with booting up and shutting down slowly, and opening any application takes around 1 minute. I would like to know how

  • Printing an 11 X 14 image from Lightroom 5 on an Epson 1400

    I recently switched to a Mac and upgraded to Lightroom 5. I cannot get an 11 x 14 print from this setup when I was able to int he past. The image doesn't print full size. It prints smaller and to one side of the paper. Can anyone help?

  • Double-click no longer opens the open dialog in CS5

    I am testing the trial of CS5 and I noticed that I can no longer double-click the photoshop desktop to pop open the open dialog.  Did they get rid of this?  I looked through the preferences and I didn't see any option to turn it on.

  • HT4897 How can I change my alias in iCloud?

    How can I change my alias in iCloud?

  • Oracle 8i log msg

    Hi We are using Oracle 8i, the trace log size is 0K in folder "bdump". I have no idea what's the problem. pls help The file details as below 0k Jul 31 8:60 ora_17028_oracledb1.trc ***