How to use jdk1.4 + jbuilder5

In Jbuilder, Configure jdk for jdk1.4. And from Borland Open Tools website download the CompileFile1.5 .
Install this tool, you can compile java file using jdk1.4\bin\javac in Jbuilder.
Perhaps you would deselect Jbuilder Option: "Project->Default Project Properties->Run->Compile before running" and "Compile before debugging".
Then you can compile and run java file using jdk1.4.

The problem is, I need rmic as well - and that is NOT done by this (otherwise very useful) tool. Of course, I can do it by hand each time - but in that case: why use an IDE anyway?
Has anyone got a solution for this itty bitty problem?

Similar Messages

  • How to use jdk1.3 with ias60 sp3

    I installed jdk1.3.1_01 on my computer and compiled all my code with it.Now i want to use jdk1.3 VM in iplanet6 sp3 instead of 2.0 VM? How would i do that?

    Hi,
    Unfortunately iAS doesn't go well with JDK 1.3. I have tested the
    results and I've posted the result of testing in this forums. Please
    refer to that for more errors on using JDK 1.3 with iAS SP3.
    Regards
    Raj
    Mansoor Quraishi wrote:
    I installed jdk1.3.1_01 on my computer and compiled all my code with
    it.Now i want to use jdk1.3 VM in iplanet6 sp3 instead of 2.0 VM? How
    would i do that?
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • How to use two jdk versions in one system.

    Hi All,
    Am working for two projects, in one i have to use jdk1.4 and in the second i have to use jdk1.5, how can i have two jdk in one system, am using windows xp, in that if i create two accounts and install two jdk's will it accept? what is the solution for this.
    Thanks,
    vyrav.

    I have 1.3, 1.5, and 1.6 installed here. You can install them wherever you like, and use the %JAVA_HOME% system variable to point your tool(s) to the desired one that you wish to use.

  • Help!How to use JCheckBox in a Rolloverenabled JToolBar

    I have added a JCheckBox and a JButton(they all have a icon) in JToolBar , and set the toolbar rolloverenabled through the api "setRollover(true)",yes I got the right result that when my mouse point enters the JCheckBox or the JButton,they will show me something reaction ,such as displaying a entchedBorder.
    However,after I selected the JCheckBox, although its state has changed, I can only see this changed state at the time my mouse point entered the button. If not ,JCheckBox shows itself as a icon, no any border, I cann't see its state.
    At first, I try to make the JCheckBox rollover unenabled through the api "setRolloverEnabled(false)" after its state changed .Well , it seems like a vain attempt.
    I used jdk1.4.2 under windows2000, I tried this through WindowsLookAndFeel and MetalLookAndFeel,and got the same thing.
    How can I use the JCheckBox in JToolBar as its behavior in Windows?
    Wait for your answers, thanks advance.

    I find a way by myself.
    Write a new class extending JCheckBox, override processMouseEvent() method as below:protected void processMouseEvent(MouseEvent e)
    if((e.getID() ==MouseEvent.MOUSE_EXITED)
         &&isSelected())
         return;
    super.processMouseEvent(e);
    Never forget to enable MouseEvent.MOUSE_EXITED in your new class' constructor.
    And this way has a shortcoming ,which may cause you many troubles:
    if you change the box's state in programtical way such as using setSelected() or doclick() method, the change won't be displayed on the toolbar until you move your mouse into it once.
    Anyone has better idea? Thanks for your attention!

  • How to use "Trace" in  JPDA

    I want to know how to use "Trace" in Java Platform Debugger Architecture.
    Trace displays traces of program execution.
    how to invoke it?
    Trace can be invoked as follows:
    java Trace options class args
    what in front of me is I set envoriment variant and system variant by windows 2000 pro control panel by set: "CLASSPATH", in variant name and �E:\Java\jdk1.5.0_06\lib\tools.jar� in variant value.
    But while I use
    jave Trace -help myclass
    (this myclass.class is working by "java myclass")
    there is:
    "Exception in thread "main" java.lang.NoClassDefFoundError: Trace"
    in the screen.
    Please help me by this function though Sun said it is easier than jdb.
    mysys:
    window 2000 pro. (Chinese)
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
    thank for your attention

    ok, please read "How to use "Trace" in JPDA"
    sundararajan.a give me many thing than solution
    and read his blog...
    refer to http://blogs.sun.com/roller/page/sundararajan?entry=java_class_ic_errors
    as well.

  • How to use TableSorter class with DefaultTableModel

    Hi Friends
    Please tell me how to use TableSorter Class which is in the Java. Tutorials with DefaultTableModel.
    i saw in a thread there it was given that we have to pass the DefaultTableModel to the TableSorter Class.
    I tried to use like that. But i am getting Error Like Exception occurred during event dispatching:
    I am posting the part of Code where i use the DefaultTableModel
         private void displayavailablity(String selectedAuthor)
                   try
                        Vector columnNames = new Vector();
                        Vector data1 = new Vector();
                        String bname,bauthor,bcategory,bref1,bavail,bid;
                        int bref,mid,num;
                        rs = st.executeQuery("SELECT BId,BName,BAuthorName,BAuthorandPublisher,BCat FROM Books where BAuthorandPublisher='" +selectedAuthor+"'");     
                        ResultSetMetaData md= rs.getMetaData();
                        int columns =md.getColumnCount();
                        String booktblheading[]={"NUMBER","BOOK NAME","AUTHOR","CODE","CATEGORY"};
                        for(int i=1; i<= booktblheading.length;i++)
                             columnNames.addElement(booktblheading[i-1]);
                        while(rs.next())
                             Vector row = new Vector(columns);
                             for(int i=1;i<=columns;i++)
                                  row.addElement(rs.getObject(i));
                             data1.addElement(row);
                             //System.out.println("data is:"+data);
                        ((DefaultTableModel)table.getModel()).setDataVector(data1,columnNames);
                        TableSorter sorter = new TableSorter((DefaultTableModel)table.getModel());
                        rs.close();
                   catch(SQLException ex)
                        System.out.println("ERROR IS HERE");
                        ex.printStackTrace();
         }Please help me on this issue Otherwise Please give me some Sample coding to implement this sorting. with DefaultTableModel
    Thank you for your service
    Cheers
    Jofin

    I don't know about any TableSorter class, but I suppose you mean javax.swing.table.TableRowSorter.
    The TableRowSorter is to be attached to the JTable, not to the data model. Here's a cut'n'paste from the last time I used it:
    RowSorter<TableModel> sorter = new TableRowSorter<TableModel>(tableModel);
    myTable.setRowSorter(sorter);
    And heres from the JDK1.6 documentation:
    TableModel myModel = createMyTableModel();
    JTable table = new JTable(myModel);
    table.setRowSorter(new TableRowSorter(myModel));
    Check out http://java.sun.com/javase/6/docs/api/javax/swing/table/TableRowSorter.html. I find it to be good documentation.

  • How to use thin drivers and classes111.zip?

    I'm using jdk1.2 and making connection with Oracle8 database using an applet. I resolved the issue
    of security by using the policytool. But now I want to know how can I use the Thin Driver to connect with the database?
    the code which I had written is :-
    import java.sql.*;
    try{
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:cbcpeter","scott","tiger");
    st=con.createStatement();     
    }catch(Exception e){System.out.println(e);}
    and it gives the following error "Class oracle.jdbc.driver.OracleDriver not found"
    So please tell me where to place the classes111.zip or classes12.zip and how to use them?
    I had tried with the jdbcodbc driver, but it gives me the error "Cannot load Resource File sqresus.dll"
    thanx in advance!

    well, i had the same problem some months ago, the READ ME OF HOW TO INSTALL IN THE ORACLE SITE IT IS INCORRECT!!! i cant remember it right, but the directory pertaining to the read me file is WRONG! im 100% sure because when i changed the directory to its correct path it WORKED!!! so u have to use common sense...
    also, if u r using tomcat 4.0.x try adding the location og the classes111.zip in the catalina.bat, coz when u run tomcat, it overrides the classpaths, etc that has been set in the autoexec.bat...
    also, dont unzip the file...
    i hope this helps... i had my code in another computer so i can post it here...

  • How to use jaxb-impl-2.1.3.jar  for jaxb

    hi ,
    I want to use jaxb-impl-2.1.3.jar ,thus I am placing the same jar in 'endorsed' folder in the jdk1.6.0/jre/lib folder . But while generating the java classes from the XSD it using 'xjc -verbose -d [folder] -p[package structure]' command it gives
    Exception in thread "main" java.lang.NoSuchMethodError: com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(Lcom/sun/xml/bind/v2/runtime/JAXBContextImpl$JAXBContextBuilder;)V
            at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1136)
            at com.sun.tools.xjc.reader.xmlschema.bindinfo.BindInfo.getJAXBContext(BindInfo.java:330)
            at com.sun.tools.xjc.reader.xmlschema.bindinfo.AnnotationParserFactoryImpl$1.<init>(AnnotationParserFactoryImpl.java:80)
            at com.sun.tools.xjc.reader.xmlschema.bindinfo.AnnotationParserFactoryImpl.create(AnnotationParserFactoryImpl.java:79)
            at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.createAnnotationParser(NGCCRuntimeEx.java:359)
            at com.sun.xml.xsom.impl.parser.state.annotation.action0(annotation.java:48)
            at com.sun.xml.xsom.impl.parser.state.annotation.enterElement(annotation.java:73)
            at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:378)
            at com.sun.xml.xsom.impl.parser.state.NGCCHandler.spawnChildFromEnterElement(NGCCHandler.java:74)
            at com.sun.xml.xsom.impl.parser.state.simpleType.enterElement(simpleType.java:62)
            at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:378)
            at com.sun.xml.xsom.impl.parser.state.NGCCHandler.revertToParentFromEnterElement(NGCCHandler.java:111)
            at com.sun.xml.xsom.impl.parser.state.foreignAttributes.enterElement(foreignAttributes.java:50)
            at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:378)
            at com.sun.xml.xsom.impl.parser.state.NGCCHandler.spawnChildFromEnterElement(NGCCHandler.java:74)
            at com.sun.xml.xsom.impl.parser.state.simpleType.enterElement(simpleType.java:145)
            at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:378)
            at com.sun.xml.xsom.impl.parser.state.simpleType.enterElement(simpleType.java:86)
            at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:378)
            at com.sun.xml.xsom.impl.parser.state.simpleType.enterElement(simpleType.java:107)
            at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.startElement(NGCCRuntime.java:219)
            at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527)
            at com.sun.tools.xjc.util.SubtreeCutter.startElement(SubtreeCutter.java:104)
            at com.sun.tools.xjc.reader.ExtensionBindingChecker.startElement(ExtensionBindingChecker.java:144)
            at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527)
            at com.sun.tools.xjc.reader.xmlschema.parser.IncorrectNamespaceURIChecker.startElement(IncorrectNamespaceURIChecker.java:113)
            at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527)
            at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.startElement(CustomizationContextChecker.java:188)
            at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527)
            at com.sun.tools.xjc.ModelLoader$SpeculationChecker.startElement(ModelLoader.java:455)
            at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527)
            at com.sun.tools.xjc.reader.internalizer.VersionChecker.startElement(VersionChecker.java:98)
            at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527)
            at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
            at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
            at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
            at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
            at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
            at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
            at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
            at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
            at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333)If I removes the endorse folder it generates the classes properly ,but it uses jaxb2.0 jar which is there in rt.jar .
    Please suggest me how to use the jaxb-impl-2.1.3.jar ....
    With Regards
    Arunabh Dash

    You can set JDeveloper to use JDK 1.4 for your project compile.
    JDeveloper 10.1.3.2 has the needed portlet wizards.
    See:
    http://download.oracle.com/otndocs/tech/webcenter/files/owcs_10132_buildportlets_viewlet.html
    You might also want to verify these on the Portal/WebCenter forums as well.

  • How to use the List in this case.

    I got sample code from http://developer.java.sun.com/developer/technicalArticles/ThirdParty/WebCrawler/. But when I compiled it, there was error message like "webcrawler.java:16: reference to List is ambiguous, both class java.util.List in java.util and class java.awt.List in java.awt match List listMatches; "
    I think it might be because it was written by JDK1.1.3. I am using JDK1.4 to compile it. Can any body tell me how to make it can be compiled by JDK1.4?
    Thanks a lot.

    Hi olivia16
    There is an interface called java.util.List and a class java.util.List :-)
    To correct source code just put java.util. prefix at lines 16 and 76:
    java.awt.List listMatches; // 16
    listMatches = new java.awt.List(10); // 76
    Regards.

  • Having reinstalled java. Iahve tools which I do not know how to use.

    I have Windows XP, and have reinstalled Java as the previous version had wiped clean. At present have a subfolder of program files called java which has a sub folder called jdk1.8.0_18, but I do not how to use these tools to compile and run programs. Previously I had something which could the mouse. How am I to use these tools?

    CliveGoodman16 wrote:
    I made a typo, it actually is jdk1.6.0_18.
    I was abel compile and run a file, but it was a little more complex than suggested and I would lile to know to do with a a mouse,At this point, if you actually want to learn java, then using the command prompt is your best bet.
    I have no idea what "do with a a mouse" means. Was there a specific tool you were using before? I'm sure you can set which compiler it uses somehow. Or you could just use an IDE. In either case, google is your friend. But you should be using the command prompt until you're more familiar with what's going on behind the scenes.

  • Can Applet call IE program using JDK1.3?

    Hi,
    I am developing a program using jdk1.3
    At present, I need my applet to call IE to open an internet address.
    How can I do that?
    Thanks.

    Thanks.
    But, the html is opened in the same windown as the former one. I need to open a new IE window, and call the webpage, is there a way to achieve this?

  • How to use one email adress for multiple recipients

    Hello,
    I'd like to know how to use one email adress for multiple recipients. 
    this would be very useful or projects. for example;
    if i send one mail to [email protected], all people in this project get an email.
    I will add the people in this project myself. 
    I know it is possible, but I don't know how to do it ;-)
    please help me! 

    Hope this help.
    _http://technet.microsoft.com/en-us/library/cc164331(v=exchg.65) .aspx

  • Can't figure out how to use home sharing

    Since the latest couple iTunes updates, my family and I can not figure out how to use home sharing. Everyone in our household has their own iTunes, and for a long time we would just share our music through home sharing. But with the updates, so much has changed that we can no longer figure out how to use it.
    I have a lot of purchased albums on another laptop in the house, that im trying to move it all over to my own iTunes, and I have spent a long time searching the internet, and everything. And I just can't figure out how to do it. So.... how does it work now? I would really like to get these albums from my moms iTunes, onto mine. I would hate to have to buy them all over again.
    If anyone is able to help me out here, that would be great! Thanks!

    The problem im having is that after I am in another library through home sharing, I can't figure out how to select an album and import it to my library. They used to have it set up so that you just highlight all of the songs you want, and then all you had to do was click import. Now I don't even see an import button, or anything else like it. So im lost... I don't know if it's something im doing wrong, or if our home sharing system just isn't working properly.
    Thanks for the help.

  • How to use the same POWL query for multiple users

    Hello,
    I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that
    "Query 'ABC' is already open in another session."
    where 'ABC' is the query name.
    Can you please tell me how to use the same POWL query for multiple users ?
    A fast reply would be highly appreciated.
    Thanks and Regards,
    Sandhya

    Batch processing usually involves using actions you have recorded.  In Action you can insert Path that can be used during processing documents.  Path have some size so you may want to only process document that have the same size.  Look in the Actions Palette fly-out menu for insert path.  It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..

  • How to use airport time capsule with multiple computers?

    I'm sure there are some thread about this but i couldn't find it... so sorry for that but hear me out! =)
    I bought the AirPort Time Capsule to back up my MBP
    And so i did.
    then i thought "let give this one a fresh start" so i erased all of it with the disk utility and re-installed the MBP from the recovery disk.
    I dont want all of the stuff i backed up just a few files and some pictures so i brought that back.. so far so good.
    Now i want to do a new back up of my MBP so i open time machine settings, pick the drive on the time capsule and then "Choose" i wait for the beck up to begin, and then it fails.  It says (sorry for my bad english, im swedish haha) "the mount /Volume/Data-1/StiflersMBP.sparsebundle is already in use for back up.
    this is what i want:
    i want the "StiflersMBP.sparsebundle" to just be so i can get some stuf when i need them. it's never to be erased.
    i want to make a new back up of my MBP as if it's a second computer...
    so guys and girls, what is the easiest and best solution?
    Best regards!

    TM does not work like that.
    If you want files to use later.. do not use TM.
    Or do not use TM to the same location. Plug a USB drive into the computer and use that as the target for the permanent backup.
    Read some details of how TM works so you understand what it will do.
    http://pondini.org/TM/Works.html
    Use a clone or different software for a permanent backup.
    http://pondini.org/TM/Clones.html
    How to use TC
    http://pondini.org/TM/Time_Capsule.html
    This is helpful.. particularly Q3.
    Why you don't want to use TM.
    Q20 here. http://pondini.org/TM/FAQ.html

