Java included in WindowsXP?

Hi,
I don't know where to find an answerd for this simple question. Does the WindowsXP (what about Windows2000 etc. ) installation already include the environment to execute jar files (just with a double click)? I don't want that every user of my program first needs to install Java. I just have Linux, so perhaps somebody could answer this form me.

Microsoft included their JVM in Windows 2000 through SP3 and not in Windows XP. As part of their agreement with Sun, they decided to desupport it, even in Windows 2000. They will provide a removal tool.

Similar Messages

  • What Tree Data Structures does Java Include?

    Hello,
    I have been reading about several tree data structures like a binary search tree, self-balancing bst, minimum spanning tree, red-black tree, AVL tree, etc... Are there data structures in Java represent the various trees, or is implementation of the ds left to user?
    Eric

    "Java" can be termed the "Java Language". The language does not have trees.
    In more general usage "Java" can refer to a standard, desktop, delivered VM which includes the standard Java API. The types that you are asking about would be found in the following package.
    [http://java.sun.com/javase/6/docs/api/java/util/package-summary.html]
    "Java" could also refer to any other commonly available implementations. In that case probably anything that can be implemented has been implemented somewhere. Googling works.

  • Code hints don't work - include files using a variable

    In Dreamweaver CS 5.5 code hints didn't work properly.
    DW would not look at my code and find the include files and look at the functions inside them when using a variable to make an absolute path, which is the best way to include files in PHP (its faster and more reliable on your web server)
    Here is an example:
    ======================================
    public_html/util/util_index.php
    $DIR_MAIN            =dirname(dirname(__FILE__).'../');
    require_once "$DIR_MAIN/init.php";
    my_function(#CODE COMPLETE DOES NOT WORK HERE
    public_html/init.php
    $DIR_INCLUDE=               "$DIR_MAIN/inc";
    require "$DIR_INCLUDE/common_functions.php";
    #set up environment variables
    #connect to the database
    #etc
    public_html/inc/common_functions.php
    function my_function(param1, param2, param3) {
    =======================================
    Has this been fixed in Dreamweaver CS6 or should I wait until CS7?
    Until this works, I prefer Notepad++

    I made a full SQL Developer installation with Java included, so I suppose that the included version is used.
    After a problem with the German Version I tried to switch to English Version by using the hint:
    link: 1.5.4 export insert statements
    I changed the content of sqldeveloper.conf and now again the code templates (strg-shift-t) don't work!!!
    (I already rebooted and set the accelerators to default, but it didn't help now.)
    This is the content of my sqldeveloper.conf now:
    "IncludeConfFile ../../ide/bin/ide.conf
    AddVMOption -Dapple.laf.useScreenMenuBar=true
    AddVMOption -Dcom.apple.mrj.application.apple.menu.about.name="SQL_Developer"
    AddVMOption -Dcom.apple.mrj.application.growbox.intrudes=false
    AddVMOption -Dcom.apple.macos.smallTabs=true
    AddVMOption -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true
    AddVMOption -Dsun.java2d.ddoffscreen=false
    AddVMOption -Dwindows.shell.font.languages=
    AddVMOption -XX:MaxPermSize=128M
    IncludeConfFile sqldeveloper-nondebug.conf
    AddVMOption -Duser.country=US
    AddVMOption -Duser.territory=US
    AddVMOption -Duser.language=en
    "

  • Java Not Working, And Still No Answers. What Gives?

    Okay, decided to start this topic anew, since the only response I got to the other one was a post calling me "rude and impatient" (I guess that's what they're calling "persistence" nowadays..) , instead of...well...ignoring my admittedly pushy and harsh tone and actually being helpful. However, for the sake of it, I do apologize for my attitude in my last topic.
    But I digress, let's start off on a new foot, eh? On to the problem that is STILL at hand(in other words, "patience" hasn't gotten me jack, not even a "we don't know yet"):
    So last night (10 PM January 20th), the Firefox Plugin Checker said that my Java version was outdated. I also got a pop-up saying that my current version of Java at the time (Java 7 update 10) had vulnerabilities. So to try and fix this, I went to the Java page and downloaded the update (Java 7 update 11).
    To check and see if my update was working, I went to Java's check page, as well as another page I use. And here I discovered a problem. I got a notification that an old version of Java had been detected, and another prompt to download the current version (which I had already done). So I erased all versions of Java from my control panel, and tried to check it again. And when I did, I got this: http://oi50.tinypic.com/35b6xx2.jpg and http://oi47.tinypic.com/15fg37p.jpg.
    As you can see, both pages tell me that I need to install a missing plugin of some sort. So, thinking this would resolve the issue, I clicked the Install Missing Plugin button. This is what it told me was missing: http://oi45.tinypic.com/302uwbl.jpg. So I clicked next to install it.... and got this: http://oi45.tinypic.com/2cici0x.jpg, which I assume means that the plugin did not install. So I pressed Manual Install... and was lead/linked right back to the Java download page (where it all began, and what doesn't seem to be working in the first place)
    I go to check my plugins again (Just to make sure and also for extra information), and it appears to say that my Java version is current (is that what "Java Deployment Toolkit 7.0.110.21" is? I don't know, I am not good at technology at all. Either way, here is what it looks like: http://oi48.tinypic.com/4kxzz4.jpg). So...if it is current, why is it not working (i.e. I am unable to play games, DO MY COLLEGE CLASSWORK, or play Java-based games)?
    If it helps anything, here is what my control panel looks like in regards to Java right now: http://oi45.tinypic.com/2qlxu9t.jpg Am I missing anything that would make Java work?
    And before anyone says that Java is not essential: It may be that way to you, but I need Java to do classwork for college. Veterinary college.
    So, in short, what is going on with Java, and how can I fix it?
    EDITEDITEDIT: I Have found that I can do my classwork without Java. HOWEVER, this DOES NOT mean that the problem is solved or over with. I STILL WANT TO KNOW HOW TO FIX THIS PROBLEM AND GET JAVA TO WORK. Even if I never actually need it, I would still like to have a (working!!!) Java version because of two reasons: 1) I would rather have such a program and not need it, than need such a program and not have it, and 2) aesthetics. Sorry to say, but I am very particular about how things look when it comes to my belongings, and the fact that Java is messing up is making me actually stressed. In short, I still want the above issue solved, even if it's just purely for the sake of Peace Of Mind.
    Another note: I would (please!) appreciate a timely response on this matter. Even if the response is a "We don't know what the issue is and/or we are working to solve this issue.", that would satisfy me for the time being. I would just like a semi-timely response that would let me know that FF/contributors here have read the above and actually give a semblance of a care about their userbase.
    Thank You.

    '''ponyparty, '''
    The first prompt you see in Firefox to activate Java is because Java is currently on the Mozilla blocklist ( the "Hot Topic" article [[How to use Java if it's been blocked]] explains the reason for block and how to activate Java, including how to bypass the plugin activation prompt for trusted sites).
    cor-el is right about why you are seeing a second [http://oi48.tinypic.com/de8f8y.jpg Java "Security Warning"] when trying to view Java applets, that you have to click to run. This is a ''' Java''' security feature and not anything Firefox does.
    Try the same Java sites in Internet Explorer .... don't you also see the Java "Security Warning?" If you want to lower your Java security back to "Medium" in the Java Control Panel, see http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/jcp.html#security for details. That's up to you but I would leave it on "High " since Java 7 is still basically insecure, according to the reports I've seen and [https://blog.mozilla.org/security/2013/01/11/protecting-users-against-java-vulnerability/ this "Protecting Users Against Java Vulnerability]" Mozilla blog post.
    If the second Java prompt is your only remaining issue then your problem is really solved, since it is a new Java security feature and not anything in Firefox.
    Some background:<br>
    At the time I was helping you in the [https://support.mozilla.org/en-US/questions/944267 older thread you started] (now locked because you started this one) the solution to uninstall JavaFX wasn't known. On Dec 13th I wrote, ''There may be problems with Java 7 Update 10 since a number of Windows users have reported that Firefox is not detecting the plugin'' and I linked to a couple of related threads, including [http://forums.mozillazine.org/viewtopic.php?f=38&t=2628935 this MozillaZine thread], in which uninstalling JavaFX as a solution was posted 22 Dec 2012. On 25 Dec 2012 in the same MozillaZine thread, I posted a link to [https://bugzilla.mozilla.org/show_bug.cgi?id=820759#c12 this Dec 24th bugzilla comment] by an Oracle employee, who posted that uninstalling JavaFX was a solution for '''Oracle's''' Java 7 detection bug. Oracle has been working on the bug (to be fixed in an upcoming Java 7 release) and they created [https://www.java.com/en/download/help/firefox_java.xml this java.com help page], which is now included in the related MozillaZine and Mozilla Support articles on Java that I posted above.

  • How to include jar files in ant script for compiling

    i am trying to manually include j2ee.jar for compiling, here is the entire build.xml:
    <?xml version="1.0"?>
    <!--PRIMARY build file for all of dev modual -->
    <project name="com" default="compile.all" basedir="../">
    <path id="project.class.path">
    <pathelement location="lib/"/>
    <pathelement path="${java.class.path}/"/>
    <pathelement path="${additional.path}"/>
    <pathelement path="${CLASSPATH}" />
    <pathelement path="${classpath}" />
    </path>
    <property name="SRCDIR" value="${basedir}/java" />
    <property name="DSTDIR" value="${basedir}/classes" />
    <property name="LIBDIR" value="${basedir}/libs" />
    <property name="JARDIR" value="${basedir}/jars" />
    <property name="DOCDIR" value="${basedir}/docs" />
    <property name="ORACLE.JAR" value="${LIBDIR}/orcl/8.1.7/classes12.zip" />
    <property name="JUNIT.JAR" value="${LIBDIR}/junit/3.7/junit.jar" />
    <property name="CLASSPATH" value="z:/tools/java;${SRCDIR};${DSTDIR};${JUNIT.JAR};${ORACLE.JAR}" />
    <property name="POLICYFILE" value="${SRCDIR}/com/leader/cti/main/ctimain.policy" />
    <property name="DEBUG_FLAG" value="on" />
    <property name="OPTIMIZE_FLAG" value="off" />
    <property name="DEPRECATION_FLAG" value="off" />
    <property name="RMI_VERSION" value="1.2" />
    <!-- builds everything -->
    <target name="compile.all">
    <antcall target="compile.cti"/>
    </target>
    <target name="compile.vbsf" description="Compiles files for vbsf.jar.">
    <mkdir dir="${DSTDIR}"/>
    <copy file="${SRCDIR}/VBSFELK5UD3SWQ2E.class" todir="${DSTDIR}"/>
    <javac srcdir="${SRCDIR}" destdir="${DSTDIR}" classpath="${CLASSPATH}" debug="${DEBUG_FLAG}" deprecation="${DEPRECATION_FLAG}" optimize="${OPTIMIZE_FLAG}" >
    <include name="com/objectmatter/**/*.java" />
    </javac>
    </target>
    <target name="compile.persist" description="Compiles files for persist.jar." depends="compile.vbsf" >
    <javac srcdir="${SRCDIR}" destdir="${DSTDIR}" debug="${DEBUG_FLAG}" deprecation="${DEPRECATION_FLAG}" optimize="${OPTIMIZE_FLAG}" >
    <classpath refid="project.class.path"/>
    <include name="com/leader/persist/**/*.java" />
    <include name="testcom/leader/persist/**/*.java" />
    </javac>
    </target>
    <target name="compile.cti" description="Compiles files for both cti jars." depends="compile.persist,compile.cti.only" />
    <target name="compile.cti.only" description="Compiles files for both cti jars." >
    <javac srcdir="${SRCDIR}" destdir="${DSTDIR}" debug="${DEBUG_FLAG}" deprecation="${DEPRECATION_FLAG}" optimize="${OPTIMIZE_FLAG}" >
    <classpath refid="project.class.path"/>
    <include name="com/leader/cti/**/*.java" />
    <include name="testcom/leader/cti/**/*.java" />
    </javac>
    <rmic classpath="${CLASSPATH}" base="${DSTDIR}" stubversion="${RMI_VERSION}" >
    <include name="com/leader/cti/main/RMICTIService.class" />
    <include name="com/leader/cti/main/RMIConferenceCall.class" />
    <include name="com/leader/cti/main/RMIConferenceCallReservation.class" />
    <include name="com/leader/cti/main/FakeRmiCtiService.class" />
    <include name="com/leader/cti/main/FakeRmiConferenceCall.class" />
    <!--include name="com/leader/cti/main/DerivedQueueReceiver.class"/-->
    </rmic>
    </target>
    <!-- build all dev jars -->
    <target name="jar.all"
    description="Create all jar files"
    depends="jar.vbsf, jar.persist, jar.jeti, jar.service"/>
    <!-- build vbsf.jar -->
    <target name="jar.vbsf"
    description="Create client distribution jar for vbsf code"
    depends="compile.vbsf" >
    <mkdir dir="${JARDIR}" />
    <jar jarfile="${JARDIR}/vbsf.jar"
    basedir="${DSTDIR}" >
    <include name="VBSFELK5UD3SWQ2E.class"/>
    <include name="com/objectmatter/**/*.class" />
    </jar>
    </target>
    <!-- build persist.jar -->
    <target name="jar.persist"
    description="Create client distribution jar"
    depends="compile.vbsf,compile.persist" >
    <mkdir dir="${JARDIR}" />
    <jar jarfile="${JARDIR}/persist.jar"
    basedir="${DSTDIR}" >
    <include name="com/leader/persist/**/*.class" />
    </jar>
    </target>
    <!-- build jeti.jar -->
    <target name="jar.jeti"
    description="Create client distribution jar"
    depends="compile.vbsf,compile.persist,compile.cti" >
    <mkdir dir="${JARDIR}" />
    <jar jarfile="${JARDIR}/jeti.jar"
    basedir="${DSTDIR}" >
    <include name="com/leader/cti/rmiint/*" />
    <include name="com/leader/cti/main/*Stub*" />
    <include name="com/leader/cti/util/**" />
    <include name="com/leader/cti/vru/*" />
    <include name="com/leader/cti/interfaces/*" />
    <include name="com/leader/cti/history/*" />
    <include name="com/leader/cti/autodial/*" />
    </jar>
    </target>
    <!-- build jeti_service.jar -->
    <target name="jar.service"
    description="Create the jar file for the service"
    depends="compile.vbsf,compile.persist,compile.cti" >
    <mkdir dir="${JARDIR}" />
    <copy file="${basedir}/vbsf/cti.schema" tofile="${DSTDIR}/cti.schema" />
    <copy file="${basedir}/vbsf/cti.schema" tofile="/tools/java/com/leader/osapplication/persist/cti.schema" />
    <jar jarfile="${JARDIR}/jeti_service.jar"
    basedir="${DSTDIR}" >
    <include name="com/leader/cti/**" />
    <include name="cti.schema" />
    </jar>
    </target>
    <!-- build jeti.jar, jeti_service.jar -->
    <target name="jar.cti"
    description ="Create client/server jars for cti"
    depends="jar.jeti,jar.service" />
    <!-- clean everything. -->
    <target name="clean">
    <delete dir="${DSTDIR}" />
    <delete dir="${JARDIR}" />
    <delete dir="${DOCDIR}" />
    </target>
    <target name="clean.cti" description="clean cti class files (not jars)">
    <delete dir="${DSTDIR}/com/leader/cti" />
    <delete dir="${DSTDIR}/testcom/leader/cti" />
    </target>
    <!-- Run the gui CTI tests -->
    <target name="test_cti_gui">
    <java classname="junit.swingui.TestRunner" classpath="${CLASSPATH}" fork="yes">
    <arg value="testcom.leader.cti.CTIPackageTest"/>
    <sysproperty key="leader.unique_number_generator.file" value="unique_number_generator_file_test" />
    <sysproperty key="vbsf.repository" value="/tools/java/dev/vbsf" />
    <sysproperty key="vbsf.enableGlobalCaching" value="false" />
    </java>
    </target>
    <target name="test.cti.gui"
    depends="test_cti_gui" />
    <!-- Run the text version of CTI tests -->
    <target name="test">
    <java classname="junit.textui.TestRunner" classpath="${CLASSPATH}" fork="yes">
    <arg value="testcom.leader.cti.CTIPackageTest"/>
    <sysproperty key="leader.unique_number_generator.file" value="unique_number_generator_file_test" />
    </java>
    </target>
    <!-- Run CTI service -->
    <target name="run.service"
    description="run the service normally"
    depends="compile.all" >
    <java classname="com.leader.cti.main.CTIMain"
    classpath="${CLASSPATH}"
    fork="yes" >
    <sysproperty key="java.security.policy"
    file="${POLICYFILE}" />
    <sysproperty key="config.dir"
    value="${SRCDIR}/com/leader/cti/main/" />
    </java>
    </target>
    <!-- Run fake CTI service -->
    <target name="run.service.fake"
    description="run the fake service"
    depends="compile.all" >
    <java classname="com.leader.cti.main.FakeCtiMain"
    classpath="${CLASSPATH}"
    fork="yes" >
    <sysproperty key="java.security.policy"
    file="${POLICYFILE}" />
    <sysproperty key="config.dir"
    value="${SRCDIR}/com/leader/cti/main/" />
    </java>
    </target>
    <!-- Run CTI service emulator -->
    <target name="run.service.emulator"
    description="run the service normally"
    depends="compile.all" >
    <java classname="com.leader.cti.main.CTIMain"
    classpath="${CLASSPATH}"
    fork="yes" >
    <sysproperty key="java.security.policy"
    file="${POLICYFILE}" />
    <sysproperty key="config.dir"
    value="${SRCDIR}/com/leader/cti/main/" />
    <sysproperty key="vru.propertyfile"
    value="emulator.properties" />
    </java>
    </target>
    <!-- Runs the CTI service and emulator -->
    <target name="run.emulator"
    description="run the service and the emulator"
    depends="compile.all" >
    <java classname="testcom.leader.cti.vru.emulator.VRUEmulator"
    classpath="${CLASSPATH}"
    fork="yes" />
    </target>
    <!-- Runs the gui CONCALL testss -->
    <target name="run.gui"
    description="run the concall test gui"
    depends="compile.all" >
    <java classname="testcom.leader.cti.main.SwingClient"
    classpath="${CLASSPATH}"
    fork="yes" >
    <sysproperty key="java.security.policy"
    file="${POLICYFILE}" />
    </java>
    </target>
    <!-- Fires the maptool up. Defaults to CTI`s Schema file. -->
    <target name="maptool" >
    <java classname="com.objectmatter.bsf.mapping.toolgui.MapTool"
    fork="yes"
    classpath="${CLASSPATH}" >
    <sysproperty key="vbsf.repository" value="${basedir}/vbsf" />
    </java>
    </target>
    <target name="javadoc_cti">
    <mkdir dir="${basedir}/docs"/>
    <javadoc packagenames="com.leader.*" classpath="${CLASSPATH}" sourcepath="${SRCDIR}" destdir="${DOCDIR}\cti" author="true" version="true" use="true" windowtitle="Leader CTI API" doctitle="Leader Technologies, Inc" bottom="Copyright &#169; 2005 Leader Technologies Incorporated.<BR>All Rights Reserved." maxmemory="128m">
    <group title="Leader CTI Packages" packages="com.leader*"/>
    </javadoc>
    </target>
    <target name="javadoc_vbsf">
    <mkdir dir="${basedir}/docs"/>
    <javadoc packagenames="com.objectmatter.* " classpath="${CLASSPATH}" sourcepath="${SRCDIR}" destdir="${DOCDIR}" author="true" version="true" use="true" windowtitle="VBSF by ObjectMatter API" doctitle="Leader Technologie, Inc" bottom="Copyright &#169; 2005 Leader Technologies Incorporated.<BR>All Rights Reserved." maxmemory="128m">
    <group title="Objectivity Packages" packages="com.objectmatter.*"/>
    </javadoc>
    </target>
    </project>
    i am getting this:
    compile.all:
    compile.vbsf:
    compile.persist:
    compile.cti.only:
    Compiling 1 source file to C:\Projects\Leader\dev\classes
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:14: package javax.jms does not exist
    import javax.jms.*;
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:17: package javax.jms does not exist
    import javax.jms.Queue;
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:18: package javax.jms does not exist
    import javax.jms.JMSException;
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:19: package javax.jms does not exist
    import javax.jms.Message;
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:28: cannot find symbol
    symbol: class MessageListener
    public abstract class BasicMQReceiverAsyncR implements Runnable, MessageListener
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:44: cannot find symbol
    symbol : class QueueConnectionFactory
    location: class BasicMQReceiverAsyncR
    QueueConnectionFactory queueConnectionFactory = null;
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:45: cannot find symbol
    symbol : class QueueConnection
    location: class BasicMQReceiverAsyncR
    QueueConnection queueConnection = null;
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:46: cannot find symbol
    symbol : class QueueSession
    location: class BasicMQReceiverAsyncR
    QueueSession queueSession = null;
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:48: cannot find symbol
    symbol : class QueueReceiver
    location: class BasicMQReceiverAsyncR
    QueueReceiver queueReceiver = null;
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:49: cannot find symbol
    symbol : class TextMessage
    location: class BasicMQReceiverAsyncR
    TextMessage message = null;
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:406: cannot find symbol
    symbol : class QueueConnectionFactory
    location: class BasicMQReceiverAsyncR
    queueConnectionFactory = (QueueConnectionFactory)
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:408: package javax.jms does not exist
    queue = (javax.jms.Queue) jndiContext.lookup(QUEUE_NAME); //queue1 = (javax.jms.Queue)jndiContext.lookup("MyQueue1");
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:433: cannot find symbol
    symbol : variable Session
    location: class BasicMQReceiverAsyncR
    Session.AUTO_ACKNOWLEDGE);
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:447: cannot find symbol
    symbol : class JMSException
    location: class BasicMQReceiverAsyncR
    catch (JMSException e)
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:461: cannot find symbol
    symbol : class JMSException
    location: class BasicMQReceiverAsyncR
    catch (JMSException x)
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:482: cannot find symbol
    symbol : class BytesMessage
    location: class BasicMQReceiverAsyncR
    if (m instanceof BytesMessage)
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:488: cannot find symbol
    symbol : class BytesMessage
    location: class BasicMQReceiverAsyncR
    BytesMessage bytesMsg = (BytesMessage)m;
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:488: cannot find symbol
    symbol : class BytesMessage
    location: class BasicMQReceiverAsyncR
    BytesMessage bytesMsg = (BytesMessage)m;
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:501: cannot find symbol
    symbol : class QueueSession
    location: class BasicMQReceiverAsyncR
    QueueSession queueSession2 = null;
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:502: cannot find symbol
    symbol : class QueueSender
    location: class BasicMQReceiverAsyncR
    QueueSender queueSender2 = null;
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:510: cannot find symbol
    symbol : variable Session
    location: class BasicMQReceiverAsyncR
    Session.AUTO_ACKNOWLEDGE);
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:514: cannot find symbol
    symbol : class BytesMessage
    location: class BasicMQReceiverAsyncR
    BytesMessage bytesMessage = queueSession.createBytesMessage();
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:523: cannot find symbol
    symbol : variable DeliveryMode
    location: class BasicMQReceiverAsyncR
    DeliveryMode.PERSISTENT,
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:524: cannot find symbol
    symbol : variable DEFAULT_PRIORITY
    location: class com.leader.cti.vru.Message
    Message.DEFAULT_PRIORITY,
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:525: cannot find symbol
    symbol : variable DEFAULT_TIME_TO_LIVE
    location: class com.leader.cti.vru.Message
    Message.DEFAULT_TIME_TO_LIVE);
    C:\Projects\Leader\dev\java\com\leader\cti\msgqueue\BasicMQReceiverAsyncR.java:529: cannot find symbol
    symbol : class JMSException
    location: class BasicMQReceiverAsyncR
    catch (JMSException x)
    26 errors
    C:\Projects\Leader\dev\java\build.xml:34: The following error occurred while executing this line:
    C:\Projects\Leader\dev\java\build.xml:56: Compile failed; see the compiler error output for details.
    BUILD FAILED (total time: 8 seconds)
    my class path is:
    .;C:\Projects\Leader\prototype\jms\build\classes;C:\Projects\Leader\dev\libs\persist.jar;C:\Projects\Leader\dev\classes;%OPENJMS_HOME%\lib;%OPENJMS_HOME%\lib\antlr-2.7.2.jar;%OPENJMS_HOME%\lib\castor-0.9.5.jar;%OPENJMS_HOME%\lib\commons-codec-1.3.jar;%OPENJMS_HOME%\lib\commons-collections-2.1.jar;%OPENJMS_HOME%\lib\commons-dbcp-1.2.1.jar;%OPENJMS_HOME%\lib\commons-logging-1.0.4.jar;%OPENJMS_HOME%\lib\commons-pool-1.2.jar;%OPENJMS_HOME%\lib\concurrent-1.3.4.jar;%OPENJMS_HOME%\lib\derby-10.1.1.0.jar;%OPENJMS_HOME%\lib\jdbc-2.0.jar;%OPENJMS_HOME%\lib\jms-1.1.jar;%OPENJMS_HOME%\lib\jndi-1.2.1.jar;%OPENJMS_HOME%\lib\jta-1.0.1.jar;%OPENJMS_HOME%\lib\log4j-1.2.11.jar;%OPENJMS_HOME%\lib\openjms-0.7.7-beta-1.jar;%OPENJMS_HOME%\lib\openjms-common-0.7.7-beta-1.jar;%OPENJMS_HOME%\lib\openjms-net-0.7.7-beta-1.jar;%OPENJMS_HOME%\lib\openjms-tools-0.7.7-beta-1.jar;%OPENJMS_HOME%\lib\oro-2.0.8.jar;%OPENJMS_HOME%\lib\spice-jndikit-1.2.jar;%OPENJMS_HOME%\lib\xerces-2.4.0.jar;%OPENJMS_HOME%\lib\xml-apis-1.0.b2.jar;%J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib
    as you can see j2ee.jar is in %J2EE_HOME%\lib, but still doesn't work. can someone help me?

    <property name="messaging.client.jar.path" value="Location in your local drive" />
    <property name="messaging.client.jar.name" value="nameOfYourFile.jar" />

  • Abap Instance + Java Instance

    Hi people,
    In the sap netweaver 7.0 EHP1 SR1, it´s possible to make the installation firstly the abap instance (Business Warehouse), and after the installation has finished to do the installation the java instance (Enterprise portal) ?
    In the installation guide
    Installation GuideSAP NetWeaver 7.0 ABAP+Java including Enhancement Package 1 SR1 on Windows Oracle
    In the new features says that:
    New dual stack (ABAPJava) systems only for SAP NetWeaver Process Integration (PI) and SAP NetWeaver Mobile Infrastructure (MI) --> As of SAP NetWeaver 7.0 including enhancement package 1, you can install dual stack (ABAPJava) systems only with usage type Process Integration (PI) or Mobile Infrastructure (MI). This means you can only install a dual stack system either as a Process Integration system or as a Mobile Infrastructure system.
    Installation option Java Add-In for ABAP disabled --> As of SAP NetWeaver 7.0 including enhancement package 1, the installation option Java Add-In for ABAP is disabled. That is, you can no longer install the Java Add-In to an existing ABAP system.
    It´s possible??
    More thanks

    Hi Rubben,
    That's true , with New relase of SAP we cannot install abap + java execpt for PI and MI due to some performance issues.
    Even concept of java addin has been removed by SAP.
    So, IF you want to install java with Abap , then you can fullful your requirement by installing seperate java instance .
    Thanks
    Anil

  • Java Update 5 (1.0) breaks Java for Volano based chats

    I installed the Java Update 5 (1.0) for Leopard on my Intel based Mac mini and then was unable to enter Volano (Java applet) based chat rooms. I was forced to reinstall my system to revert to my prior version of System 10.5.8 in oder to be able to continue use the Java based Volano chats. The update that will NOT work states: "This release updates Java SE 6 to to version 1.6.0_1.5, J2SE 5.0 to version 1.5.0_20, and J2SE 1.4.2 to 1.4.2_22."
    According to Volano developers -
    Note that Apple calls Java 5 (version 1.5) "J2SE 5.0", while it calls Java 6 (version 1.6) "Java SE 6". I think I finally have the following chart correct:
    J2SE 5.0 = Java 5 (version 1.5)
    - Available as 32-bit and 64-bit packages in Leopard
    - Removed in Snow Leopard
    Java SE 6 = Java 6 (version 1.6)
    - Available only as 64-bit packages in Leopard
    - Available as 32-bit & 64-bit packages in Snow Leopard
    In Leopard, the 32-bit Safari can run Java applets only with the 32-bit
    J2SE 5.0 support. To run applets using Java SE 6, you need to bypass
    Safari using the "appletviewer" Terminal command in Leopard, or upgrade
    to Snow Leopard where Safari can run Java SE 6.
    Volano says the possible work arounds for Leopard users (10.5.8( are:
    According to what I've read, if you have a 64-bit capable Intel processor (i.e., an Intel Core 2 Duo), the software update that you removed should have given you 64-bit Java SE 6 even on Mac OS X Leopard (10.5). Java SE 6 works fine with the VOLANO applets, but unfortunately the Safari browser that runs the applets is only 32-bit on Leopard, so applets in Safari still run with the 32-bit Java SE 5 instead of the 64-bit Java SE 6.
    So you have three options to solve the problem -- two free options (one rather easy, one more difficult), and one easy non-free option.
    (1) The Free and Relatively Easy Option
    If you have an Intel Core 2 Duo processor (not a Core Solo or Core Duo), you can install all the software updates from Apple so that you'll have the 64-bit Java SE 6.
    About Java for Mac OS X 10.5 Update 2 http://support.apple.com/kb/HT2733 "Java SE 6 is available on 64-bit, Intel-based Macs only."
    You would then modify your Java Preferences so that Java SE 6 is chosen first for the Java Application Runtime settings. You can verify the modified setting by running the following "java -version" command from the Terminal application (Finder > Applications > Utilities > Terminal):
    $ java -version
    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
    Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode)
    There are some more detailed instructions here:
    Install Java 6 on Mac OS X Leopard
    http://gephi.org/users/install-java-6-mac-os-x-leopard/
    Then you can bypass Safari and run the applet directly in the 64-bit Java SE 6 using the "appletviewer" command in Terminal. For example:
    $ appletviewer http://www.actionchat.com/chat/english.shtml
    You just put the URL of the page containing the VOLANO chat applet you want to load. I just tried it on my system, and it works fine. You bypass Java SE 5, which is broken for the VOLANO applets, and you bypass Safari, which cannot run the 64-bit Java SE 6. Instead, you run the VOLANO applet using your Java SE 6 directly!
    (2) The Free and Not-So-Easy Option
    You can download and install SoyLatte as an alternative to the Apple Java VM for your Mac OS X Leopard system.
    SoyLatte: Java 6 Port for Mac OS X 10.4 and 10.5 (Intel)
    http://landonf.bikemonkey.org/static/soylatte/
    I have not tried SoyLatte on my iMac, though.
    (3) The Best but Non-Free Option
    For only $29, you can upgrade your system to the latest Snow Leopard and get both the 32-bit and 64-bit Java SE 6 along with a Safari Web browser that works with Java SE 6 for running applets!
    Mac OS X 10.6 Snow Leopard
    http://store.apple.com/us/product/MACOS_XSNGL
    I hope this information is of help to any Leopard users having trouble with the latest Java update.

    Thanks for the suggestion.
    Please bear in mind that this issue, presumably introduced by Apple's own update, affects not only the command line java interpreter but any other app that depends on Java (including some GUI apps). So it perhaps fits the larger scope of Leopard instead of the Unix area.
    Message was edited by: bhapca

  • Oracle Rules: Adding Java Facts - not showing up in list.

    I am having trouble with adding my own Java classes to the Java Facts. I find the class in the list of classes, tick it, and hit "Ok". When I come back to the list of Java Facts, the class has not been added to the list. And no error message is displayed.
    I am able to add default classes under packages java, javax and org.
    My Java-classes are located here: ...\MyProject\SCA-INF\classes\packageName
    The .rules-file is located here: ...\MyProject\oracle\rules\packageName
    What can be the reason for this?

    I just had a similar issue and I ended having to manually clean up the registry to get Java working again.
    I just got a new computer at work and it had Java 7 installed but it turns out an app we need to use at work doesn't work with Java 7, only Java 6.
    I uninstalled Java 7 and installed Java 6 but Firefox was not showing the Java plugin as installed. I tried all sorts of things, including uninstalling and reinstalling Firefox and none of it worked. Finally I again uninstalled Java and then I searched for "Java" in the registry and found TONS of entries still in there for Java, including for Java 7. I manually deleted all the entries (WARNING: this is extremely risky) rebooted, then installed Java 6 and now it's working fine.
    I really hate it when uninstallers leave stuff behind. It just makes a mess.

  • How to include alt tags in Javascript

    how do I get the javascript in my navigation menu to be read from an external file (java include)?
    I've never learned how to create an external file so I'm a little hazy on how to accomplish this task.
    Thanks!
    Lynn

    Hi! Thanks for attempting to answer my question...frankly I'm not sure what I'm asking.
    My pages are coldfusion (.cfm) and I have two javascript areas on the page where there is a navigation menu and a set of swapping .swf files. what I believe my graphic department is asking me to do is to create a file in my includes folder that will provide the scripting for the menu and will include the alt tags for each of the items on the naviation menu.
    Not a friggin' clue on how to accomplish this...so I'm looking for a tutorial or tutor. the website is www.calibresys.com
    Thanks!
    Lynn

  • Does JRE 1.6 include a built-in SQL database?

    I'm investigating the creation of a custom Java database application that's intended to run on multiple systems, particularly Windows and Macs.
    I'd like to store and retrieve my data using SQL, rather than as flat files. At the same time, I'd also like to minimize the number of jar files required by the application.
    I've used JDBC to talk to external SQL databases; the programming part is not an issue. The question is whether I'm forced to obtain an external DB server (such as MySQL), which increases the cost and installation complexity of my app, or if Java includes an interface to built-in SQL or SQL-like database server.
    I'm thinking I already know what the answer to this is going to be, but no harm in checking.
    Thanks!

    The installs from Sun for linux, solaris and windows contains Derby. It is not part of the Java API so you still must put it in the class path.
    Apparently for some reason the Mac 1.6 version doesn't include it.
    Not really all that much of a problem because Derby is free and a new version was just released. That at least might suggest using that instead of the Sun one anyways. Derby is from the Apache site.
    There are at least a couple of other embedded databases as well.
    Finally there is a JDBC forum where these sorts of questions are probably better asked.

  • Authorization best practices in AS Java

    I have been assigned the responsibility to create an authorization structure on the java stack.
    We would like to create groups with corresponding roles for developers and system administrators.
    Are there any best practices out there regarding this subject?
    I have currently started with looking at the standard actions and roles available in EP and will start from there, any other ideas?

    Dear Colleague,
    SAP NetWeaver Application Server (AS) Java includes the [identity management|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/5069e9d6253912e10000000a42189b/frameset.htm] application for administration of users, groups, and roles. This [section|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ad6a169eff35b7e10000000a42189d/frameset.htm] lists administrative tasks, general and specific, for the management of users, groups, and roles.
    Regards
    Alvaro Raminelli

  • HELP: java.lang.UnsatisfiedLinkError: no ... in java.library.path

    am the beginner of JNI. I write a test program to use C code in JAVA.
    [yxz155@lionxo JAVAaC]$ ls
    AClassWithNativeMethods.java theNativeMethod.c
    [yxz155@lionxo JAVAaC]$ javac AClassWithNativeMethods.java
    [yxz155@lionxo JAVAaC]$ javah -jni AClassWithNativeMethods
    [yxz155@lionxo JAVAaC]$ ls
    AClassWithNativeMethods.class AClassWithNativeMethods.java
    AClassWithNativeMethods.h theNativeMethod.c
    [yxz155@lionxo JAVAaC]$ gcc -c -fPIC -I/usr/global/java/include -I/usr/global/java/include/linux theNativeMethod.c
    [yxz155@lionxo JAVAaC]$ ls
    AClassWithNativeMethods.class AClassWithNativeMethods.java theNativeMethod.o
    AClassWithNativeMethods.h theNativeMethod.c
    [yxz155@lionxo JAVAaC]$ ld -G theNativeMethod.o -o libJCI.so -lm -lc -lpthread
    [yxz155@lionxo JAVAaC]$ ls
    AClassWithNativeMethods.class AClassWithNativeMethods.java theNativeMethod.c
    AClassWithNativeMethods.h libJCI.so theNativeMethod.o
    [yxz155@lionxo JAVAaC]$ java AClassWithNativeMethods
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no CJI in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:992)
    at AClassWithNativeMethods.<clinit>(AClassWithNativeMethods.java:9)
    [yxz155@lionxo JAVAaC]$
    The codes are as follows, I tried setProperty() as in java program, but it did not work. I also tried set LD_LIBRARY_PATH and it did not work either.
    //AClassWithNativeMethods.java
    import java.io.File;
    import java.lang.System;
    public class AClassWithNativeMethods{
    public native void theNativeMethod();
    static {
    //System.setProperty("java.library.path",System.getProperty("java.library.path")+ File.pathSeparator+"/home2/yxz155/JAVAaC");
    //System.out.println(System.getProperty("java.library.path"));
    System.loadLibrary("CJI");
    public static void main(String[] args){
    AClassWithNativeMethods test = new AClassWithNativeMethods ();
    test.theNativeMethod();
    // theNativeMethod.c
    #include <stdio.h>
    #include "AClassWithNativeMethods.h"
    JNIEXPORT void JNICALL Java_AClassWithNativeMethods_theNativeMethod
    (JNIEnv *env, jobject obj){
    printf("Hello~~~~");
    //AClassWithNativeMethods.h
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include <jni.h>
    /* Header for class AClassWithNativeMethods */
    #ifndef IncludedAClassWithNativeMethods
    #define IncludedAClassWithNativeMethods
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class: AClassWithNativeMethods
    * Method: theNativeMethod
    * Signature: ()V
    JNIEXPORT void JNICALL Java_AClassWithNativeMethods_theNativeMethod
    (JNIEnv *, jobject);
    #ifdef __cplusplus
    #endif
    #endif

    Hi all,
    I am getting the error in jdk 5:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: getObjectSize0
    at sun.instrument.InstrumentationImpl.getObjectSize0(Native Method)
    at sun.instrument.InstrumentationImpl.getObjectSize(InstrumentationImpl.java:97)
    at ObjectSizeEstimator.main(ObjectSizeEstimator.java:25)
    while executing the following code:
    public class ObjectSizeEstimator {
    static {
    System.loadLibrary("instrument");
    public static void main(String[] args) throws Exception {
    Constructor ctor = InstrumentationImpl.class
    .getDeclaredConstructor(new Class[] { long.class, boolean.class });
    ctor.setAccessible(true);
    Instrumentation inst = (Instrumentation) ctor.newInstance(new Object[] {
    Long.valueOf(0L), Boolean.TRUE });
    System.out.println(inst.getObjectSize(new Object()));
    "getObjectSize0" is the native method. All of my classpath setting is in place. Can Anybody tell me why i am getting this error.
    Thanks in advance....:)

  • I know how to program in java(Should I learn c, c++?)

    I know how to program in java. I want to be able to communicate with the hardware on my pc. I also hear that C, C++ is a lower level than java. Lower level meaning it can communicate with the hardware. I know java is very portable could do interfacing and could do so many things with the java programming language. I find the java programmig language cool. Now when I read about the JNI(java native interface) I think I could communicate with methods from java to functions in c++. I want to learn c++ and use it with JNI.
    Posting this topic because I want to be sure about what I'm doing.
    Thanks
    George

    in fact, memory management is the main pitfall in C++ programming. The following may give you a few headaches:
    - destructors
    - header files which try to include eachother
    - "memory access violation"
    - templates (upcoming java includes generics, which is similar)
    - pointers
    If you can overcome the above problems, you'll find that c++ is much like Java, only a bit more low-level. Accessing hardware directly however is quite a challenge (espescially under Windows which doesn't allow direct access for as far as I know), but not impossible. I don't know exactly, but I think it involves developing a small driver layer.
    It's to bad you learnt Java before C++, the other way around would have been much easier.

  • I would like to ask a few things since i`m new with java

    i would like to know if anyone can help me with a few things:
    1)With which method does java get the ip address of the web user that visits the web page in which my applet will be posted?
    2)Does java include charts like the ones excel does?Specificly does java include the pie chart?
    3)How difficult is it to connect a database with my applet?
    4)Can i store applets in a database?

    i would like to know if anyone can help me with a few
    things:
    1)With which method does java get the ip address of
    the web user that visits the web page in which my
    applet will be posted?it can't
    2)Does java include charts like the ones excel
    does? Specificly does java include the pie chart?You can use JChart, FreeChart or Graphics.drawArc() to do your own
    3)How difficult is it to connect a database with my
    applet?In a word: tricky
    4)Can i store applets in a database? What?!?
    I think you need to do a crash course in JSP/Servlets, by the sounds of things you're about to embark on a whole heap of frustration if you use applets for this. Step one in any project, get the right tool for the right job

  • Invoke Java in separate shell

    I have my invocation code from C++ side. Here, I trigger a method t_methodName in pPathToJar. Lets say the invoked jar executable is a simple "HelloWorld.jar" and just prints "HelloWord" in the console. Everything works properly!
    [JAVA]#include <jni.h>
    #include "ExternJar.h"  
    #pragma comment (lib,"C:\\Program Files\\Java\\jdk1.6.0_26\\lib\\jvm.lib")  
    /// Constructor
    ExternJar::ExternJar(const char* pPathToJar, const char* pPathToLib, const char *t_argv, const char *t_path2Package, const char* t_methodName)
        int oi = 0;
        options[oi++].optionString = const_cast<char*>(pPathToJar);
        vm_args.nOptions = oi;
        vm_args.version = JNI_VERSION_1_6;
        vm_args.options = options;
        vm_args.ignoreUnrecognized = JNI_FALSE;
          argumentString = t_argv;
        path2Jar = pPathToJar;
        path2Lib = pPathToLib;
        packagePath = t_path2Package;
        methodName = t_methodName;
        debugMode = 0;
    void ExternJar::setClassName()
          switch(JNI_CreateJavaVM( &jvm,(void **)&env, &vm_args)) {
           case JNI_OK:          printf("\nJVM created --> Ready ...\n");   
          if( NULL == (cls = env->FindClass(packagePath)) ) printf("\nCan't find class %s\n", packagePath);
          else printf("\nClass %s found!\n", packagePath);
    void ExternJar::setArgCV()
        if (!argumentString) return;
        this->applicationArg0 = env->NewStringUTF(argumentString);
        this->applicationArgs = env->NewObjectArray(1, env->FindClass("java/lang/String"), applicationArg0);
        env->SetObjectArrayElement(applicationArgs, 0, applicationArg0);
    void ExternJar::setMethodName() {
        mid = env->GetStaticMethodID(cls, methodName, "([Ljava/lang/String;)V");
        printf("\nMethod name set to: %s", methodName);
    void ExternJar::callXMethod()
           printf("\nCall now \n%s(\"%s\"):", methodName, argumentString);
           if (mid != NULL) env->CallStaticVoidMethod(cls, mid, applicationArgs);
           else printf("\nMethod %s corrupted!\n", mid);
    JavaVM * ExternJar::getVM() {    return this->jvm; }
    void * ExternJar::getEnv() {    return this->env; }
    bool ExternJar::destroyVM()
        printf("\nDestroy VM now!");
        if ( this->getVM()->DestroyJavaVM() == 1 ) return true;
        else return false;
    void ExternJar::run()
        this->setClassName();
        this->setArgCV();
        this->setMethodName();
        this->callXMethod();
    } [JAVA]
    My problem is: When I invoke any jar from C++ side, it is executed in the same commandline-window as my invoking C++-Project.
    I would like to invoke that jar in a separate cmd.exe.
    Is there any possibility by JNI side?
    I hope you understood what I was trying to make clear. Thank you.
    Cheers Huck

    Yes, I can trigger in Qt:
    QString program = "C:/Program Files/Java/jdk1.7.0/bin/java.exe";
    QStringList arguments;
    arguments << "-jar C:\\Path\\external.jar -m more_switchs"; 
    QProcess *myProcess = new QProcess();
    myProcess->start(program, arguments); But I was hoping that there was a JNI specific thing as:
    ExternJar::ExternJar(const char* pPathToJar, const char* pPathToLib, const char *t_argv, const char *t_path2Package, const char* t_methodName)
    //.... and then something like
       vm_args.newProcess = JNI_TRUE;
    }

