Compilation Error from Forte for Java 3.0

Hi! Everyone.
I got a problem on Java program compilation.
When I compile the program in any project, I got following error message:
You may not use the compiler Ant Script Compilation on the object ibmTableFormat because it is not an Ant script.
Would anyone help me to solve this problem? Thanks.

Select Menu 'Project'
-> Select 'Setting'
-> Select node 'Java Sources'
-> Edit property 'Default Compiler'
Then problem is fixed.

Similar Messages

  • Compile Error from Forte 6.0 Update 1

    Hi,
    We have the following situation:
    // CORBA.h file
    struct {
    class Object;
    typedef Object* Object_ptr;
    // Our .h file
    namespace OSP {
    typedef IDLSEQUENCE_OSP_SetListElement SetList;
    typedef IDLSEQUENCE_OSP_SetListElement_var
    SetList_var;
    // Our .C file
    class something {
    somefunction(OSP::SetList_var, CORBA::Long, \
    CORBA::Object_ptr &);
    // use somefunction
    something si;
    CORBA::Long cl;
    OSP::SetList sl;
    CORBA::Object_ptr so = <something>;
    si.somefunction(sl, cl, so);
    When compiling we get an error that says
    the signature does not match:
    Error: Could not find a match for\
    <something>::<somefunction>( \
         OSP::_IDL_SEQUENCE_OSP_SetListElement_var, \          long, CORBA::Object*)
    Are typedef'ed symbols treated differently in
    Forte 6 Update 1 (ANSI compliant)?
    Appreciate your help!
    Shyam

    I've tested your code on a couple different versions of Forte Developer C++, and it is indeed a bug. I've filed it as Bug ID 4632564. We're working on this issue, and I'll keep you updated on it.
    -Moazam

  • Why aren't deployed jar files from forte for java CE recognized by iplanet server?

     

    At 09:33 AM 4/20/01, Rottier, Pascal wrote:
    Forte 4GL is:
    1) A language, TOOL (Compare to Java)
    2) An IDE (Compare to e.g. JBuilder or FJCE)
    3) A collaborative development environment, with central repository (Compare
    to ????)
    4) A distributed application server / object request broker (Compare to J2EE
    servers and/or CORBA)Let's not forget WebEnterprise, Express, and especially Fusion.
    I think, SUN is not al all interested in TOOL.If TOOL were just a language and had no market yet, you are probably
    right. But, not only is TOOL the key to the Forte environment, but it has
    an existing and profitable market. Sun still sells FORTRAN, after all, and
    continues to put money into ADE development for all its language
    products. The real kicker, though, is that I think iPlanet is very clear
    that Fusion, now iIS, is a very key product for them. There may be those
    who wish it were written in Java and who might lobby for doing a Java
    version, but it was clear at the conference that the iPlanet management
    recognize that Java just isn't up to the task at this point. It isn't as
    if all the iPlanet tools are actually written in Java, after all.
    They will only support them for as long as they need.Or, more likely, for as long as they make money.
    Now, in response to Microsofts .NET stratagy. We have yet to see how
    succesfull this will be, but I expect Microsoft to push this down the
    throats of developers and companies quite succesfully.Like they did DCOM?
    =========================================================================
    Thomas Mercer-Hursh, Ph.D email: [email protected]
    Computing Integrity, Inc. sales: 510-233-9329
    550 Casey Drive - Cypress Point support: 510-233-9327
    Point Richmond, CA 94801-3751 fax: 510-233-6950

  • Open Forte for java project in Sun java studio enterprise

    Hi Everyone, I am new to Java development. I have a java application developed in Forte for java 4 and I need to open and compile it in Sun java studio enterprise. Could anybody tell me how to do that? Thank you very much.

    The recent versions of the IDE (starting with NetBeans 4.1 and JSE 8) are based on a more-robust project system that is ant based. Projects from Forte for Java 4, unfortunately, cannot be directly opened in JSE8, NB4.1 and later.
    If you do have access to the original source code, pl. try the following in the latest version of JSE or NetBeans:
    - Create a fresh project in jse using File | New Project. (For a java standalone app, you would choose General | Java Application from the dialog).
    - Add the existing files to the empty project. You can do so by right-clicking on the project, selecting properties and adding the existing source directories under 'Source Packages' in 'Sources' category.
    Or from the new project dialog, you could select 'General | Java Project with existing sources' option.

  • Question on forte for java

    Hi,
    I'm developing using the Forte for JAVA ide, but I get an error though i know certainly that my code is correct.
    I get this error:
    Tue Nov 06 11:35:29 CET 2001: java.lang.NoSuchMethodError: Posted StackTrace
    Annotation: Exception occurred in Request Processor
    org.openide.util.RequestProcessor$Holder: Posted StackTrace(task org.netbeans.modules.web.core.jsploader.TagLibParseSupport$ParsingRunnable@772046 [-2433, 9, -1])
    at org.openide.util.RequestProcessor$Task.createHolder(RequestProcessor.java:322)
    at org.openide.util.RequestProcessor.post(RequestProcessor.java:100)
    at org.openide.util.RequestProcessor.postRequest(RequestProcessor.java:185)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.parseObject(TagLibParseSupport.java:110)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.prepare(TagLibParseSupport.java:97)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.getTagLibEditorData(TagLibParseSupport.java:67)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.getTagLibEditorData(TagLibParseSupport.java:55)
    at org.netbeans.modules.web.core.syntax.JSPKit.createSyntax(JSPKit.java:94)
    at org.netbeans.editor.BaseDocument.getFreeSyntax(BaseDocument.java:377)
    at org.netbeans.editor.DrawEngine.draw(DrawEngine.java:876)
    at org.netbeans.editor.LeafView.paintAreas(LeafView.java:145)
    at org.netbeans.editor.BaseView.paint(BaseView.java:129)
    at org.netbeans.editor.BaseTextUI$RootView.paint(BaseTextUI.java:594)
    at org.netbeans.editor.BaseTextUI.paintRegion(BaseTextUI.java:238)
    at org.netbeans.editor.EditorUI.paint(EditorUI.java:1315)
    at org.netbeans.editor.BaseTextUI.paint(BaseTextUI.java:217)
    at javax.swing.plaf.ComponentUI.update(ComponentUI.java:39)
    at javax.swing.JComponent.paintComponent(JComponent.java:395)
    at javax.swing.JComponent.paint(JComponent.java:687)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JViewport.paint(JViewport.java:668)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JComponent.paintWithBuffer(JComponent.java:3878)
    at javax.swing.JComponent._paintImmediately(JComponent.java:3821)
    at javax.swing.JComponent.paintImmediately(JComponent.java:3672)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:370)
    at org.netbeans.core.windows.frames.PinRepaintRM.paintDirtyRegions(PinRepaintRM.java:75)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:124)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
    [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    Tue Nov 06 11:35:29 CET 2001: java.lang.NoSuchMethodError: null
    java.lang.NoSuchMethodError
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.parsePage(TagLibParseSupport.java:150)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.access$200(TagLibParseSupport.java:41)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport$ParsingRunnable.run(TagLibParseSupport.java:119)
    at org.openide.util.Task.run(Task.java:124)
    [catch] at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:626)
    I seems that it can't compile my jsp to servlet
    THX

    ive ran into many problems with compiling in forte. I just compile everything from the command line now, lets me know exactly what switches i want, and it works! ive never seen an error like that in forte though, i would just recommend compiling it from the command line with "javac"...

  • PetStore running in Forte for Java 4 - Part 1

    I am hoping to get the PetStore (1.3.1_01) running under Forte for Java 4 EE. If I succeed I will be posting this up to the web-site so that it is publicly available. However I am very new to Forte for Java (FFJ) [I ran it for the first time six days ago]. As a concequence I may not understand the best way of configuring projects or web modules etc, associating the J2EE, implementing ANT files etc etc etc. So what I thought I would do is (briefly) explain what I am doing so that if I am doing stupid things or there are better ways of doing things you guys can shout (ie get some peer review as I proceed).
    The overall approach I am taking is:
    + The project is stored in the standard \forte4j-userdir\system\Projects directory.
    + the source currently is stored separately (ie the directory I unzipped the perstore to).
    + I am building the project in the same sequence that the main build.xml files specifies (ie components / waf / apps).
    + I expose parts of the PetStore project to FFJ by mounting local directories from the unzipped PetStore directory.
    + As long as the j2ee.home is defined in build.properties the ANT build processes work. However a compile under FFJ will not work as it does not know where the j2ee.jar file is. Therefore I have mounted the j2ee.jar and added this to the project. [IS THERE A BETTER WAY OF DOING THIS?]
    Each of the COMPONENTS (asyncsender, encodingfilter, purchaseorder etc) are held in separate java packages. Each of these have been mounted separately and then arranged in the same order as they appear in components/build.xml. Each of these can then be compiled, or, built using the ANT files successfully. Finally for the COMPONENTS I wanted to make the components/build.xml known to FFJ. Unfortunately you can't just mount the components directory (see problem below). So I have created a new directory at the petstore/src level called build and mounted this directory. The components build.xml file has been copied into this directory and renamed to components.xml. Finally the base directory in components.xml has been changed from (.) to (../components). Double clicking on this now builds all of the COMPONENTS without errors.
    I have taken this approach rather than just mounting the components directory as when you do a build you get the following error:
    "java.lang.ClassNotFoundException: Mount/org-openide-filesystems-LocalFileSystem_1.settings: missing 'class' attribute in 'instance' element". [WHAT IS THIS AND IS THERE A SOLUTION?]
    Hopefully I will get some more time tomorrow to start work on the waf part of PetStore.
    Cheers
    Paul

    Before starting on the waf import to Forte for Java (FFJ) I did a quick review. And found an issue. FFJ was not recognising the EJB components as EJBs.
    When creating a new EJB FFJ will store the following "special" files:
    + <ejb name>.ejbdd containing the <ejb-jar> definition
    + <ejb name>.ejbj2eeri containing the <j2ee-ri-specific-information> [AM I CORRECT IN SAYING THIS IS THE CONTAINER SPECIFC DEPLOYMENT INFORMATION? ]
    + <ejb name>.sesejb or .entejb or .mesejb - depending on whether the bean is an session / entity / message bean
    The PetStore project contains <ejb-jar> definitions in ejb-jar.xml files. These files were therefore copied out to the appropriate location for FFJ and renamed to <ejb name>.ejbdd. On opening the project FFJ now recognises the EJBs correctly (signified by the FFJ bean icon). The build.xml files were then changed to copy the new <ejb name>.ejbdd files to the META-INF directory. The project both compiles and can be built from the ANT files successfully.
    So far I have not done anything about the ejbj2eeri files [CAN ANYONE PROVIDE ME WITH ANY INFO ABOUT THESE? FOR EXAMPLE DOES FFJ HAVE ANY SPECIFIC VALUES STORED IN HERE OR WILL THE CURRENT VALUES DEFINED FOR THE J2EE REFERENCE IMPLEMENTATION BE OK].
    Neither have I done anything about the .sesejb / .entejb / .mesejb files. They contain the following information:
    <?xml version="1.0" encoding="UTF-8"?>
    <fjee-ejb>
    <file-version>1.0</file-version>
    <ejb-version>2.0</ejb-version>
    </fjee-ejb>
    [AGAIN CAN ANYONE PROVIDE ANY INFORMATION ABOUT THESE? ARE THEY NECESSARY OR IMPORANT]
    Thanks for any help that can be provided.
    Paul

  • BUG: 10.1.3..36.73 Internal Compile Error with enhanced for loop/generics

    I get the following compiler error when using the Java 5 SE enhanced for loop with a generic collection.
    Code:
    public static void main(String[] args)
    List<Integer> l = new ArrayList<Integer>();
    l.add(new Integer(1));
    printCollection(l);
    private static void printCollection(Collection<?> c)
    for (Object e : c)
    System.out.println(e);
    Error on attempting to build:
    "Error: Internal compilation error, terminated with a fatal exception"
    And the following from ojcInternalError.log:
    java.lang.NullPointerException
         at oracle.ojc.compiler.EnhancedForStatement.resolveAndCheck(Statement.java:2204)
         at oracle.ojc.compiler.StatementList.resolveAndCheck(Statement.java:4476)
         at oracle.ojc.compiler.MethodSymbol.resolveMethod(Symbol.java:10822)
         at oracle.ojc.compiler.RawClassSymbol.resolveMethodBodies(Symbol.java:6648)
         at oracle.ojc.compiler.Parser.resolveMethodBodies(Parser.java:8316)
         at oracle.ojc.compiler.Parser.parse(Parser.java:7823)
         at oracle.ojc.compiler.Compiler.main_internal(Compiler.java:978)
         at oracle.ojc.compiler.Compiler.main(Compiler.java:745)
         at oracle.jdeveloper.compiler.Ojc.translate(Ojc.java:1486)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildGraph(UnifiedBuildSystem.java:300)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFiles(UnifiedBuildSystem.java:515)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll(UnifiedBuildSystem.java:715)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run(UnifiedBuildSystem.java:893)

    Install the Service Update 1 patch for JDeveloper (using the help->check for updates), and let us know if this didn't solve the problem.

  • The Sun is down and I can't get Forte for Java (?)

    What's up here. I REQUIRE the newest version of Forte for Java as an IDE for JDK 1.4. The version that I have currently is over a year old. Everytime I select it from the "Products & APIs", I get a message:
    Portions of sun.com are temporarily undergoing maintenance.
    How long is this going to last? It's been unavailable for the last 10 hours (from my standpoint) and my project is at a screeching halt because of it (and since Borland has decided to soak me dry if I want a 'good' version of JBuilder that supports 1.4).
    Not only is the project being squeezed inbetween an old version of the JDK and a just-released version, which not only will require uninstallation of the old and installation of the new, but will hopefully not break the project, requiring code changes.
    Robert Templeton

    Okay, I finally found it. Java.sun.com needs to update its product link to "SUN ONE" since it no longer goes by "Forte for Java". Talk about a lack of internal communication.
    Robert Templeton

  • Problems uninstalling Forte for java 4 community edition

    I just installed Forte for java 4 community edition at work, and when i tried to uninstalled it with add/remove programs from control panel. And the uninstall wizard start but then a Sun window apper and it is written, uninstalling and the uninstall program seems to be frozen.

    i have the same problem, reading the documentation it seems you got to run the installer again and you ll get prompted with the "file deletion confirmation"
    too bad i have a self-installing package and i don't get the prompt...
    guesses anyone?

  • Forte For Java GUI Editor

    Hi everyone,
    I've been trying to switch usage between Forte for Java running on 2 platforms (Win NT and Solaris 8). For this reason, I want to try to use the GUI Editor in each. But when I tried copying the same .class file from one platform to another and running opening the file under Forte for Java, the GUI Editor doesn't show up the form and Component Editor. Is there a way to make Forte for Java able to recognize the GUI components in a class file not creatd in Forte or not in that version of Forte? Thank you for any help!
    Bob

    Hi,
    this happens not just with class file but also with .java
    file. I created a GUI with Forte ( on windows ) and because I did not jave runtime setup on windows, I copied, java file that was created to the unix env. Then added some code to it and copied back to the windows.
    After that, GUI editor never came up. I lost all that I did
    to create a GUI. Now I can modify GUI only manually.
    I you have found answer to this, please let meknow
    at [email protected]
    rgds,
    sam

  • Setting environment in Forte for java

    How do i need to configure the environment in Forte for java so that i can give it
    command line args with a GUI. thanks so much

    Specifying Arguments for Program Execution
    You can pass command-line arguments to a program's main method when you run the program.
    To specify program arguments:
    In the Explorer, select the runnable Java object.
    From the main window, choose Build Set Arguments.
    In the Set Arguments dialog box, type the arguments as if you were typing them on the command line.
    If the argument includes a space, enclose it in quotation marks (for example, "arg 1").
    Click OK.
    You can also specify arguments on the Execution tab of the file's property inspector.

  • Help with (forte for Java CE) please

    I had installed forte for Java CE and had recieved some problems. After I installed the program and tried to run it it said this error.
    Cannot load c:\j2sdk1~1.1_0\jre\bin\classic\jvm.dll
    Bacicly why I installed forte was for the debugger part. Jedit doesn't seem to work for me. I'm using windows xp home edition.
    Any help would be great
    Thanks in advance
    George

    Try downloading a newer SDK and getting
    c:\j2sdk1~1.1_0\jre\bin
    out of the path

  • Sunsofts Forte for Java & SQLJ - anyone?

    Hi,
    we would like to use Sunsofts Forte for Java as an IDE to work with SQLJ sources.
    Since currently no other tool besides Oracles JDeveloper seems to contain direct support for SQLJ we run into the need to give up SQLJ and use plain JDBC instead because we favorize Forte so much over JDeveloper. (Note: please don't discuss the pros and cons of JDeveloper vs. Forte!)
    Does anybody use SQLJ inside Forte an can supply us with some guidance/help etc.?
    Do any of you know if Sun ore some other vendor will supply SQLJ modules for Suns Forte?
    Any help will be greatly appreciated.
    Regards,
    Robert.

    BINGO !
    Thanks Roxie!
    Roxi suggested looking for a log file possibly in .../bin
    found log files in:
    C|/forte_jdk/forte4j/bin
    and,
    C|/forte_jdk/forte4j/bin/hs_err_pid1704.log
    contained
    at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)
    which I recognized from having previously encountered
    Unexpected exception from NativeFontWrapper.registerFonts(Native Method)
    http://developer.java.sun.com/developer/bugParade/bugs/4482430.html
    and previously fixed code to deal with that bug by adding
    set JAVA_FONTS=C:\home\rholder\sandbox\msda\jre\lib\fonts
    to the .bat file that launched the java program,
    sooooooooo,
    by going to ControlPannel|System|Advanced|EnvironMentVariables
    and adding
    JAVA_FONTS=C:\home\rholder\sandbox\msda\jre\lib\fonts
    forte for java 4 ce now performs mount|Filesystem, etc
    and, debugging of java code is now in progress!!!
    thanks again Roxie,
    [email protected]

  • Forte for Java and webLogic

    How do I integrate WebLogic 6.1 and Forte for Java?

    Hi.
    You might check with Sun/Forte for info on how to do this.
    Regards,
    Michael
    Stjepan Maric wrote:
    How do I integrate WebLogic 6.1 and Forte for Java?--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • About Forte for java

    I'm a really beginner on Java.
    I don't the guru use what kind of java developing tools.
    There's only one I can use is "Forte for java".
    Dose anyone there who familiar to it and can help me?

    I'm a really beginner on Java.
    I don't the guru use what kind of java developing
    tools.
    There's only one I can use is "Forte for java".
    Dose anyone there who familiar to it and can help me?I used Forte for Java when I was really really new to Java too. I liked it.
    I liked the way different words in the Java program were shown in different colors. It helped me to understand the language. I thought it was a nice tool.
    But unfortunately, I only learned Java with Forte. I associated all my work with Forte. I was thinking much about Forte. I didn't learn about directory structures in an application or how Java uses a classpath until I stopped using Forte.
    So yawmark is right. If you use Mac OSX try using BBEdit as an editor. It will color your code. And outside of an IDE you will be aware of the basics of Java. If you use another Operating System, there are other text editors available that can color your code and that can be helpful.