Maybe you are looking for

  • New VMS/IPC boxes - speed and pricing

    For the most part, I've been a very happy FiOS customer. The internet side has gone out exactly once in the year I've had the service, and it was restored within an hour. TV has dropped out twice, both times very late at night (I assume for head-end

  • Itunes and quicktime will not open properly

    My itunes freezes when opening and quicktime say there is a run time error. I have uninstalled everything and quicktime does not go away. then re-installed both and they still do not work. not sure what to do.

  • Why BDB deadlock ??

    BDB is deadlock , env init : set_lk_detect isn't action. Why?? /* Open and configure an environment. */ int env_init(DB_ENV dbenv, const char home) u_int32_t flags; int ret; ret = dbenv->set_cachesize(dbenv, 0, M_DB_ENV_CACHESIZE, 0); ret |= dbenv->s

  • What about existing users - 60 days free premium offer

    Hello everyone, I am wondering, why I am not able to subscribe to free 60 days Premium Offer?I see this message while not signed in, and then it dissapears after I sign in.  Is it only for new users? Please advise. If I am right, and I am not able to

  • Keyboard Short Cuts Buggy After Upgrade Too Yosemite Using Intuos 4

    I upgraded my Mac to Yosemite. I am using Photoshop CS6 and Wacom Intuos 4. Now keyboard shortcuts are buggy or don't work at all. For example brush sizes almost never changes using the right and left bracket keys.  Zoom (Z Key) won't work unless I t