Total Java compiler problem confusion

I am seeking some help and advice from those of you who use Java either as their first choice language or use it most of the time.
I am using Microsoft Visual J++ 6.0 after being given it free. I have also just done a Java programming home course. I can program in C++ so the learning curve was not too steep. I currently use Microsoft Visual C++ 6.0 for my C++ programming. This is why I am keen to use the MS Java program because the setup is very similiar and I like using it.
My problem comes into play when after completing the course I now try and type in the programs and compile them. They do not work, in fact I have had to make changes to the program to get it to work.
Now have I been taught incorrectly how to program in Java or is it simply the MS Java program which is not setup correctly? I have been told the MS program I am using uses only Java 1.1 and the current one is 1.4.1.
This is the program I was given as an example to follow and is supposed to work and is a Java program.
import java.io.*;
public class Class1
     public static void main (String [] args)
               throws IOException
               int num1, num2, sum;
               System.out.println ("Input a number: ");
               num1 = Course_io.readInt();
               System.out.println ("Input another number: ");
               num2 = Course_io.readInt();
               sum = num1 + num2;
               System.out.println ("The total is " + sum );
The error I get is, "Undefined name 'Course_io' (j0049)
Why? Have I not set up the compiler correctly or is the MS Vis J++ 6 compiler just a waste of time. If so, then why is it still available to purchase in shops?
I don't want to know how to get the program to work, rather what the problem is with compilers etc...
Sorry for the huge post but I would really appreciate some help on this frustrating matter.
Thanks,
Pk

