New class installation in jre

hi,
could anyone tell me how intall new classes(as jar files) in jre. copying the file in lib and adding the CLASSPATH works for j2sdk. but appletviewer does not recognize the classes. any idea how to install the jars with j2re.
thanks
bala

try putting the .jar in jre/lib/ext directory.

Similar Messages

  • Error during creating a new class diagram

    Hi everbody,
    I'm using JDeveloper 10.1.3.3.0 with ADF Faces and Toplink. I'm exposing to an error message in JDeveloper while creating a new class diagram. The error message is shown in dialog and saying "The name of the element can not be set to 'package name' as another element has got the same name in the package". I have controlled the name of the new class diagram. The name is unique in the package. Also I'm creating this new file in the package "tr.com.bilisim.class_diagram" and details part of this error message in dialog also says
    "BME-02002 : The name of the element can not be set to 'class_diagram' as another element has got the same name in the package"
    "BME-02002 : The name of the element can not be set to 'bilisim as another element has got the same name in the package"
    "BME-02002 : The name of the element can not be set to 'com' as another element has got the same name in the package"
    "BME-02002 : The name of the element can not be set to 'tr' as another element has got the same name in the package"
    As I understand from the error message, during creating a new class diagram from 'new file dialog' also tries to create the directories in relevant package (tr.com.bilisim.class_diagram).
    How can I solve this problem? Please urgent help!
    best regards...
    --baris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    -repost
    please urgent
    --barisk                                                                                                                                                                                                                           

  • How do I move my iPhone to a new iTunes installation?

    Hi folks,
    I have a new Windows 7 computer and want to sync my iPhone with it, but iTunes says it's going to delete all of my data. My old computer that I used to sync with is gone; the drive has been reformatted.
    I don't care about the music on the phone; I have all of that on my server. However, I'm worried sick about my apps and the data stored within them!! I have years worth of life data, journals, etc, in apps on this phone. How do I tell iTunes, "This is my new computer now; back up and sync here from now on?"
    Here's what I've done so far:
    1. I authorized the new iTunes installation with my iTunes account.
    2. I right-clicked on the phone within iTunes and selected "Transfer Purchases." It appeared to work, said it was copying all of my apps. But when I go to the Apps tab and click "Sync Apps", it tells me it's going to replace all of the apps on my phone with the apps in iTunes. However, I only see two (out of dozens) of my apps there! Did "Transfer Purchases" not do what I expected it to? How can I fix this?
    Thank you!

    It has always been very basic to always maintain a backup copy of your computer for just such an occasion.
    Use your backup copy to put everything back.
    The iphone will sync pics and itunes content with one and only one computer at a time.  If you sync to another, it will indeed erase the current content and replace with content from the new computer.
    Also if you sync contacts/calendars to a blank computer, they will be erased as well.  Another reason a backup is critical.
    If you have failed to maintain a backup ( not good)then, transfer purchases will transfer itunes purchases.  Make sure you have authorized the computer for your itunes account(s).
    About iTunes Store authorization and deauthorization
    Backup your iphone:
    Backing up, updating, and restoring iPad, iPod touch, and iPhone software
    Enter one unique contact and calendar entry on the new computer.  When you first sync you should get the option to merge the data.
    Than make a backup copy of your computer and always maintain it.

  • New Server Installation, now client computers can't connect to services. Where to go from here?

    Hello.
    I recently had to setup a new Mac Mini Server (Mavericks). We had one previously but one of the raided hard drives failed. No backup.
    Our office of 6 Apple MacBook Pros used to connect to all file sharing and calendar services, easily.
    On the new Server installation, I added the same users with the same passwords etc. The client computers cannot access calendars, file sharing etc. On the clients, I have opened up System Preferences > Users & Groups > Login Options > Network Account Server and added the FQDN of the server, but I get an error ' Unable to add server. Connection failed to the directory server. (2100) '
    2 of the clients are on Mountain Lion. The rest are on the latest Mavericks.
    I'm a bit lost on where to go from here and would appreciate your help before I wipe everything and start from scratch.
    Thanks.

    Hi Strontium90
    Ha! There was a time machine backup, but we had a storm here which rendered it and the server useless. We are such a small team without an 'IT' guy, apart form me as I have a vague interest in all things Apple.
    What is your DNS name space?
    Do you need the name here?
    Do the servers and the client agree on this name?
    Not sure what you mean. The domain name works as when I type it into a web browser, I can see the 'Welcome to Server' page.
    Did you enable an Open Directory Master?
    Yes. Open Directory is running.
    Did you grant the users/group access to the service you are offering?
    Yes. All services are checked for each user.
    Make sure the user/group is permitted to access your enabled services.
    All allowed, too.
    Oh, and implement a backup strategy
    Will do, once I sort out this problem. Time Machine and off-site, I think.

  • How can i add custom attributes to a new Class Object using the API ?

    Hello everyone,
    Here is my problem. I just created a subclass of Document using the API (not XML), by creating a ClassObjectDefinition and a ClassObject. Here is the code :
    // doc is an instance of Document
    ClassObject co = doc.getClassObject();
    ClassObjectDefinition cod = new ClassObjectDefinition(ifsSession);
    cod.setSuperclass(co);
    cod.setSuperclassName(co.getName());
    cod.setName("MYDocument");
    ClassObject c = (ClassObject)ifsSession.createSchemaObject(cod);
    Everything seems to be OK since i can see the new class when i use ifsmgr. But my question is : how can i add custom attributes to this new class ? Here is what i tried :
    AttributeDefinition value = new AttributeDefinition(ifsSession);
    value.setAttribute("FOO", AttributeValue.newAttributeValue("bar"));
    c.addAttribute(value);
    But i got the following error message :
    oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
    java.sql.SQLException: ORA-01400: impossible d'insirer NULL dans ("IFSSYS"."ODM_ATTRIBUTE"."DATATYPE")
    oracle.ifs.server.S_LibraryObjectData oracle.ifs.beans.LibrarySession.DMNewSchemaObject(oracle.ifs.server.S_LibraryObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.NewSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.createSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    void fr.sword.ifs.GestionDocument.IFSDocument.createDocument(java.lang.String)
    void fr.sword.ifs.GestionDocument.IFSDocument.main(java.lang.String[])
    So, what am i doing wrong ?
    More generally, are we restricted in the types of the attributes ? (for example, would it be possible to add an attribute that would be an inputStream ? Or an object that i have already created ?).
    Any help would be appreciated. Thanks in advance.
    Guillaume
    PS : i'm using Oracle iFS 1.1.9 on NT4 SP6 and Oracle 8.1.7
    null

    Hi Guillaume,
    you're welcome. Don't know exactly, but assume that ATTRIBUTEDATATYPE_UNKNOWN
    is used to check for erronous cases only
    and it shouldn't be used otherwise.
    Creating your own objects could be simply done via
    ClassObject ifsClassObject;
    DocumentDefinition ifsDocDef = new DocumentDefinition(ifsSession);
    // get class object for my very own document
    ifsClassObject = ClassObject.getClassObjectFromLabel(ifsSession, "MYDOCUMENT");
    // set the class for the document i'd like to create
    ifsDocDef.setClassObject(ifsClassObject);
    // set attributes and content for the document...
    ifsDocDef.setAttribute("MYFOO_ATTRIBUTE",....);
    ifsDocDef.setContent("This is the content of my document");
    // create the document...
    PublicObject doc = ifsSession.createPublicObject(ifsDocDef);
    null

  • How to add new class to existing DC (Web Dynpro project)

    Hi,
    How can I add new class to an existing DC (Web Dynpro project)?
    I tried adding it using File - New - Other - Java - Class, but after a build of the DC the new class (and its contents    ) was completely removed.
    Then I created a new DC (java project) and created a new class in that DC. This went fine, but I got into problems because of circular referencing between the new & the old DC, so no build was possible.
    This can't be difficult, does somebody knows how to do it?
    My temporary solution is to add the classdefinition to an exisiting .java file. Very ugly.
    Thanks,
    Jeroen

    Hi Jeroen,
    where did you create the class? If the *.java file is placed in the src/packages folder it should not be deleted by a build. (I suspect you created it in the gen_wdp folder?)
    Regards,
    Marc

  • Adding a new class with Creator (really simple problem i think..)

    I added a new class to my project with creator...
    class name is "CambiaNote" and there's a method called Cambia
    tabellaselezionabile is my project(package)
    I tried to run everything but It gave me an error:
    Exception Details:  org.apache.jasper.JasperException
      Error getting property 'cambia' from bean of type tabellaselezionabile.Page1I don't know, but the word cambia don't exists at all in my code... or it is not case sensitive..?
    please help, thanks

    typo: correct Paint() to paint()

  • Creating a new "Class type" in release procedure.

    Hi guys,
    how can I create a new <b>"Class type"</b> in release procedure?

    Hi,
    But I do not know why anyone would create a new batch type for release strategies, it is totally unnecessary and provides no additional options. The class type indicates which objects can be classified and there is already one for release strategies.
    You can create a new class or add characteristics to the existing class used in the release strategy anyway.
    Ther is also NO WAY that two classes can be used in the release strategy and this new class type would not change this either???
    Steve B

  • Creating a new class using a template class

    I am very new to Java.
    I need to make a new class by using a template class that was given to us.
    I go to File / New / Class but cannot find how to select a template class to create a new class.
    Thanks,
    gs

    gs2010 wrote:
    I am very new to Java.
    I need to make a new class by using a template class that was given to us.
    I go to File / New / Class but cannot find how to select a template class to create a new class.
    Thanks,
    gsYou need to be much more specific as to what you are trying to do.
    What is a "template class"?
    How are you trying to "go to" and "select" the template?
    Etc.

  • Creating a new class type in the classification system

    We are wanting to classify objects in a ZTABLE.  We have a home grown system for defining our customer requirements that is used as the way for the sales people to communicate to the engineering dept. what the customer wants.  A new need has come up that seems to be a good fit to be able to classify our customer requirements.  I have been trying to create a new class type that is linked to our ZTABLE.  However, even though it looks like we should be able to do this I have not been able to do it.  I ran across some documentation that seems to imply that adding a new class type used to be possible, but no longer is.
    Can anyone verify that creating a new class type is still possible to do?  We are on ECC 5.0.

    Can someone point me in the right direction as to how to create my own Class Type.  Is there some documentation as to how to dow this? Other than what is fould in SPRO I have tried and tried but no joy for me. 
    This is what I have done so far:
    in SPRO:
    1) Created an Object Key for my table ZLO_CUSTREQ.  This table has a primary key of CRQNR (custormer requirements number which is I created)  The documentation says that I need to add this key field to structure RMCLY (I did that).  BUT, it also says the RMCLY is embeded in structure RMCLX and it is not.  Do I need to modify RMCLX to add RMCLY as an append structure?
    2) Went to Maintain Object types and Class types and selected my table. Double clicked on Class Types in the Dialog Structure tree, which displayed an empty list of class types. 
    I then Clicked New Entries button and filled in the fields: Class type(Z10), Description(Customer Requirements), Table(ZLO_CUSTREQ).  in the Screens group I selected Keywords and Characteristics.  In the Functions group I selected: Standard class type and Multiple classifications. I then Clicked the back arrow.  This returned me to the Class Types list which now displayed my new class type. 
    When I click the save button it kicks me out the the SPRO menu screen and I get the warning message "Class type Z10 does not have the classification status incomplete system" . 
    Then, it won't let me re-enter the Maintain Object types and Class Types screen due to an error "View cluster is already open, go back with F3"
    When I hit F3 I am returned to the main SPRO screen.  After navigating back to the Maintain Object types and Class types I continue to get the View cluster already open error.  The only way I can get back to Maintain Object types and Class types  is to completely exit SPRO and start over.  When I do, class type Z10 is gone.
    I have repeated this procedure several times with always the same results.
    Can anyone please help me?

  • I have been getting java.lang.ClassNotFoundException: ZeroApplet.class and java.lang.ClassNotFoundException: JavaToJS.class crashes with JRE version 1.6.0_26-b03-384-10M3425 VM executing a Java Applet. Is Apple aware of this problem? No longer supported?

    My web page uses a Java Applet to allow my visitors to replay chess games; the Chess Viewer Deluxe applet was written by Nikolai Pilafov some time ago and has been working properly for some time (until recently). I don't monitor this part of my site regularly so I am not sure when it began to fail. On his web site [http://chesstuff.blogspot.com/2008/11/chess-viewer-deluxe.html] he has a link to check LiveConnect object functionality (which fails for OBJECT tags). His recommendation is to "seek platform specific support which might be available from the JRE developers for your platform".
    I have been getting java.lang.ClassNotFoundException: ZeroApplet.class and java.lang.ClassNotFoundException: JavaToJS.class crashes with JRE version 1.6.0_26-b03-384-10M3425 VM executing a Java Applet. Until I checked the LiveConnect object functionality, I was unable to identify the source of the console error messages. This does seem to be the smoking gun.
    Is Apple aware of this problem? Are these classes no longer supported? Has anyone else had this problem? You can attempt to recreate the problem locally by going to my web page: http://donsmallidge.com/DonSmallidgeChess.html
    Thanks in advance for any help you can provide!
    Abbreviated Java Console output:
    Java Plug-in 1.6.0_26
    Using JRE version 1.6.0_26-b03-384-10M3425 Java HotSpot(TM) 64-Bit Server VM
    load: class ZeroApplet.class not found.
    java.lang.ClassNotFoundException: ZeroApplet.class
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:807)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2389)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
        at sun.applet.AppletPanel.run(AppletPanel.java:368)
        at java.lang.Thread.run(Thread.java:680)
    load: class JavaToJS.class not found.
    java.lang.ClassNotFoundException: JavaToJS.class
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:807)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2389)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
        at sun.applet.AppletPanel.run(AppletPanel.java:368)
        at java.lang.Thread.run(Thread.java:680)

    I just went up to check the LiveConnect object functionality page AND IT WORKED THIS TIME! I must confess, this is very mysterious. I will do some more checking and reply here if I can determine why it is working now (and more importantly, why it didn't work before).

  • Automatic installation of JRE to run applet

    I would like to check if the user(of my website, where I have an applet) have JRE 1.4.1 on the machine. If not I would like to "force" the user (ask him) to start the automatic installation of JRE.
    I would like to do this from a JSP page.
    Anyone who can help? - need some kind of link to the coorect download site for both IE and Netscape. And also some more information

    Why don't you deploy your applet using Java Plugin? It
    automatically begins the installation if the JRE is
    not available. And all you have to do is specify the
    right OBJECT tag on the HTML page.That is what I would like to do (but would prefere to do it from a JSP).
    Anyway, which link should I use in the OBJECT and EMBED tag to get the client to automatically start downloading the JRE autoinstaller??

  • How to add new class in modified template...

    Finally I have encourage myself to scratch to (for me deepest darkwood) templates...
    I have modified original Theme 2 to My theme 2 and added in some tempaltes region my parts-looks promising.
    Now I want to create sidebar region that is 450 px wide.
    It should be the same sidebar region but with different width!
    I saw on file system that there is .css so I add this class in it....(as aspected) it is not shown in template class list...
    I am able to apply that new class to template, but I cannot see that class in "Template Class" LOV (in Edit Region Template form).
    Is that important and could this bee seen in that list?
    THX!

    I have now working template with my new class...
    What is still bothering me is that I have editeted "theme_V2.css" file. I'm plannig to put my app on hosted WEB site in Germany, where this file will not be the same as is on my server.
    How to achieve future compatibilty according this?
    THX!

  • How do you add a new class package?

    Hi guys,
    I have just started using J2SE and I need to add a new class definition. This is to be imported at the start of the program,
    ie. import cs1.Keyboard;
    The thing im not sure of is, how do I make the compiler know where the Keyboard class is? Which directory do I have to put it in?
    If anyone has any idea, it would be really appreciated. Thanks

    Put Keyboard.class in a directory named cs1 and add the parent of cs1 to your CLASSPATH when you compile and run:
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/classpath.html
    MOD

  • Sync iPhone 4 with new Mac installation

    I've just replaced the hard drive in my MacBook Pro with a fresh new OS 10.6.8 installation.  The old drive is still accessible via a USB external case.
    I did not use Migration Assistant, as I didn't want to inherit any mess from the old system, and MA's options seem extremely unrefined - most checkboxes are very non-explicit about what it will migrate.
    I have transferred all music, book and app files to the new iTunes from the old.  My new iTunes is logged into the same iTunes account as the old.
    I've manually set up Apple Mail, but my Address Book is currently waiting for contacts, and iCal is also empty, which I presumed I could sync directly from my iPhone.
    But I would like to re-sync my iPhone 4 with the new iTunes WITHOUT erasing the phone.  I have many hours worth of user configuration data within my many apps - favourites in GPS apps, saved game settings, documents in reader apps etc.
    From everything I've read, this seems impossible!  The new iTunes installation insists on erasing the phone.  SURELY this can't be true.  How do I store my phone in it's current form and retain all current data and settings?
    Any assistance greatly appreciated.

    1. Disable auto sync when an iPod/iPhone is connected under iTunes>Preferences>Devices in itunes.
    2. Make sure you have one contact & one event in the supported applications(Address Book & iCal) on your computer. These entries can be fake, doesn't matter, the important point is that these programs not be empty.
    3. Connect your phone, iTunes running, DO NOT SYNC at this point.
    4. Store>Authorize this computer.
    5. File>Transfer Purchases(To make sure all purchased content on your phone will be in your itunes library).
    6. Right click in the device pane & select reset warnings.
    7. Right click again and select backup.
    8. Right click again & select restore from backup, select the backup you just made. When prompted to create another backup, decline.
    9. This MUST be followed by a sync to restore your itunes content, which you select from the various tabs, You'll get a popup regarding your contacts & calendars asking to merge or replace, select merge.
    You should be good to go.

Maybe you are looking for

  • Purchase Order Authorization through Navigation link

    Hi    I am having an requiremnet like these........         1) 2 users entering purchase orders in diferent systems alternatively.         2) After entering purchase order 1 user didnt allow to see other user purchase order through navigation link he

  • How to download Change request?

    Hi all, How to download change request from one r/3 server, and then upload to other r/3 server. I guess that it can do, but I don't find where to do? Thanks. Aaron

  • Music for slideshow stops in Organizer 11  and 12

    Is anyone else having this problem.? It just recently started.  I am using Windows 8.1 and Windows 7.  Music starts, then stops after a few seconds.  Happens with the music that comes with the program as well as imported music.  Music plays in Organi

  • Having trouble with cgicmd.dat

    This is my keymap in cgicmd: order_test: userid=user/pw@database report=ord_ack.rdf destype=cache desformat=PDF a_seq_order_no=%1 a_user=%2 a_by_user=%3 a_print_kit=%4 a_rpt_name=%5 this is my URL: http://65.215.11.54:7778/reports/rwservlet?order_tes

  • Close File 24 hours After Opening

    (Not having experience with pdf java script), I've been trying for 5 or 6 weeks to write a script - to be placed in Document Scripts (I'd prefer to say away from form fields) - that keeps a file open 24 hours after it's first launched––and then close