Maybe you are looking for

  • Automator Workflow Fails with Cryptic Error Message

    I'm updating an Automator workflow for OS X Lion that I initally developed and used, without issue, in OS X Tiger. The workflow asks for a name, creates a folder for the name, takes a digital image with a Nikon D50 connected to the computer, and save

  • Regular expressions, characters unallowed in file names

    trying to take a url and turn it into a file name by grabbing the last bit of the string that doesnt have any characters that arent allowed in file names, but this keeps returning the same sting over and over again "://" System.out.println("\n" + fil

  • Exit x11 fullscreen mode

    Hello, I have Mac OS X 10.5.7 and recently installed x11 v2.0 I am just testing it in the full screen mode. On my other mac 10.4.11 I can exit full screen mode and switch back to Desktop with (CMD H) but that does not work on the new system. Somebody

  • Help Im looking for a laptop that will run these specs

    I am looking for a laptop to run AT LEAST the following OS: Windows XP SP2/ Windows Vista/Windows 7 (32 or 64-bit) CPU: Intel dual-core 1.8 GHz or AMD Athlon X2 + 3800 Memory: 1GB RAM or Better Video:ATI Radeon X1800 or NVIDIA GeForce 7950 or better

  • Support and downloads link

    is there a reason that the support and downloads link at the top of this page doesn't work. i need some drivers and the page won't load. T430u, x301, x200T, x61T, x61, x32, x41T, x40, U160, ThinkPad Tablet 1838-22R, Z500 touch, Yoga Tab 2 Windows 8.1