let me modify ur code:
import java.io.*;
  public class Class1 {
   public static void main (String [] args) throws IOException {
   int num1, num2, sum;
   //added declaration
   BufferedReader in = new BufferedReader(
                          new InputStreamReader(System.in)); 
   System.out.println ("Input a number: ");
   num1 = Integer.parseInt(in.readLine()); 
   //num1 = Course_io.readInt();
   System.out.println ("Input another number: ");
   num2 = Integer.parseInt(in.readLine()); 
   //num2 = Course_io.readInt();
   sum = num1 + num2;
   System.out.println ("The total is " + sum );
}tnks to robert for input procedure

Similar Messages

  • Idlj java compile problem from badly named interfaces in idl

    I am trying to build a java client to communicate with an application using corba interfaces.
    The large/complex idl I am using to build all the client stubs has interface names that seem to cause problems for the generated java. For example there is an interface in the idl called 'Device' as well as an interface called 'DeviceOperations'. This causes problems because idlj creates java interfaces with the word 'Operations' appended to it.
    So I get a bunch of weird results in my generated java which has many compiler errors.
    Unfortunately I cannot change the idl because it is not an application I work on directly.
    Any suggestions?
    Thanks!

    My guess is that you are between a rock and a hard place unless you can 1) change the IDL or 2) change how the IDL is compiled. You have said you can't do the former, so maybe you can influence the latter (unfortunately for you, I suspect not). On the change you can, keep reading.
    IDL only creates interfaces such as DeviceOperations if you compile the IDL using the Tie model. But you would definitely have a problems since 1) the IDL has an interface called Device and DeviceOperations and as a result will create java files Device.java and DeviceOperations.java and 2) the Tie model will want to create two interfaces, DeviceOperations.java and DeviceOperationsOperations.java. I suspect that the second interface compiled by the IDL compiler will be the winner the first one will be overwritten).
    If you can, change the IDL compilation to that you do not use the Tie model. However, you said you have no ability to change the IDL, so you also may not have the ability to change how it is compiled, so I am not sure if this is practical advice. I can't imagine that this application ever successfully used both interfaces.

  • Java compiling problem, very important ??

    Hi,
    When I will compile my java code (see source) I get the following message
    java.lang.NullPointerException
    at table1.main(table1.java:95)
    The problem is in line 95 : values[k] = (String)vals.nextElement();
    What have I done wrong ?????
    When any one has a solution, thanks in advance
    regards, mkasel
    source:
    import java.util.Hashtable;
    import java.util.Enumeration;
    import javax.naming.*;
    import javax.naming.directory.*;
    public class table1 {
    public static String MY_SEARCHBASE = "l=ASA";
    public static String MY_FILTER = "cn=*";
    // Specify which attributes we are looking for
    public String MY_ATTRS[] = {"sn", "telephoneNumber","givenName"};
    Enumeration vals;
    Hashtable list= new Hashtable();
    public static void main (String args[]){
    try {
    // Binding
    // Hashtable for environmental information
    Hashtable env = new Hashtable();
    // Specify which class to use for our JNDI Provider
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
    // Specify the host and port to use for directory service
    env.put(Context.PROVIDER_URL, "ldap://scd2ldap.mens.net:389/ou=ICN,o=MENS,c=FR ");
    DirContext ctx = new InitialDirContext(env);
    // Begin search
    // Specify the scope of the search
    SearchControls constraints = new SearchControls();
    constraints.setSearchScope(SearchControls.SUBTREE_SCOPE);
    // Perform the actual search
    // We give it a searchbase, a filter and the constraints
    // containing the scope of the search
    NamingEnumeration results =ctx.search(MY_SEARCHBASE, MY_FILTER, constraints);
    // Now step through the search results
    while ( results != null && results.hasMore() ) {
    SearchResult sr = (SearchResult) results.next();
    String dn = sr.getName() + "," + MY_SEARCHBASE;
    System.out.println (/*"Distinguished Name is " +dn*/);
    // Code for displaying attribute list
    Attributes ar = ctx.getAttributes(dn, MY_ATTRS);
    // Has no attributes
    if (ar == null) {
    System.out.println(" Entry "+ dn );
    System.out.println(" has none of the specified attributes\n");
    } else {
    // Has some attributes
    // Determine the attributes in this record.
    Hashtable elements=new Hashtable();
    for (int i=0; i<MY_ATTRS.length; i++) {
    Attribute attr = ar.get(MY_ATTRS<i>);
    if (attr != null) {
    vals=attr.getAll();
    String[]values=null;
    int k=0;
    while(vals.hasMoreElements()) {
    values[k] = (String)vals.nextElement();
    k++;
    elements.put(MY_ATTRS<i>,values);
    list.put(dn,elements);
    // End search
    // end try
    catch(Exception e) {
    e.printStackTrace();
    System.exit(1);
    P.S. IMPORTANT <> means []

    Hi again,
    I didn't understand you well, could you tell me what I
    have to change in the code to solve the problem
    Thanks,
    mkasel
    Well it is very simple
    String[]values=null;
    you have a pointer that can point to a string array but currently is pointing to null
    values[k] = (String)vals.nextElement();
    Now you try to access the String array but it doesn't point to an array of strings but to null that's why you get a java.lang.NullPointerException.
    You first have to let the pointer point to an array for example by creating a new String array like:
    values = new String[100];
    in your case the best thing to do is get the amount of elements you have in your enumeration and use that instead of 100

  • RTPPlayerApplet.java compiling problem

    Hi !
    I'm newbie in JMF. I tried to compile RTPPlayerApplet.java
    (http://java.sun.com/products/java-media/jmf/2.1.1/samples/samples/SimplePlayerApplet.java)
    but cant find package rtp . I've installed JMF 2.1.1e everyfing works fine except that example ..........
    Here's my errors :
    RTPPlayerApplet.java:49: package rtp does not exist
    import rtp.*;
    ^
    RTPPlayerApplet.java:77: cannot resolve symbol
    symbol : class ParticipantListWindow
    location: class RTPPlayerApplet
    ParticipantListWindow videogui = null;
    ^
    RTPPlayerApplet.java:78: cannot resolve symbol
    symbol : class ParticipantListWindow
    location: class RTPPlayerApplet
    ParticipantListWindow audiogui = null;
    ^
    RTPPlayerApplet.java:182: cannot resolve symbol
    symbol : class ParticipantListWindow
    location: class RTPPlayerApplet
    videogui = new ParticipantListWindow(videomgr);
    ^
    RTPPlayerApplet.java:185: cannot resolve symbol
    symbol : class ParticipantListWindow
    location: class RTPPlayerApplet
    audiogui = new ParticipantListWindow(audiomgr);
    ^
    Note: RTPPlayerApplet.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
    5 errors
    Can some help me out?
    Thanks.

    Solution:
    delete all references of
    ParticipantListWindow
    and delete import *.rtp.
    because rtp package is not existing in 2.1 ver

  • Exception in thread "main" java.lang.Error: Unresolved compilation problem

    The following code:
         public boolean find(MusbachJ_Person person,BstNode node)
              //p.l(person);p.l(node.intData);
              if(node.intData.compareTo(person)==0)
                   return true;
              if( node.leftNode != null ) find(person,node.leftNode );
              if( node.rightNode != null ) find( person, node.rightNode);
              else
                   return false;
         }returns the following compilation error:
    Exception in thread "main" java.lang.Error: Unresolved compilation problem:
         This method must return a result of type boolean
         at MusbachJ_TreeNode.find(MusbachJ_TreeNode.java:32)
         at MusbachJ_PeopleTree.main(MusbachJ_PeopleTree.java:91)
    But I don't understand, the else statement is right there, what more does it want? Thanks! :)

    John_Musbach wrote:
    Exception in thread "main" java.lang.Error: Unresolved compilation problem: Unresolved compilation problem is an error that you'll only ever see if you're using an IDE. If you used the javac compiler, then you would have seen that the code doesn't even compile.
    The reason (as others have pointed out) is, that some paths through your method don't return a value.
    I'll re-write your code in the code-style that I usually use, because then it might be easier for you to see the problem:
    public boolean find(MusbachJ_Person person,BstNode node)
         if(node.intData.compareTo(person)==0) {
              return true;
         if( node.leftNode != null ) {
              find(person,node.leftNode );
         if( node.rightNode != null ) {
              find( person, node.rightNode);
         else {
              return false;
    }There are two prolbems. I'll spell out the first and let the other one for you to find:
    1.) you don't do anything with the return-values of the find-methods you are calling. What do you want to do with them?
    2.) What do you return if the current node is not the one that you want and you've got a right node?

  • IRC compilation problem

    import org.jibble.pircbot.*;
    import com.sun.speech.freetts.*;
    import com.sun.speech.freetts.audio.*;
    import javax.sound.sampled.*;
    import java.io.File;
    public class SpeechBot extends PircBot {
        private Voice voice;
        public SpeechBot(String name) {
            setName(name);
            // Choose the voice for the speech synthesizer.
            String voiceName = "kevin16";
            VoiceManager voiceManager =
    VoiceManager.getInstance();
            voice = voiceManager.getVoice(voiceName);
            if (voice == null) {
                System.out.println("Voice not found.");
                System.exit(1);
            voice.allocate();
            // Set up the output format.
            AudioPlayer voicePlayer = new JavaClipAudioPlayer();
            voicePlayer.setAudioFormat(new AudioFormat(8000,
    16, 1, false, true));
            voice.setAudioPlayer(voicePlayer);
        public void onMessage(String channel, String sender,
    String login, String hostname, String message) {
            // Send all IRC messages to the voice
    synthesizer.
            message = message.trim();
            String input = sender + " on " + channel + "
    says: " + message;
            voice.speak(input);
        public static void main(String[] args) throws
    Exception {
            if (args.length < 2) {
                System.out.println("Usage: java SpeechBot
    <server> <channel>");
                System.exit(1);
            SpeechBot bot = new SpeechBot("SpeechBot");
            bot.connect(args[0]);
            bot.joinChannel(args[1]);
    }This is my code,i have downloaded all the jar files needed for it,but its not getting compiled
    please tell me the correct statement of the compilation.......

    In your last thread (which you crossposted around) I told you that you need to spend some time with the networking tutorials. Perhaps you really need to spend time with the basic Java tutorials instead?
    There are a bunch of problems with this post anyway like
    1) It doesn't belong in this forum, but most likely New to Java or Java Programming. Simple compilation problems go into those forums.
    2) You didn't provide the most important information anyway. The statement "its not getting compiled" tells us nothing. It's totally useless.
    3) Posting about problems with third-party libaries as you are here is also discouraged. You should ask the people/person who wrote the class for help
    But again, based on both this and your previous thread, it seems pretty clear to me that you are attempting to bite off far more than you can know chew. If you are student trying to learn, again I urge you to stop and spend a good amount of time with the basic Java tutorials. Learn how basic Java code is structured and how to solve simple classpath and syntax compilation errors. If you are employed then you got this job by lying so my advice to you would be to quit. You're at least 6 months away from being safe to let work on any code.

  • Compilation problem in a JSP page

    Hi all,
    I'm trying to write a jsp page and some java stuff in it.
    It goes something like this -
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1255"%>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1255"/>
        <title>Michael</title>
      </head>
      <body>
    <%
              String strError="";
    %>
    </body>Now the problem is that I get compilation problem about the use in java -
    "String cannot be resolved to a type"
    I know for sure that in other computers it's work, the question is what I'm missing?
    I have Java VM installed and I've downloaded and installed the latest JDK, what else?
    thanks,
    Michael.

    Michael4488 wrote:
    BalusC wrote:
    Then you should be using JSTL/EL.I don't familiar with this technology, any way - Its work on one computer so in my understanding it should work on the other as well.It is not related to the actual problem. It was just a comment on your code. Using scriptlets is considered as bad practice.
    I understand that of course, but I don't use any configuration file or set any special parameters in my computer.
    What exactly does the compiler need in order to recognize the Java code in the JSP page? If i manually add the JAVA_HOME environment variable it will work?
    where should I refer it to? "..\Java\jre1.6.0_07\lib" will do?It must point to the root installation directory of the JDK (thus not the JRE!).

  • UTF-8 encoded JSPs compilation problem

    Hi,
              I'm using Weblogic 9.0 Beta. I have an XML-format UTF-8 encoded JSP (with the proper encoding declarations). I can see that this is compiled into a UTF-8 Java servlet by WebLogic.
              At the compilation to a class file though, the encoding is corrupted. I guess that the Java compiler is assuming a system-encoded (which would be ISO-8859-1) Java file instead of the actual UTF-8 encoding.
              This problem did not occur with WebLogic 8.1.
              I have tried to explicitly tell the Java compiler to treat the source files as UTF-8 in weblogic.xml, i.e.
              <jsp-param>
              <param-name>compileFlags</param-name>
              <param-value>-encoding UTF8</param-value>
              </jsp-param>
              but that had no effect.
              Anyone else noticed this?
              I assume that correct behaviour is for WebLogic to preserve encoding from JSP to servlet to class file, rather than for me to set encoding in weblogic.xml. Is that correct?
              Is there a workaround?
              Thanks for any help you can offer!

    Solved
    It is about Tomcat's character encoding not about the codes..
    For more info:
    [http://wiki.apache.org/tomcat/Tomcat/UTF-8]

  • Javax.sound missing with Fedora Core 3 linux's java compiler?

    I'm running Fedora core 3, and I did a complete install(selected all the packeges). I have the java compiler that FC3 installed. I can compile most things, but I seem to be missing the sound package/folder.
    This leads to an error when I try to import the sound libraries.
    //start code
    //simple non-working example
    import javax.sound.*;
    class sounds
    //end code
    results in the error "The import javax.sound cannot be resolved"
    I am trying to run a code snippet from javaAlmanac, and of course it won't work. Today, a friend of mine had the exact same problem on a windows machine using JDK 1.5.
    I'm going to test this code out on a windows machine also.
    Are there issues with the FC3 java compiler?
    Has anyone else run into and solved this issue?
    I'm considering copying the sound folder from some other Java installation, anyone try this?
    Thanks,

    I'm pretty new at this myself. I've also installed Fedora Core 3 on an AMD 64. When I do the same uname - a I get:
    Linux localhost.localdomain 2.6.9-1.667 #1 Tue Nov 2 14:50:10 EST 2004 x86_64 x8 6_64 x86_64 GNU/Linux
    Maybe you didn't install as 64 bit ?
    I've also successfully installed Jave Runtime Environment. java -version gets me:
    java version "1.4.2_08"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
    Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
    I'd suggest installing 32 bit. I can't tell the difference when I run programmes that use 64 or 32 bits - it will be just as good.
    Eurostar

  • Netbeans & J2SDK 1.4.2 compiling problem

    I've just downloaded the Netbeans & J2SDK 1.4.2 bundle and when i go to compile my programs i get this dumb console compiling error:
    javac: invalid target release: 1.6
    Usage: javac <options> <source files>
    where possible options include:
    -g Generate all debugging info
    -g:none Generate no debugging info
    -g:{lines,vars,source} Generate only some debugging info
    -nowarn Generate no warnings
    -verbose Output messages about what the compiler is doing
    -deprecation Output source locations where deprecated APIs are used
    -classpath <path> Specify where to find user class files
    -sourcepath <path> Specify where to find input source files
    -bootclasspath <path> Override location of bootstrap class files
    -extdirs <dirs> Override location of installed extensions
    -d <directory> Specify where to place generated class files
    -encoding <encoding> Specify character encoding used by source files
    -source <release> Provide source compatibility with specified release
    -target <release> Generate class files for specific VM version
    -help Print a synopsis of standard options
    BUILD FAILED (total time: 0 seconds)
    Anyone got any ideas or solutions?
    Thanks in advance

    The best guess I can give you is that Netbeans instructs the 1.4.2 java compiler to generate 1.6 bytecode, which obviously it cannot. How that has come about, I can't tell when you say you've downloaded them as a bundle.
    I'm no Netbeans guru, and I'm afraid there are several places in Netbeans to look for a setting that would cause this. The one I can find at the moment is in the project properties, under build and compiling, there's a field for Additional Compiler Options. If that field has -target 1.6 in it, delete it. I'm looking in Netbeans version 5.5.

  • Compilation problem on solaris9  x86

    I am working on JAVA/J2EE . Am new to solaris9 . My requirement is to compile a source distribution of MOD-JK 1.2.21 (apache 2.0 server connector)and to produce binary distribution (*.so file) in solaris9 X86 box. But i got only source distribution of solaris10 X86 platform . Even with this source i tried to compile in solaris9 box its giving some error message and i can't able to make a executable file. Below i pasted the error message .
    # ./configure -with-apxs=/usr/apache2/bin/apxs
    checking build system type... i386-pc-solaris2.10
    checking host system type... i386-pc-solaris2.10
    checking target system type... i386-pc-solaris2.10
    checking for a BSD-compatible install... scripts/build/unix/install-sh -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... no
    checking for nawk... nawk
    checking whether make sets $(MAKE)... no
    checking for gcc... no
    checking for cc... cc
    checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log' for more details.
    Can any body help me in this regards. Even i don't know, am proceeding in right direction to compile this file. If any body having the binary distribution for the same MOD-JK1.2.21 on solaris9 or solaris10 X86 platform for apache2.0 . please help me to compile this file .I given below the config.log file entries also.
    Thanks in advance..........
    karthikeyan.u
    [email protected]
    AIM or AOL :: karthikeyanu
    CONFIG.log entries......
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by configure, which was
    generated by GNU Autoconf 2.59. Invocation command line was
    $ ./configure -with-apxs=/usr/apache2/bin/apxs
    ## Platform. ##
    hostname = Solaris
    uname -m = i86pc
    uname -r = 5.10
    uname -s = SunOS
    uname -v = Generic_118844-26
    /usr/bin/uname -p = i386
    /bin/uname -X = System = SunOS
    Node = Solaris
    Release = 5.10
    KernelID = Generic_118844-26
    Machine = i86pc
    BusType = <unknown>
    Serial = <unknown>
    Users = <unknown>
    OEM# = 0
    Origin# = 1
    NumCPU = 1
    /bin/arch = i86pc
    /usr/bin/arch -k = i86pc
    /usr/convex/getsysinfo = unknown
    hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /usr/openwin/bin
    PATH: /usr/ucb
    ## Core tests. ##
    configure:1546: checking build system type
    configure:1564: result: i386-pc-solaris2.10
    configure:1572: checking host system type
    configure:1586: result: i386-pc-solaris2.10
    configure:1594: checking target system type
    configure:1608: result: i386-pc-solaris2.10
    configure:1640: checking for a BSD-compatible install
    configure:1695: result: scripts/build/unix/install-sh -c
    configure:1706: checking whether build environment is sane
    configure:1749: result: yes
    configure:1814: checking for gawk
    configure:1843: result: no
    configure:1814: checking for mawk
    configure:1843: result: no
    configure:1814: checking for nawk
    configure:1830: found /usr/bin/nawk
    configure:1840: result: nawk
    configure:1850: checking whether make sets $(MAKE)
    configure:1874: result: no
    configure:2085: checking for gcc
    configure:2114: result: no
    configure:2165: checking for cc
    configure:2181: found /usr/ucb/cc
    configure:2191: result: cc
    configure:2355: checking for C compiler version
    configure:2358: cc --version </dev/null >&5
    /usr/ucb/cc: language optional software package not installed
    configure:2361: $? = 1
    configure:2363: cc -v </dev/null >&5
    /usr/ucb/cc: language optional software package not installed
    configure:2366: $? = 1
    configure:2368: cc -V </dev/null >&5
    /usr/ucb/cc: language optional software package not installed
    configure:2371: $? = 1
    configure:2394: checking for C compiler default output file name
    configure:2397: cc conftest.c >&5
    /usr/ucb/cc: language optional software package not installed
    configure:2400: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "mod_jk"
    | #define VERSION "1.2.21"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:2439: error: C compiler cannot create executables
    See `config.log' for more details.
    ## Cache variables. ##
    ac_cv_build=i386-pc-solaris2.10
    ac_cv_build_alias=i386-pc-solaris2.10
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=
    ac_cv_env_CFLAGS_value=
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_CXXCPP_set=
    ac_cv_env_CXXCPP_value=
    ac_cv_env_CXXFLAGS_set=
    ac_cv_env_CXXFLAGS_value=
    ac_cv_env_CXX_set=
    ac_cv_env_CXX_value=
    ac_cv_env_F77_set=
    ac_cv_env_F77_value=
    ac_cv_env_FFLAGS_set=
    ac_cv_env_FFLAGS_value=
    ac_cv_env_LDFLAGS_set=
    ac_cv_env_LDFLAGS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_host=i386-pc-solaris2.10
    ac_cv_host_alias=i386-pc-solaris2.10
    ac_cv_prog_AWK=nawk
    ac_cv_prog_ac_ct_CC=cc
    ac_cv_prog_make_make_set=no
    ac_cv_target=i386-pc-solaris2.10
    ac_cv_target_alias=i386-pc-solaris2.10
    ## Output variables. ##
    ACLOCAL='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run aclocal-1.9'
    AMDEPBACKSLASH=''
    AMDEP_FALSE=''
    AMDEP_TRUE=''
    AMTAR='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run tar'
    APACHE20_OEXT=''
    APACHE_CONFIG_VARS=''
    APACHE_DIR=''
    APXS=''
    APXSCFLAGS=''
    APXSCPPFLAGS=''
    APXSLDFLAGS=''
    AR=''
    AUTOCONF='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run autoconf'
    AUTOHEADER='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run autoheader'
    AUTOMAKE='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run automake-1.9'
    AWK='nawk'
    CC='cc'
    CCDEPMODE=''
    CFLAGS=''
    CP=''
    CPP=''
    CPPFLAGS=''
    CXX=''
    CXXCPP=''
    CXXDEPMODE=''
    CXXFLAGS=''
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR=''
    ECHO='echo'
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    F77=''
    FFLAGS=''
    GREP=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
    INSTALL_TYPE=''
    JAVA_HOME=''
    JK_JNI_WORKER=''
    LDFLAGS=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LIB_JK_TYPE=''
    LN_S=''
    LTLIBOBJS=''
    MAKEINFO='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run makeinfo'
    MAKE_DYNAMIC_APACHE_FALSE=''
    MAKE_DYNAMIC_APACHE_TRUE=''
    MKDIR=''
    OBJEXT=''
    OS=''
    PACKAGE='mod_jk'
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    PERL=''
    RANLIB=''
    RM=''
    SED=''
    SET_MAKE='MAKE=make'
    SHELL='/bin/bash'
    STRIP=''
    TEST=''
    VERSION='1.2.21'
    WEBSERVER=''
    ac_ct_AR=''
    ac_ct_CC='cc'
    ac_ct_CXX=''
    ac_ct_F77=''
    ac_ct_RANLIB=''
    ac_ct_STRIP=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__fastdepCXX_FALSE=''
    am__fastdepCXX_TRUE=''
    am__include=''
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    apache_include=''
    bindir='${exec_prefix}/bin'
    build='i386-pc-solaris2.10'
    build_alias=''
    build_cpu='i386'
    build_os='solaris2.10'
    build_vendor='pc'
    datadir='${prefix}/share'
    exec_prefix='NONE'
    host='i386-pc-solaris2.10'
    host_alias=''
    host_cpu='i386'
    host_os='solaris2.10'
    host_vendor='pc'
    includedir='${prefix}/include'
    infodir='${prefix}/info'
    install_sh='/export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/install-sh'
    int32_t_fmt=''
    int32_value=''
    int64_t_fmt=''
    int64_value=''
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localstatedir='${prefix}/var'
    mandir='${prefix}/man'
    mkdir_p='$(install_sh) -d'
    oldincludedir='/usr/include'
    prefix='NONE'
    program_transform_name='s,x,x,'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target='i386-pc-solaris2.10'
    target_alias=''
    target_cpu='i386'
    target_os='solaris2.10'
    target_vendor='pc'
    uint32_t_fmt=''
    uint32_t_hex_fmt=''
    uint64_t_fmt=''
    uint64_t_hex_fmt=''
    ## confdefs.h. ##
    #define PACKAGE "mod_jk"
    #define PACKAGE_BUGREPORT ""
    #define PACKAGE_NAME ""
    #define PACKAGE_STRING ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    #define VERSION "1.2.21"
    configure: exit 77

    You need to make sure the source is for the same version i.e. if you run apache 2.0.52 you need the source of 2.0.52. I successfully ran mixed installs, but I would not recommend it. You can download the required source from Apache.
    As for your compiler problem, make sure you have �/usr/ccs/bin/� in the your path, if you do not have it installed you will have to add the pkg �SUNWsprot�. You do not have 'make' in yout path.
    Make sure you have the following packages installed:
    SUNWbtool, SUNWsprot, SUNWtoo
    SUNWhea, SUNWarc, SUNWlibm, SUNWlibms
    SUNWdfbh, SUNWcg6h, SUNWxwinc, SUNWolinc,
    SUNWxglh,SUNWarcx, SUNWbtoox, SUNWdplx,
    SUNWscpux, SUNWsprox, SUNWlmsx, SUNWlmx
    SUNWlibCx, SUNWtoox, SUNWsra, SUNWsrh

  • Oracle Java Compiler 11g - JVM ERROR

    Hi Jdev Team,
    I have an issue to report,
    Sometimes when run a project and navigate through the pages, i get the following error message:
    Oracle Java Compiler 11g
    Unable to create an instance of the Java Virtual Machine
    Located at path:
    H:\jdevstudio1111\jdk\jre\bin\client\jvm.dll
    The only way to solve this is delete the settings of the Jdev and the Jdev from the PC, and install again, with the associated waste of time as consecuence. Please you can give a light to resolve this issue? Thanks
    Well i correct what i just said.
    The problem doesn´t fix, with the erase of the jdev program folder or settings folder in windows user docs and settings. What else i can do!?, out of ideas in here.
    Regards,
    Leo
    Message was edited by:
    LCJ

    Solution (workaround):
    Re: ADF table and filtering
    Pedja

  • Compiling problem

    Hello
    I using J2sdk1.4.0_02, with Windows XP and I
    have the next problem:
    A directory namely "dire" contain the files
    "A.java" and "B.java". And its sources are
    -- A.java -------------------------------------
    | |
    | package dire; |
    | |
    | public class A {                              |
    | public static void print() {               |
    | System.out.println("Hello"); |
    | } |
    | } |
    | |
    and
    -- B.java -------------------------------------
    | |
    | package dire; |
    | |
    | public class B {                              |
    | public static void main(String[] args) {  |
    | A.print(); |
    | } |
    | } |
    | |
    I compile "A.java" without problems
    (using "javac A.java" in DOS), but when
    I compile "B.java" show up the error message:
    | B.java:5: cannot resolve symbol |
    | symbol : variable A |
    | location: class dire.B |
    | A.print(); |
    | ^ |
    | 1 error |
    I think that is a configuration problem because
    I compile this clases fine with NetBeans IDE.
    Thanks.

    OK, I compile B.java using
    C:\..\source\..\dire>javac -classpath .. B.class
    but when I execute it using
    C:\..\source\..\dire>java B
    show up the error message:
    ===============================
    Exception in thread "main" java.lang.NoClassDefFoundError: B (wrong name: dire/B)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)

  • [DeployDecisionServices] Failed at Java Compilation

    Hello,
    i'm facing a problem when trying to deploy a decision service within a BPEL process. I have created some xml facts and rules with rule author. Everythings works fine also the compilation of jaxb classes and syntax check of RL output.
    When using the rule repository in a BPEL process by creating a decision service and a decide activity the deployment stops during the compilation of the jaxb classes. As mentioned the compilation of jaxb classes on cmd works fine an it seems that the compilation during the deployment works fine as well as all .class files are beeing created in PROJECT_HOME%decisionservices\DecisionService\war\WEB-INF\classes. Nevertheless deployment stops at this point and I can't get my decision service deployed.
    Any help is much appreciated !
    The ant output:
    | Deploying decision services for ruleTest on localhost, port 8888
    [deployDecisionServices] Start of deploying decision services.
    [deployDecisionServices] Deploy decision service in directory C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService
    [deployDecisionServices] Start deploying decision service from directory C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService to J2EE context /rules/test/ruleTest/1.0/DecisionService
    [deployDecisionServices] Replace placeholders in file C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\wsdl\DecisionService.wsdl
    [deployDecisionServices] Replace placeholders in file C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\wsdl\DecisionService.wsdl done.
    [deployDecisionServices] Replace placeholders in file C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\public_html\GetDecisionServiceInfo.jsp
    [deployDecisionServices] Replace placeholders in file C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\public_html\GetDecisionServiceInfo.jsp done.
    [deployDecisionServices] Start compiling fact type classes in directory C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes
    [deployDecisionServices] Compiling from shell, src=C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes, classpath=C:\product\JDev\jdev\lib\ojc.jar;C:\product\JDev\ant\lib\ant-oracle.jar;C:\product\JDev\integration\lib\orabpel.jar;C:\product\JDev\integration\lib\orabpel-ant.jar;C:\product\JDev\integration\lib\orabpel-common.jar;C:\product\JDev\integration\lib\orabpel-thirdparty.jar;C:\product\JDev\webservices\lib\orawsdl.jar;C:\product\JDev\lib\xmlparserv2.jar;C:\product\JDev\lib\xml.jar;C:\product\JDev\j2ee\home\lib\oc4j-internal.jar;C:\product\JDev\j2ee\home\lib\adminclient.jar;C:\product\JDev\integration\bpm\support\files;C:\product\JDev\jdev\lib\jdev.jar;C:\product\JDev\ant\lib\xml-apis.jar;C:\product\JDev\ant\lib\xercesImpl.jar;C:\product\JDev\ant\lib\jakarta-oro-2.0.8.jar;C:\product\JDev\ant\lib\commons-net-1.3.0.jar;C:\product\JDev\ant\lib\ant.jar;C:\product\JDev\ant\lib\ant-xslp.jar;C:\product\JDev\ant\lib\ant-xalan1.jar;C:\product\JDev\ant\lib\ant-weblogic.jar;C:\product\JDev\ant\lib\ant-vaj.jar;C:\product\JDev\ant\lib\ant-trax.jar;C:\product\JDev\ant\lib\ant-swing.jar;C:\product\JDev\ant\lib\ant-stylebook.jar;C:\product\JDev\ant\lib\ant-starteam.jar;C:\product\JDev\ant\lib\ant-oracle-adfp.jar;C:\product\JDev\ant\lib\ant-nodeps.jar;C:\product\JDev\ant\lib\ant-netrexx.jar;C:\product\JDev\ant\lib\ant-launcher.jar;C:\product\JDev\ant\lib\ant-junit.jar;C:\product\JDev\ant\lib\ant-jsch.jar;C:\product\JDev\ant\lib\ant-jmf.jar;C:\product\JDev\ant\lib\ant-jdepend.jar;C:\product\JDev\ant\lib\ant-javamail.jar;C:\product\JDev\ant\lib\ant-jai.jar;C:\product\JDev\ant\lib\ant-icontract.jar;C:\product\JDev\ant\lib\ant-commons-net.jar;C:\product\JDev\ant\lib\ant-commons-logging.jar;C:\product\JDev\ant\lib\ant-apache-resolver.jar;C:\product\JDev\ant\lib\ant-apache-regexp.jar;C:\product\JDev\ant\lib\ant-apache-oro.jar;C:\product\JDev\ant\lib\ant-apache-log4j.jar;C:\product\JDev\ant\lib\ant-apache-bsf.jar;C:\product\JDev\ant\lib\ant-apache-bcel.jar;C:\product\JDev\ant\lib\ant-antlr.jar;C:\product\JDev\jdk\lib\tools.jar
    [deployDecisionServices] Source file exists. Read Java source file names.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequest.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestType.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestTypeImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponse.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseType.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseTypeImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/ObjectFactory.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ObjectFactory.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/Zustaendig.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ZustaendigImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Compiled class(es) "C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequest.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponse.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/Zustaendig.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ZustaendigImpl.java"
    [deployDecisionServices] Error in ant execution: Java compilation failed.
    Failed to compile file(s) "C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequest.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponse.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/Zustaendig.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ZustaendigImpl.java".
    Exception reported is: C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU\GeburtsurkundeProcessRequestTypeImpl.java:39: Class GU.AntragstellerType not found.
    return (AntragstellerType) super.getElement("Antragsteller", "http://xmlns.oracle.com/Geburtsurkunde", (oracle.xml.jaxb.JaxbNode)obj, 0);
    ^
    C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU\GeburtsurkundeProcessRequestTypeImpl.java:50: Class GU.AnschriftType not found.
    return (AnschriftType) super.getElement("Anschrift", "http://xmlns.oracle.com/Geburtsurkunde", (oracle.xml.jaxb.JaxbNode)obj, 1);
    ^
    C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU\GeburtsurkundeProcessRequestTypeImpl.java:61: Class GU.BankverbindungType not found.
    return (BankverbindungType) super.getElement("Bankverbindung", "http://xmlns.oracle.com/Geburtsurkunde", (oracle.xml.jaxb.JaxbNode)obj, 2);
    ^
    3 errors
    Please verify that file C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequest.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponse.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/Zustaendig.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ZustaendigImpl.java is valid java file or if all required libraries are included in your classpath.
    classpath: C:\product\JDev\jdev\lib\ojc.jar;C:\product\JDev\ant\lib\ant-oracle.jar;C:\product\JDev\integration\lib\orabpel.jar;C:\product\JDev\integration\lib\orabpel-ant.jar;C:\product\JDev\integration\lib\orabpel-common.jar;C:\product\JDev\integration\lib\orabpel-thirdparty.jar;C:\product\JDev\webservices\lib\orawsdl.jar;C:\product\JDev\lib\xmlparserv2.jar;C:\product\JDev\lib\xml.jar;C:\product\JDev\j2ee\home\lib\oc4j-internal.jar;C:\product\JDev\j2ee\home\lib\adminclient.jar;C:\product\JDev\integration\bpm\support\files;C:\product\JDev\jdev\lib\jdev.jar;C:\product\JDev\ant\lib\xml-apis.jar;C:\product\JDev\ant\lib\xercesImpl.jar;C:\product\JDev\ant\lib\jakarta-oro-2.0.8.jar;C:\product\JDev\ant\lib\commons-net-1.3.0.jar;C:\product\JDev\ant\lib\ant.jar;C:\product\JDev\ant\lib\ant-xslp.jar;C:\product\JDev\ant\lib\ant-xalan1.jar;C:\product\JDev\ant\lib\ant-weblogic.jar;C:\product\JDev\ant\lib\ant-vaj.jar;C:\product\JDev\ant\lib\ant-trax.jar;C:\product\JDev\ant\lib\ant-swing.jar;C:\product\JDev\ant\lib\ant-stylebook.jar;C:\product\JDev\ant\lib\ant-starteam.jar;C:\product\JDev\ant\lib\ant-oracle-adfp.jar;C:\product\JDev\ant\lib\ant-nodeps.jar;C:\product\JDev\ant\lib\ant-netrexx.jar;C:\product\JDev\ant\lib\ant-launcher.jar;C:\product\JDev\ant\lib\ant-junit.jar;C:\product\JDev\ant\lib\ant-jsch.jar;C:\product\JDev\ant\lib\ant-jmf.jar;C:\product\JDev\ant\lib\ant-jdepend.jar;C:\product\JDev\ant\lib\ant-javamail.jar;C:\product\JDev\ant\lib\ant-jai.jar;C:\product\JDev\ant\lib\ant-icontract.jar;C:\product\JDev\ant\lib\ant-commons-net.jar;C:\product\JDev\ant\lib\ant-commons-logging.jar;C:\product\JDev\ant\lib\ant-apache-resolver.jar;C:\product\JDev\ant\lib\ant-apache-regexp.jar;C:\product\JDev\ant\lib\ant-apache-oro.jar;C:\product\JDev\ant\lib\ant-apache-log4j.jar;C:\product\JDev\ant\lib\ant-apache-bsf.jar;C:\product\JDev\ant\lib\ant-apache-bcel.jar;C:\product\JDev\ant\lib\ant-antlr.jar;C:\product\JDev\jdk\lib\tools.jar

    Hi Everyone,
    I've resolved the error. It was the fact that I was pointing to the wrong rmi port. I found out by typing out the "opmnctl status -l" on the command line and realised that my rmi port was 12401 instead of 23791. Hence, under the "deployDecisionServices" namespace in the build.xml file, I modified it from "rmiport="${rmiport}" to "rmiport="12401"" and deploy it and everything works. Thank you everyone for your time and efforts.
    Regards,
    John

  • Exception:: XSP Java Compiler :: Compilation failed for _index.  The compil

    Dear all
    My organization has a web cum wap site running on XML - XSL. When i uploaded a modified file it started giving me the following error
    java.lang.Exception: XSP Java Compiler: Compilation failed for
    _index.java The compiler has run out of memory. Consider using the
    "-J-mx<number>" command line option to increase the maximum heap
    size.
    The site is running on Linux platform ( with Apache, Jserv, Cocoon).
    can anybody help me to resolve this problem.
    with thanxs and regards
    Rohit Joshi
    (Mobile Application Developer)
    Globe Communication (http://www.globecommunication.net)
    Nil - 26 Malviya Nagar, Delhi, India.

    Thank you very much.
    But the as i had wrote that am using Apache, Jserv and Cocoon, my site is in XML , XSL format..i can do logical work in XML and representation in two formats one is HTML and one in WML through XSL. so only i have to make all these files and put them in to theirs respective place, htdocs. Then , as u know, it automaticaaly parsed, compiled and processed through parsers and processors provided by servers. So i don't need to compile each java file. Now u suggest me what i have to do? Is their any procedure that Cocoon Engine automaticaaly can increased this size.
    Thanxs and regards
    Rohit Joshi

Maybe you are looking for