Where is class "Oc4j_10_1_3_Platform"?

Where is this specific class. It is referenced in the documentation wrt programmaticly setting the server platform.
Thx.

In the TopLink source library (toplink-src.zip) you can find a Oc4j_10_1_3_Platform.java.
But not indeed in the compiled version. Very strange. I think.
I'm now doing the Toplink 10.1.3 tutorial (see http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/_html/prt_tut.htm), but I can't complete it of because of this.

Similar Messages

  • Where are classes loaded from ?

    How can I find out programmatically the url where a class is loaded from ?
    Something like the info given by "java -verbose:class MyApp".
    I don't see any method doing this in the class Classloader...
    Any idea ?

    Haven't tried it, but what about trying URL wheresMyClass = ClassLoader.getSystemResource("myPackage.myClass") ?

  • Find where a class is loaded from

    Hi
    How do I find out programmatically where a class is being loaded from.
    For ex:
    I want to know where the java.rmi.Naming class is being loaded from. I thought it was from the rt.jar file. I deleted the Naming.class and 2 other anonymous inner classes of Naming class from rt.jar. When I do Class c = Class.forName("java.rmi.Naming"); it still works.
    TIA
    Sankar

    check this out:
    http://www.javaworld.com/javaworld/javatips/jw-javatip105.html
    "The Java classpath has always been a source of frustration and confusion, despite its seemingly simple concepts. This article demonstrates a simple tool for unambiguously identifying which Java class in your classpath the class loader will load."

  • How to get the directory name where the class resides

    I have following directory structure.
    c:\one\two\three\four\five\Test.java
    package name for Test.java is four.five
    When I run, four.five.Test, I want to get the compelte path name where currently the Test.class is running i.e. "c:\one\two\three\four\five\"
    so that if I move four.five.Test.java into some different directory structure, I should always get the complete path name.
    Thanks In Advance
    Sachin

    package x.y;
    import java.io.File;
    public class Test {
        public static void main(String[] args) {
            System.out.println(new File(Test.class.getResource("").getFile()).getAbsolutePath());
    }

  • Where the .class files will be created.

    Hi ,
    I have a Business Component oracle.apps.icx.por.req.server under this I have a VO say TestVO.when I rebuild my project where will the .class be created. Will it be created in <JDEV_USER_HOME>/MyClasses or it will be created under <JDEV_USER_HOME>/MyClasses/oracle/apps/icx/por/req/server.
    Regards,
    Naveen.

    Hi Naveen,
    Normally it will be created in <JDEV_USER_HOME>/MyClasses/oracle/apps/icx/por/req/server. Assuming that you have declared oracle/apps/icx/por/req/server to be the package for that class. If however the package definition is not specified it will be created in <JDEV_USER_HOME>/MyClasses.
    Refer to http://java.sun.com/docs/books/jls/third_edition/html/packages.html#7.2.1 for a more thorough discussion on java packages.
    Chris

  • Find where Actionscript class is loaded from

    Hi folks,
              Is there anyway to tell where an actionscript class is loaded from (i.e. what swf file) at runtime? I've had a look at some of the reflection api's and some of the sample code but none seem to address this. I'm originally a Java developer and this is a fairly straightforward call. For any java developers who may be viewing this if I may I'll put in the java for which I'm looking for the equivalent actionscript if possible.
    Thread.currentThread().getContextClassLoader().getResource("java/lang/String.class").getPa th();
    This will give me the location jar/folder path from where the String class is loaded for the particular thread.
    Any help would be greatly appreciated,
    Mark.

    No official API, but there is a getSWFRoot on SystemManager that might help.

  • Where my class is located?

    I need to know where a java class that I'm using is?
    How can I print the location in the file system?
    Maybe wioth the java.lang.reflect?
    Thanks.
    C.

    The only way I could see this being done is to create your own ClassLoader. By default there isn't a way to query a particular ClassLoader as to where it found the class it loaded.
    You would have to override the System ClassLoader if your class was on the system classpath. If you're in a J2EE application then there are a bunch of other ClassLoaders that you would have to override. All in all, a mess.

  • Where are classes for oracle.xml.parser.v2?

    I have downloaded both V1 and V2 of the XML parser. I have managed to download the java classes under org.w3c.dom from www.w3.org but I can't find the classes under oracle.xml.parser.v2 (or without v2) anyway on technet. Both are required for import.
    I would have expected them to be in the ZIP files xmlparser_v1_0_2_0.zip and xmlparser_v2_0_2_7.zip but they don't seem to be. These contain the equivalent HTML files but not the class files themselves, so compiling the samples is not possible.
    Any help would be appreciated as this is becoming very frustrating.
    Thanks in advance
    Gary

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steve Muench ([email protected]):
    The xmlparserv2.jar in the 2.0.2.7 download contains everything you need from DOM and SAX interfaces in the jar.<HR></BLOCKQUOTE>
    Many thanks Steve - yes unzipping the jar file corrects problem.

  • Identifying when and where a class was built and its rev. number

    I have to create applications that go into environments that are regulated by folks like the FDA. This means that when the apps are deployed we want to have a script that demonstrates the correct components are installed in the right place. This requires that we "label" each file with the data and time of the build, the build number, author etc. etc. So at the very least you can use normal file system commands to display this info.
    Are there any tools in Java to support this, also does anybody have any suggestions of the best way to do this.
    Thanks Steve

    I don't know of any tools in Java to do this. However, you may be able to get what you want from your source code control system. I think that CVS, SCCS and RCS all let you put special strings in the files ("%D%" or "$Revision$" or somethind like that) which get expanded at checkin time (which I would think would be more important that compile time). Often people put these in the javadoc comments so that they show up in the documentation. However, then they get lost from the compiled file. If you make them strings, hoever, they'll stick around in the .class file. Something like this:
    public static final String VERSION_CONTROL_STUFF = "$Revision$ $Author$";In Unix, you can use "ident" or "strings" or something to extract that info from the class file
    $ ident MyClass.class
    MyClass.class:
         $Revision: 1.17 $
         $Date: 2001/07/21 04:39:12 $

  • Where is Class Attributes in "Inspector" window

    I am just trying to create simple slider app in Xcode but after adding an object (from library) to interface builder and defining an object using Inspector, not able to see Class Attribute in Inspector window.

    When you say Class Attribute, do you mean that you want to examine your class's outlets and actions? If so, the outlets and actions are in the Library window. Click the Classes tab in the Library window and select a class to view its outlets and actions.

  • Where is class Select in my code

    Hi,
    I writet the jave code and uset he class select like below
    import org.openqa.*;
    import org.openqa.jetty.*;
    Select select1 = new Select(driver.findElement(By.name("Language")));
            select1.deselectAll();
            select1.selectByVisibleText("english");I check the 1.jar file and there is org/openqa/jetty/html/Select.class.
    I complie the file
    D:\ext_appl\J2SE\jdk1.6.0_24\bin>javac -cp 1.jar;*.jar;D:\ext_appl\J2SE\jdk1.6.0
    _24\bin HGC1_select.java
    HGC1_select.java:11: package org.openqa.jetty does not exist
    import org.openqa.jetty.*;
    ^
    HGC1_select.java:61: cannot find symbol
    symbol  : class Select
    location: class HGC1_select
            Select select1 = new Select(driver.findElement(By.name("Language")));
            ^
    HGC1_select.java:61: cannot find symbol
    symbol  : class Select
    location: class HGC1_select
            Select select1 = new Select(driver.findElement(By.name("Language")));
                                 ^
    3 errorsThe class Select is not locate . Why ?? Any advice
    Edited by: Darryl Burke -- corrected the code tags

    import org.openqa.jetty.*;
    only imports classes directly in the org.openqa.jetty package. It does NOT import classes in ort.openqa.jetty.html. There's no notion of "recursive subpackage importing." As far as the java language is concerned, package a.b.c.d is no more related to package a.b.c than a method named abcd() is related to one named abc().
    Additionally, you should not be in your JDK tree when compiling, and you should not put any additional .jar, .class, or .java files there, except perhaps for a few security or encryption related jars that will document that they must go there.
    Your directory structure should be something like this. Of course you can change the specific names to suit your own needs and preferences. The point is to keep stuff separate.
    C:\jdk\...  // <--- Never add, modify, move, or remove anything in this directory tree
    C:\libs\openqa\openqa.jar
    C:\libs\jdbc\mysql-driver.jar
    C:\development\proj1\src\com\mystuff\proj1\SomeClass.java
    C:\development\proj1\output\com\mystuff\proj1\SomeClass.class

  • Where are class loaders stored.

    Hi Guys,
    I want to know in which part of memory are class loader stored and significance of "Class loader statistic at GC Nr".
    Also, share some links which gives me some insight for the same.
    Regards,
    DV

    You may find this information helpful from SAP.
    Using the Class Statistic - Kernel and Infrastructure Services - SAP Library
    Hope it assists you.
    More information: Monitoring and Management Tools

  • Problem lies some where JVM Class Loader

    I suspect that the jar files are in the JPI cache. During applet initialization, the various classes start loading. Then, because of the page trasition,
    the applet gets shutdown by the Java Plug In. Because it doesn't terminate quickly enough, the JPI starts killing threads (java.lang.ThreadDeath).
    The classloader seems to be ungraceful in handling that situation. This seems to leave the classloader's internal state in an inconsitent state.
    Therefore, until the JVM is restarted, the class loading fails.
    Thanks and Regards
    Manoja

    I suspect that the jar files are in the JPI cache. During applet initialization, the various classes start loading. Then, because of the page trasition,
    the applet gets shutdown by the Java Plug In. Because it doesn't terminate quickly enough, the JPI starts killing threads (java.lang.ThreadDeath).
    The classloader seems to be ungraceful in handling that situation. This seems to leave the classloader's internal state in an inconsitent state.
    Therefore, until the JVM is restarted, the class loading fails.
    Thanks and Regards
    Manoja

  • Can I update fields of DataTable where BDoc class is "Modifiable Read"

    Can i update fields of the DataTable in a BDoc which BDoc class is "Mobile Application(Modifiable read)"
    and Mobile Application Processing type is "(Standard)"

    Hi,
    the BO relations ACTCONTACTS and ACTEMPLOYEES from BOACTIVITY were based on the qBDocs ACT_CONTACTS resp. ACT_RESPONSIBLES with the properties mentioned by you so this should be possible...:-))
    Regards,
    Wolfhard

  • Getting file from directory where class files are

    hi i want to load a properties file from the directory where my java program is (the class/jar files)
    somebody told me that i could use System.getProperty("user.dir"); but it would only work under windows; under linux it points elsewhere.
    how can i determine the directory where my program lies? sounds easy but i failed :(

    why to hell put it in the classpath? Because that way you don't have to ask the user where the hell he put the file.
    and if i would do so the next question: how can my
    program modify the classpath?It can't. And it doesn't need to.
    isn't there another way to determine the directory
    where the app is started from???If you mean the current, or working, directory, then yes there are several ways to determine that. But that directory need not be where the classes are actually stored. In fact the current directory doesn't even have to be in the classpath.
    Now, here's the best way to deal with properties files. (IMHO of course.) Put them in the classpath, in the same directory or jar file as your classes. Then to create a Properties object and load it from your properties file named e.g. "default.properties" you do this:Properties props = new Properties();
    props.load(this.getClass().getResourceAsStream("/default.properties"));

Maybe you are looking for

  • ORA-00604: error occurred at recursive SQL level 1 (10G)

    I was adding a default schema setting to a user id, saved the role and got the above error. ID hidden. All the roles below had default already added but had not caused error and some had been in place since Oracle9i SQL> REVOKE "ROL_HOBSONS_SCHEMA_VI

  • Weird DVD drive issue on Windows Boot Camp on Macbook Pro

    Hi, I just installed Windows on my Macbook Pro with Boot Camp. Windows itself works fine, then I tried installing Fallout 3. The installation took a really long time, which I thought was weird. I tried to play the game but it timed out in trying to r

  • Need help in update statement

    hi, how can i achieve the following logic I have table ABC with column A varchar(20), B(int), C(varchar(20)) if A is null and B is valid number then C has to be updated with 'text' if A is valid text and B is null then C has to be updated with 'numbe

  • ISU- Reversal of Payment document

    I have scenario where I was not able to reverse a particular payment document. We posted a payment document(say 1001) through FP05 has hit an invoice and it was cleared. Both have got clearing doc as same payment doc number. We did reset clearing usi

  • Problem with reading PNG metadata due to unicode strings

    Being new to the XMP SDK I have problems trying to dump the XMP data from a .png file because the data contains UTF-8 data. I have searched the forum for answers, but the answers I found do not help. The answer I found was to replace std::string with