How can i delete an java object immediately?

Is there any mechanism that delete an object immediately?
I know I can delete an java object by GC mechanism, but it can not be effective immediately.
is there any other solutions?
thanks -:)

And you did an internet search to try and find out how to delete Java from your computer? Well, this forum is for Java programmers, people who write programs using the Java language. Not for people who use those programs. But it was a good try.
The easiest thing for you to do is just to leave Java on your computer. It won't do any harm (aside from taking up a bit of space on your disk) and if you go to a web site that contains an applet, it might even be useful. Maybe that's why you got the link in the first place.
If you really want to get rid of it, then go into Control Panel and use Add and Remove Programs to do that. (It's called something else in Vista, I forget what, hope you didn't get stuck with that.) But I would still suggest leaving it on your computer.

Similar Messages

  • How can I drop the java objects from a schema

    hi..good afternoon all...
    How can I drop the java objects from a database schema???
    suppose the credentials are scott/tiger@db1
    Another thing is that...I have to do this from cmd(command prompt) as there is no plsql developer or sqldeveloper installed in the machine.
    plss help...thanks in advance...

    hi...i have already tried all the options..but it is showing the error..
    ora:01435 - user does not exist
    but when i have given the command...
    select object type, object_name, status from user_objects where object_type like'%JAVA%';
    then it is showing that the java_object is present....
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    SQL>
    SQL>
    SQL> set linesize 200
    SQL>
    SQL>
    SQL>
    SQL> select object_type, object_name, status from user_objects where object_type
    like '%JAVA%';
    OBJECT_TYPE OBJECT_NAME
    STATUS
    JAVA CLASS javaclass1
    VALID
    JAVA SOURCE javaclass1
    VALID
    SQL> drop java source javaclass1.java;
    drop java source javaclass1.java
    ERROR at line 1:
    ORA-01435: user does not exist
    SQL>

  • How can I call a java object from Web dynpro ABAP application?

    I made Web dynpro ABAP application and posted it to SAP EP.
    For certain business purpose, we need to call external 3rd party java object using 3rd party's java api in Web dynpro application.
    Is there anybody who experienced this kind of java interface issue?
    I know Web dynpro Java environment can fully support this kind of requirement. but regarding Web dynpro ABAP, I couldn't find any clue for this.
    Any comment or suggestion would be greatly appreciated.
    Thanks,
    Raymond, ABAP Consultant

    if you have jco configured, then you can make calls to java api from ABAP .
    check out this weblog.
    /people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
    Raja

  • How can I persist a Java object to the PCD via JNDI ?

    Hi,
    I'm trying to persist XML data on the PCD via JNDI. I'm using
    portal version 6.2.0.4.200408172051.
    I followed the instructions in the "Portal Runtime Technology 640"
    document.
    The example they showed was:
    import javax.naming.Context;
    Context context = PortalRegistry.getCentralConfigurationContext();
    Context applicationContext = context.lookup("MyAppName");
    It was possible to obtain 'applicationContext' in the above example by
    using:-
    Context context = PortalRegistry.getCentralConfigurationContext();
    String appName = request.getComponentContext().getApplicationName();
    Context applicationContext = (Context) context.lookup(appName);
    However, any attempt to bind, rebind an object (implementing IStreamSource)
    resulted in NamingExcptions. As did 'listBindings' and 'list' (see below).
    BeanWrapper d = new BeanWrapper("test input");
    applicationContext.rebind("PCD_LOOKUP_KEY", d);
    // where 'd' implements IStreamSource
    class BeanWrapper implements IStreamSource {
    String content = "balh";
    BeanWrapper(String s) {
    content = s;
    public InputStream getInputStream() throws IOException {
    ByteArrayInputStream bis = new ByteArrayInputStream(content.getBytes());
    return bis;
    } // getInputStream
    } // BeanWrapper
    I don't know what I've done wrong. I couldn't find any more documentation
    on this topic...
    Any help would be appreciated.
    cheers,
    Michael
    javax.naming.NameNotFoundException: [Xfs] Object not found. Root exception is javax.naming.NamingException: [Xfs] Object not found
    at com.sapportals.portal.pcd.gl.xfs.BasicContext.lookup(BasicContext.java:840)
    at com.sapportals.portal.pcd.gl.PcdPersContext.lookup(PcdPersContext.java:422)
    at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:387)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1083)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxyContext.java:1170)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyContext.java:1132)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.getBasicObject(PcdProxyContext.java:1330)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.getBasicContext(PcdProxyContext.java:1306)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:473)
    at com.sapportals.portal.pcd.gl.PcdGlContext.rebind(PcdGlContext.java:1185)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:515)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:683)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:688)
    at com.sapportals.portal.prt.jndisupport.util.AbstractContextWrapper.rebind(AbstractContextWrapper.java:46)
    at com.siemens.pct.employee.cu_selector.CUSelector.saveCuBeanToPCD(CUSelector.java:305)
    at com.siemens.pct.employee.cu_selector.CUSelectorUpload.doUpload(CUSelectorUpload.java:70)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:700)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)
    at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:250)
    at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:333)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:627)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
    at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
    at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:666)
    at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:313)
    at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
    at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
    at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
    at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
    at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)

    Hi Michael,
    here my comments to your questions:
    0.:[Michael says:]
    "So basically you're saying that under SP10 its not possible to store objects on the PCD ... ?"
    I want to clarify this:
    It is possible to store objects in the PCD in lower releases than SP10 (e.g. SP2). But due to the fact that PCD API is not public before SP10 you should not develop a SP2 iView that programmatically uses the PCD API and complain afterwards because some "tiny" things of it are not working in SP10. It might be that you have to adjust some parts of this SP2 iView.
    The kind of object that can be stored in the PCD depends on the fact if the objects have a corresponding object provider or not. If you want to store iViews, roles or one of the other commonly known portal objects you can do it because corresponding object provider (iViewservice, roleservice, etc.) are always available in a running portal.
    If you want to store objects (like your BeanWrapper class) then you should write a corresponding object provider (what I explained in my first reply).
    1.:[Michael asked:]
    Why does list and listBindings fail ? surely that should just
    list the existing bound objects ???
    Nothing was bound!
    Your code line
    applicationContext.rebind("PCD_LOOKUP_KEY", d);
    throws a NamingException because no object provider for class of object d was found.
    So I gess you did a lookup on  applicationContext.lookup( "PCD_LOOKUP_KEY" ) before you did the list/listBindings and because this
    context does not exist the corresponding "Name not found" exception was thrown?
    A list/listBinding on the applicationContext itself should work even if nothing was bound.
    2.:[Michael asked:]
    Is there not some kind of default object/object provider pair
    that can be used to store base types like Strings/Integers etc ?
    No. There are no default object providers for java string/integers. But for this case "persisting a string or integer value at any PCD context" the PCD offers another way to do it: Just create an additional attribute (of type STRING or INT) and persist the corresponding value in this attribute (of type IPcdAttribute - an extension of javax.naming.directory.Attribute )   
    The code for creating a pcd attribute looks e.g. like this:
    IPcdObjectFactory pcdObjFactory = ((IPcdGlService) PortalRuntime
                                                   .getRuntimeResources()
                                                   .getService(IPcdGlService.KEY))
                                                   .getPcdObjectFactory();
    IPcdAttribute newPcdAttr = pcdObjFactory.createPcdAttribute(     PcdAttributeValueType.STRING,
                                            "new_attrId" );     
    newPcdAttr.set(     0,
              "new_AttrValue" );
    ModificationItem mods[] = new ModificationItem[1];
    mods[0] = new ModificationItem(      DirContext.REPLACE_ATTRIBUTE,
                               (Attribute)newPcdAttr );
    pcdCtx.modifyAttributes(     "",
                        mods );
    Hope, that helps you!
    Regards,
    Jens

  • How can I delete remote shared objects?

    Hello world...
    I have a problem...
    I need to unload an external .swf file or delete all the remote shared objects that it conteins...but I need to reload the same .swf file by pushing a button...
    Please help me...
    Emiliano.

    Hi,
    can you please give clear idea...
    It looks like when the namespace was deleted delete all objects under this namespace was systematically deleted.
    means all objects under namespace is already deleted before deleting namespace..right?
    If so then Now there are existing interface objects somewhere out there in the IR. Objects such as data types, message type, message mapping and interface mapping objects
    Try to clear your cache..using SXI_CACHE...
    Try to  re-create namespace and delete all objects related to your namespace and delete namespace again...( Not sure this wull help..but u can try)
    Nilesh

  • How can I delete the existing objects and Relation ships in OM?

    Hi One and All,
    Hope all of you doin well,
    I want to delete the all existing objects in OM, like Org units, positions, jobs and etc... and also relationships.
    Please guide me.
    Thanks,
    Potru.

    all Objects are stored in table HRP1000 and relations in HRP1001, related to HRP1001 there are HRPADxx tables depending on the relationship.
    You will have to write your own program.
    If you have Clone&Test you could use /BKC/SOL21_PDPDEL to delete complete (sub-)structures.

  • Is there any solution to delete an corba object immediately?

    I want to delete an corba object implemented with java immediately during an request running . But the deactive_object( ) method can not delete this corba object immediately before the request completed.
    any other method can help me delete the corba object immediately during an request running?
    thanks -:)

    your tip will be appreciated.

  • How can I delete an object?

    If I create a JLabel, how can I delete it?
    Somebody told me that with remove.
    How do you use it?

    [Swing Tutorial|http://java.sun.com/docs/books/tutorial/uiswing/]
    [java.awt.Container.remove(java.awt.Component)|http://java.sun.com/javase/6/docs/api/java/awt/Container.html#remove(java.awt.Component)]
    This is not "deleting an object" it is "removing a GUI element from a container". You can not "delete an object" in Java, you can remove all references to it and let the GC get rid of it, but from the body of your question it sounds like you want to "removing a GUI element from a container" not "delete an object".

  • How can I delete Z.SAPB18.8_MyPO object from B1iSN 8.8

    Dear All,
    I have created only one object type (apart from the B1iSN default one)
    Ex: For the Purchase Order object (LocalObjectId = 22) I defined only one B1iSN object type.
    but I have the same error message "Sender SysId, Sender ObjectType or Sender payload is missing".
    suppose If by mistake I create two B1iSN object types for the same B1 object (same local object id)
    how can I delete one object from those two objects.
    Thanks and Regards,
    Anvar

    Hi Anvar,
    Z-objects always have priority against standard objects.
    =>  if you have more Z-objects for the same local object ID, it's always the latest created object
    If you created an Z-object, please make sure, that the BIUs can handle this object.
    All default integration scenarios need to be adjusted or copied to support the newly created z object.
    If you want to delete your newly created object, go to SAP B1iSN Tools -> Repository Tools -> Entities - Remove:
    Select your Entity Type (e.g. Object Type) and your Entity Instance (e.g. Z.SAPB18.8_MyPO) and press button Delete Entity.
    B1iSN gives you information, if there're constraints (e.g. Publication Object or object is used in an active integration scenario) and the object can't be deleted.
    Best regards
    Bastian

  • How can I delete objects in my list of purchased objects?

    How can I delete objects like books or music from my list of bought items?

    You can't.
    Being able to do so would NEGATIVELY affect Apples iCloud system of memorizing all consumer purchases as a means of storing such info in the Cloud.

  • I am trying to delete pages I have crated in numbers, but can only see them in print preview. Without print preview I do not see them. How can I delete these pages, but keep others before and after?

    I am trying to delete pages I have crated in numbers, but can only see them in print preview. Without print preview I do not see them. How can I delete these pages, but keep others before and after?

    Hi Crushed,
    Numbers doesn't have pages. It has a canvas that holds objects such as tables and charts.
    Drag the objects from the bottom of the canvas onto the white space above. That will reduce the number of "pages" (sheets of paper) that will print.
    Regards,
    Ian.

  • How can I delete or reset bookmark data in iCloud?

    How can I delete or re-set bookmark data in iCloud. I have sync'd with blank from safari, then re-loaded safari with new list. Sync to phone works fine.
    Now everytime I re-enable backup to iCloud 500 duplicates are made and all old folders restored.
    Reset should not be that hard to do. FFs I would be fine with a delete all button on the phone.
    Deleting 1000 bookmarks one by one is ridculous.
    Thanks for any suggestions.

    Hi,
    If you want to delete the organisation units / positions
    go to T-code PP01 and give the specific object, number and date period.
    first you have to delete the relationship info type and then object, if object is TCC 1 you can't delete system give error message that TCC 1 will not be deleted.

  • How can i delete readed msg from inbox

    i am developing blog application using struts. how can i delete msg from inbox folder.
    i am using following code to read mail. how to delete messages :?
    import java.util.Properties;
    import javax.mail.Address;
    import javax.mail.Folder;
    import javax.mail.Message;
    import javax.mail.Session;
    import javax.mail.Store;
    public class MainClassSimple {
    public static void main(String[] args) throws Exception {
    Properties props = new Properties();
    String host = "hostname.com";
    String username = "[email protected]";
    String password = "password";
    String provider = "pop3";
    Session session = Session.getDefaultInstance(props, null);
    Store store = session.getStore(provider);
    store.connect(host, username, password);
    Folder inbox = store.getFolder("INBOX");
    if (inbox == null) {
    System.out.println("No INBOX");
    System.exit(1);
    inbox.open(Folder.READ_WRITE);
    Message[] messages = inbox.getMessages();
    for (int i = 0; i < messages.length; i++) {
    System.out.println("Message " + (i + 1));
    //messages.writeTo(System.out);
    Address address[] =messages[i].getFrom();
    for (int j = 0; j < address.length; j++) {
              getMailAddress(address[j].toString());
    messages = inbox.expunge();
    //System.out.println(messages[0].isExpunged());
    inbox.close(false);
    store.close();
    private static void getMailAddress(String address) {
         int i = address.indexOf("<");
         address = address.substring(i+1, address.length()-1);
         System.err.println(address);

    i am developing blog application using struts. how can i delete msg from inbox folder.
    i am using following code to read mail. how to delete messages :?
    import java.util.Properties;
    import javax.mail.Address;
    import javax.mail.Folder;
    import javax.mail.Message;
    import javax.mail.Session;
    import javax.mail.Store;
    public class MainClassSimple {
    public static void main(String[] args) throws Exception {
    Properties props = new Properties();
    String host = "hostname.com";
    String username = "[email protected]";
    String password = "password";
    String provider = "pop3";
    Session session = Session.getDefaultInstance(props, null);
    Store store = session.getStore(provider);
    store.connect(host, username, password);
    Folder inbox = store.getFolder("INBOX");
    if (inbox == null) {
    System.out.println("No INBOX");
    System.exit(1);
    inbox.open(Folder.READ_WRITE);
    Message[] messages = inbox.getMessages();
    for (int i = 0; i < messages.length; i++) {
    System.out.println("Message " + (i + 1));
    //messages.writeTo(System.out);
    Address address[] =messages[i].getFrom();
    for (int j = 0; j < address.length; j++) {
              getMailAddress(address[j].toString());
    messages = inbox.expunge();
    //System.out.println(messages[0].isExpunged());
    inbox.close(false);
    store.close();
    private static void getMailAddress(String address) {
         int i = address.indexOf("<");
         address = address.substring(i+1, address.length()-1);
         System.err.println(address);

  • How to undeploy (delete) a Java application

    Hi all,
    i have deployed using the SAP Netweaver developer studio and the SDM tool a specific Java application.
    As i delete it on my PC i can not re-deploy it because the system tells me that there is already a application with the same name.
    How can i delete it directly on the server using for example the deploytool tool or another tool ?
    Thank in advance,
    Eric.

    Hello,
      You can also undeploy the application using the SDM tool. Launch the tool by running the remotegui from your usr\sap\SID\JC00\SDM\program. enter your sdm password and then go to the undeployment tab. Pick the application you want to undeploy and add it to the right hand pane and follow the steps in the wizard
    Regards
    Abdul

  • How can I delete multiple email messages on my mobile device

    HOw can I delete multiple email messages from my ipad and iPhone

    Hello conniefromtulsa,
    The process for deleting multiple messages is detailed in the iPhone User Guide:
    Delete, move, or mark multiple messages. While viewing a list of messages, tap Edit. Select some messages, then choose an action. If you make a mistake, shake iPhone immediately to undo.
    iPhone User Guide - Work with multiple messages
    http://help.apple.com/iphone/7/
    Cheers,
    Allen

Maybe you are looking for