Help with Jbuilder

I need a little help,
I'm using Jbuilder to write a java program.
I have wrote a class file which is my superclass and i have created another file. I want the second file to be the subclass and inherit from the superclass.
I have used the extends function, however it compiles through command prompt but when i try to make the file in Jbuilder it says that it cannot resolve the symbol.
Any suggestions

In some cases you need to compile superclass prior subclass compilation.
Just choose the super and use JBuilder Make method.

Similar Messages

  • Need help with JBuilder

    Hello.
    Such problem happened with me.
    I've reinstalled JBuilder in a new directory c:/JBuilder4
    and the old version in c:/Program Files/JBuilder4
    i didn't kill.
    So i worked this way for some time. But today i cleared some directories from the old version (by the way the system didn't allow me to delete some directories ; why?)
    And when i tried to run an application which worked well
    from new JBuilder i received following:
    -- IOException starting Java runtime process --
    java.io.IOException: CreateProcess: C:\Program Files\JBuilder4\jdk1.3\bin\javaw -classic -classpath "C:\JBuilder4\MyProjects\data\classes;C:\JBuilder4\lib\jas.jar;C:\Program Files\JBuilder4\jdk1.3\demo\jfc\Java2D\Java2Demo.jar;C:\Program Files\JBuilder4\jdk1.3\jre\lib\i18n.jar;C:\Program Files\JBuilder4\jdk1.3\jre\lib\jaws.jar;C:\Program Files\JBuilder4\jdk1.3\jre\lib\rt.jar;C:\Program Files\JBuilder4\jdk1.3\jre\lib\sunrsasign.jar;C:\Program Files\JBuilder4\jdk1.3\lib\dt.jar;C:\Program Files\JBuilder4\jdk1.3\lib\tools.jar" data.Read1 error=2
    I am not very familiar with -JBuilder but it seems to me that it tries to use the old jdk1.3 ??
    Yes it so, because when i restored jdk1.3 on the old place everything is ok.
    Where i can change path to jdk ?
    I tried in project/project properties/paths/jdk but i can't chage it there, no possibility to chose.
    If you have idea , post it please , thank you.

    Try this link:
    http://community.borland.com/article/0,1410,22017,00.html
    I found it on the borland JBuilder site. This should take care of the problem. If not do a search on their site using the following keywords:
    "changing jdk in JBuilder"
    This produced many articles in the results.
    Stephan

  • Help! JBuilder  With Weblogic

    Hey folks,
    I have this problem, Im creating a CMP entity bean, I'm using JBuilder7.0 to build my beans which is integrated with Weblogic6.1 AppServer. I want to set a data base conenction for my CMP entity bean, Im using weblogic's plugins to JBuilder for this purpose.
    I have a SQL server databse, I already have defined my DSN, I created a JNDI for my DSN in the "JDBC 1 Datasources" in the project pane in JBuilder, and filled the fields for my Database URL as well as the driver class name, then I "Test Connect" and Connection succeeded.
    I set the "Data source name" filed in the "Weblogic 6.x+ General" pane to my DSN, now when I go to "CMP 1.1" pane and set my table there then try to "Get Metadata" I get nothing! I wonder if I missed some configuration steps!
    I would appricate if anyone would give a solution, also I need some Docs, which comprehensively explaines about the weblogic's plugins with JBuilder
    Thak you Guys!

    Yeah! I came to know that I have to set a reference for my JNDI database connection in the "Resource References" panel for my bean properties.
    Now I can see some action, when I "Get Metadata" it tests the connection and its succeeded, then it says its getting the metadata, but it does not return!

  • URGENT please help with servlets

    am using Jbuilder 3 and there is no servlet classs to import .imported JSDK and the javax files. but it keeps saying my class does not extend http servlet any ideas!!

    I've used JBuilder3 a few times and as far as I remember the default Target jdk (version 1.2) cannot be changed or ammended and so you can't really import javax.servlet stuff.
    Go to project -> properties.
    You probably just need to define a new jdk version call it "JDK 12 Servlets" or something. It'll prompt you most of the way and then you just need to edit the Class path and add the javax stuff.
    Alternatively you can just save the file with jbuilder and do the compiliation from the command line.
    Hope this helps.

  • Class files created with JBuilder don't run from command line ?

    I have created an Application with JBuilder which is
    running perfectly from within JBuilder.
    However when I tried to run the app from the command line using c:\java ...... I got an error
    Exception in thread "main" java.lang.NoClassDefFoundError: ItasApplication/class
    I also tried to compile my .java files with javac which
    worked perfectly but I got the same message when trying
    to run the app!
    Can you help me ?

    I did this and I got this message :
    Exception in thread "main" java.lang.NoClassDefFoundError: ItasApplication (wron
    g name: itasgui/ItasApplication)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
    1)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)

  • Upgrad to Tomcat 4.0 with JBuilder 5

    Hi all
    Has anyone tried to upgrad the web server to Tomcat 4.0 with JBuilder 5? I have followed the instruction in the documentation (which said I only need to specify to use Tomcat 4.0 and locate the installation path), however, I still couldn't start the web server.
    I got the following msg when starting web server:
    StandardManager[LiteWeb]: Seeding of random number generator has been completed
    ERROR reading java.io.ByteArrayInputStream@504653
    At Line 11 /web-app/servlet/
    ContextConfig[LiteWeb]: Configuration error in application web.xml
    java.lang.IllegalArgumentException: addChild: Child name 'jsp' is not unique
    java.lang.IllegalArgumentException: addChild: Child name 'jsp' is not unique
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
         at org.apache.catalina.core.StandardContext.addChild(StandardContext.java:1276)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.util.xml.AddChild.end(XmlMapper.java:811)
         at org.apache.catalina.util.xml.XmlMapper.matchEnd(XmlMapper.java:419)
         at org.apache.catalina.util.xml.XmlMapper.endElement(XmlMapper.java:119)
         at com.sun.xml.parser.Parser.maybeElement(Parser.java:1413)
         at com.sun.xml.parser.Parser.content(Parser.java:1499)
         at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
         at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
         at com.sun.xml.parser.Parser.parse(Parser.java:284)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:77)
         at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:275)
         at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:256)
         at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:824)
         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:224)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3345)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
         at org.apache.catalina.core.StandardService.start(StandardService.java:388)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
         at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
         at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
    ContextConfig[LiteWeb]: Marking this application unavailable due to previous error(s)
    StandardContext[LiteWeb]: Error initializing naming context for context /LiteWeb
    StandardContext[LiteWeb]: Context startup failed due to previous errors
    StandardContext[LiteWeb]: Error initializing naming context for context /LiteWeb
    WebappLoader[]: Deploying class repositories to work directory D:\myWorkPad_ProTel2\CRMLite\work
    StandardManager[]: Seeding random number generator class java.security.SecureRandom
    StandardManager[]: Seeding of random number generator has been completed
    ERROR reading java.io.ByteArrayInputStream@31aa65
    At Line 11 /web-app/servlet/
    ContextConfig[]: Configuration error in application web.xml
    java.lang.IllegalArgumentException: addChild: Child name 'jsp' is not unique
    java.lang.IllegalArgumentException: addChild: Child name 'jsp' is not unique
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
         at org.apache.catalina.core.StandardContext.addChild(StandardContext.java:1276)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.util.xml.AddChild.end(XmlMapper.java:811)
         at org.apache.catalina.util.xml.XmlMapper.matchEnd(XmlMapper.java:419)
         at org.apache.catalina.util.xml.XmlMapper.endElement(XmlMapper.java:119)
         at com.sun.xml.parser.Parser.maybeElement(Parser.java:1413)
         at com.sun.xml.parser.Parser.content(Parser.java:1499)
         at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
         at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
         at com.sun.xml.parser.Parser.parse(Parser.java:284)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:77)
         at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:275)
         at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:256)
         at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:824)
         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:224)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3345)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
         at org.apache.catalina.core.StandardService.start(StandardService.java:388)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
         at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
         at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
    ContextConfig[]: Marking this application unavailable due to previous error(s)
    StandardContext[]: Error initializing naming context for context
    StandardContext[]: Context startup failed due to previous errors
    StandardContext[]: Error initializing naming context for context
    HttpConnector[8082] Starting background thread

    Solved it. I ran into this problem too, and had to look all over the place to find the solution.
    In the end it's a matter of binning your current JBuilder project and starting a new one with the same files. For some reason JBuilder5 hates switching Tomcat installations within projects. From there it seems to ignore changes to your web.xml, and insists on yu_hung's error.
    Switch it all into a new project with Tomcat 4 as its default server, and it becomes happy again.
    Hope that helps!
    Martin Hughes

  • Integrate third party libraries with JBuilder 2005

    Hi,
    Does any body know how to integrate any third party APIs with JBuilder 2005. It would be of great help if anybody of you could jot down the steps to integrate third party APIs with JBuilder.I've got to use the JDIC API(https://jdic.dev.java.net) and the PDFBox APIs(www.pdfbox.org) with in JBuilder.
    Thanks & Regards,
    DT

    Yep got it. Shoud have refered the docs before asking this question. I used the following menu item to add a third party .jar file
    Project->Project Properties: select the Paths option and add the required jar file by selecting the "Required Libraries" tab.
    Regards,
    DT

  • Does WLS support Debugging Servlets with JBuilder 3 ?

    I have read all the news groups and it appears that WLS 4.5.1 does not
    support debugging Servlets with Jbuilder 3.0.
    I am using the trial version, does this matter ?
    Or should I just buy another web server ?
    Joe

    I think below documents will be helpful to you.
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/webservices/webservicesecurity/CreateDefaultWSSConfig.html
    This document tell you that you can attach a weblogic webservice configuration using weblogic admin console.
    After creating this configuration you need to updated this configuration as per the steps given under :
    Use X.509 certificates to establish identity
    Thanks,
    sandeep

  • Setting up weblogic 6 with jbuilder 4

    Hi
    Im trying to set up weblogic 6 service pack 1 with jbuilder 4.
    I've followed
    the steps outlined in the following article:
    http://community.borland.com/article/0,1410,26796,00.html
    but when I come to running my container in jbuilder i get an AccessControlException.
    I cannot find a field in jbuilder where i should be entering a
    password for weblogic.
    Can anyone help me????
    Thanks in advance
    Sohail

    for the time being , create a file called 'password.ini' under
    weblogic_install_dir/config/yourdomain and just enter the password on it
    and try. The password.ini file is an ascii file that should have only
    one line, your password.
    Try this and see if this is the problem.
    Cheers,
    Bassam

  • Prompt command with JBuilder

    i have just purchased my first JAVA book
    "A Framework for Programming and Problem Solving"
    Anyway, I have not gotten far at all because it asks me to use the prompt command early on to find the directory or make up one. I don't understand what that means. It came with a CD Rom with JBuilder on it. Why am I having to type using the command prompt and notepad as an editor? Is the JBuilder not the compiler/editor? I am confused and frustrated. Please help.

    JBuilder is an IDE (Integrated Development Environment).
    The Java SDK contains the compiler.
    Notepad is a text editor.
    There are many ways to enter, compile and run Java
    programs. JBuilder is one environment, but it separates
    the programmer from what is actually going on within the
    computer. The author is probably trying to encourage
    you to use notepad and the command prompt so that
    you will understand what JBuilder does for you when you
    tell it to "Make MyProject".
    IMHO, when you are first learning to program, using a
    text editor is probably best because you are required to
    write all of the code and you control the compilation and
    execution yourself. When you understand the basics of
    programming it's great to use an IDE for the features that
    they include. I would also suggest that you use TextPad
    instead of notepad. It can be used to highlight Java code
    and can also be configured to compile and run your
    programs.
    Hope that helps!
    Mark

  • Help with simple question.......

    This is a simple question but i can't seem to figure it out.
    For example i am using this code...
    feel free to run this code...
    When you run this you see the scrollbars with the Swing look (Bars look so nice)...
    I am using this same type of code in my other project with JBuilder 7 and I am getting the plain look of the scrollbars.
    Any suggestions will be greatly appreciated..
    =======================================================
    import javax.swing.JTable;
    import javax.swing.JScrollPane;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import java.awt.*;
    import java.awt.event.*;
    public class SimpleTableDemo extends JFrame {
    private boolean DEBUG = true;
    public SimpleTableDemo() {
    super("SimpleTableDemo");
    Object[][] data = {
    {"Mary", "Campione",
    "Snowboarding", new Integer(5), new Boolean(false)},
    {"Alison", "Huml",
    "Rowing", new Integer(3), new Boolean(true)},
    {"Kathy", "Walrath",
    "Chasing toddlers", new Integer(2), new Boolean(false)},
    {"Mark", "Andrews",
    "Speed reading", new Integer(20), new Boolean(true)},
    {"Angela", "Lih",
    "Teaching high school", new Integer(4), new Boolean(false)}
    String[] columnNames = {"First Name",
    "Last Name",
    "Sport",
    "# of Years",
    "Vegetarian"};
    final JTable table = new JTable(data, columnNames);
    table.setPreferredScrollableViewportSize(new Dimension(500, 70));
    if (DEBUG) {
    table.addMouseListener(new MouseAdapter() {
    public void mouseClicked(MouseEvent e) {
    printDebugData(table);
    //Create the scroll pane and add the table to it.
    JScrollPane scrollPane = new JScrollPane(table);
    //Add the scroll pane to this window.
    getContentPane().add(scrollPane, BorderLayout.CENTER);
    addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    private void printDebugData(JTable table) {
    int numRows = table.getRowCount();
    int numCols = table.getColumnCount();
    javax.swing.table.TableModel model = table.getModel();
    System.out.println("Value of data: ");
    for (int i=0; i < numRows; i++) {
    System.out.print(" row " + i + ":");
    for (int j=0; j < numCols; j++) {
    System.out.print(" " + model.getValueAt(i, j));
    System.out.println();
    System.out.println("--------------------------");
    public static void main(String[] args) {
    SimpleTableDemo frame = new SimpleTableDemo();
    frame.pack();
    frame.setVisible(true);

    any help will get DUKE $$$$$$$$$$$$$$$$

  • Debugging Servlet with JBuilder 6

    Does anyone know how to debug a servlet with JBuilder version 6?
    I have created the servlet without the wizard.
    Thanks.
    -Amar

    You can use ServletExecDebugger from NewAtlanta.
    You can download ServletExecDebugger at
    http://www.newatlanta.com/products/servletexec/download.jsp
    1. Extract ServletExecDebugger files to your local folder
    2. Import ServletExecDebugger.jar file into you JBuilder
    workspace
    3. There will be ServletExecDebuggerMain.java file
    Import that also.
    4. Set ClassPath, Project Path , etc and off you go.
    ServletExecDebugger comes with good documentation
    for a free debugger.
    I have been using it for sometime now (in both JBuilder and Visual Age) and find it relatively simple to setup and good for debugging servlets.
    You cannot debug JSPs that much easier though !
    Hope this helps..
    KD

  • Using JMF with JBuilder

    I was trying to use JMF with JBuilder 2005 but didnt know how to configure the libraries. I asked many people but no one could help me. I just found a web site about this problem so i would like to share it with those who are facing the same problem. hope it will help.
    check http://www.computer-logic.net/javafaq/JFAQ_MediaFiles.htm

    put the two jar files,jdom jar and xerces.jar files into the resourec in jbuilder.sorry if i am not clear in the answer.
    cheers

  • Problems with JBuilder

    Hi guys, I have had trouble getting to grips with JBuilder for I while now, when I compile the simplest of programs I come up with the following warning.
    Warning #: 908 : check sourcepath; source c:\Java\j2sdk1.4.2_11\bin\HelloWorldApp.java cannot be found on sourcepath by appending \HelloWorldApp\HelloWorldApp.java to each sourcepath entry
    Please help.

    I don't work with JBuilder, but that error message seems like, some where in your project settings, the path to the source code is blank, thus it's appending it to the java home directory, rather then locating it under your project's workspace. You probably need to find the 'source' parameter in your settings.

  • Urgent:Someone who has experience with JBuilder???

    i'm new with jBuilder, I'm using JBuilder5 , i work in a team of 5 people , we work on the same project but everyone use a copy of the software.Right know we want to put the project we've done until know in a server and continue programming by using this copy(everyone will work in a different (package or Module in this project) but all this packages are on the same project wich is on the server) : we wnat to use the same copy but we must synchronize this??? the question how to set up the compiler of JBuilder to let it possible : an idea is that every body of us could compile his module by the right click option(rebuild + name of the package clicked), this for compiling but for runnig during the work i have no idea ??????????
    any kind of help plaease it's urgent
    some internet links ideas
    i'll be gratefully

    A lot of people here use ant. But not all of us can read your mind, and those of us that can are sadistic bastards that like to force people to provide details of their problems just for the hell of it.
    So please do the following:
    * Go through an ant tutorial or other introductory docs, doing an example or two if present.
    * Set up your build.xml according to what you've learned.
    * If it still doesn't work, post the relevant portions of it (hopefully you'll have a small, representative sample that reproduces the problem), along with your relevant directory and file structure, the command you're running, and what error messages you're getting.

Maybe you are looking for