Maybe you are looking for

  • Error message when savinig template file

    Hello there, Hope you can help -  i was originally having problems with my Spry menu bar but thanks to 'Gramps' that is now fixed. Now when saving my template filet is reports: There is an error at line 169, column 17 (absolute position 6487) of temp

  • Any way to bypass iPhone backup so I can upgrade to 2.1?

    I'm really looking forward to upgrading my iPhone to 2.1, but in order to upgrade it has to backup the iPhone first. It's been running for an hour now and the progress bar has barely moved! At this pace it'll take at least 10 hours to backup! And if

  • Difference between FS10N

    Hi I am having a doubt, when we see the report in FS10N & FAGLB03 both were showing same in the summary, if we go through the line item of that both the reports showing a different balances why. Thanks in advance

  • Domain - Need Help Finding It!

    I was getting error messages and thought that I might have to install a new copy of iWeb. So, I removed my site from Application Support>iWeb and placed it on my desktop. Later, I put it back in there, but now it isn't there. There is just an empty s

  • Since I switched to Firefox 5.0, my Bejeweled Blitz game is running very slowly!! Is Firefox 5.0 the problem???

    I have tried to get help on Bejeweled Blitz site but no answer. Could the Firefox 5.0 be incompatible with the Bejeweled Blitz game on Facebook??