OR [ | ]  ---  Additions to Java?

Would it be difficult to add a new sytax for conditional statements? Say for example you had the following condition:
if( (m_Names.charAt(0))== 'c' )
do something...
Now what if you wanted to also check for A, C, ... without using regex. Why can't we place a comma, semicolon, or a | after each char or String..., Instead of if( (m_Names.charAt(0))== 'c') || (m_Names[i].charAt(0))== 'C')):
if( (m_Names.charAt(0))== 'c'; 'C'; 'A') )
do something...
--- OR ---
if( (m_Names.charAt(0))== 'c' | 'C' || 'A') )
do something...
Or place a regex pattern in place of the chars:
if( (m_Names.charAt(0))== [a-Z]) )
do something...

]Now what if you wanted to also check for A, C, ...
without using regex. Why can't we place a comma,
semicolon, or a | after each char or String...,
Instead of if( (m_Names.charAt(0))== 'c')
|| (m_Names.charAt(0))== 'C')):
if( (m_Names.charAt(0))== 'c'; 'C'; 'A') )
do something...
That would be syntactic hell. Have a look at this if your proposal would
have been possible:boolean foo;
if (true)
foo= chr == a;b;c;
Now what should the compiler do?
kind regards,
Jos

Similar Messages

  • Byte addition in java....problem!

    Hello:
    I am trying to calculate the 16bit checksum for an array of bytes that I have.....for some reason it doesnt work, the same code works just fine in C and C++......i am sure this has to do with the representation of data in java......any comments would be great.
    Note: pucInBuffer <======== byte[]
    the code is .................
    int iExpectedChecksum = 1500;
    int iCalculatedCheckSum = 0;
    int iStart = 1;
    for(i = iStart; i <= iEnd; i++)
    iCalculatedCheckSum = iCalculatedCheckSum + arg_pucInBuffer;
    end of code .......................
    this never seems to work, what I am doing wrong? the number I get out always wrong, it never matches the 16bit number that suppose to come out. I even did a mask on the upper two bytes of the iCalculatedCheckSum , still didnt work.......
    any ideas?
    thanx

    Hardware doesn't support adding an 8 bit value and a 32 bit value. When Java does a binary operation like addition, both operands must be of the same type. The rules for this are in section 5.6.2 of the JLS at http://java.sun.com/docs/books/jls/second_edition/html/jTOC.doc.html
    C and C++ do the same thing. The difference is that you were probably using unsigned char for your byte values. Those always get converted to positive ints before the addition.

  • Addition in Java bits, bytes and shift

    Hi,
    I have a byte array consisting of 8 bit values in each cell.
    When I do an addition of two cells - which gives me a 16 bit result I use the following:
    Integer a = (int) (arr[value] & 0xff);
    a = a << 8;
    Integer b = (int) (arr[secondValue] & 0xff);
    Integer c = a + b;This seems to work fine. My question is how would I add 3 (24 bit result) or 4 (32 bit result) cells.
    Would the following work: 24 bit result
    Integer a = (int) (arr[value] & 0xff);
    a = a << 16;
    Integer b = (int) (arr[secondValue] & 0xff);
    Integer c = (int) (arr[thirdValue] & 0xff);
    Integer d = a + b + c;I am not sure if I have got the shift (<<16) usage correct or if it should be used in order to obtain the variables b or c.
    All help appreciated.

    khublaikhan wrote:
    Just to confirm for 32 bit it would be:
    // 32-bit
    int a = (int)(arr[value] & 0xff);
    int b = (int)(arr[secondValue] & 0xff);
    int c = (int)(arr[thirdValue] & 0xff);
    int d = (int)(arr[fourthValue] & 0xff);
    int e = (a<<24) + (b<<16) + (c<<8) + d;
    Integer eInt = new Integer(e);
    Actually, the more I think about it, you may need to use longs instead of ints for 32-bit (not 16- or 24-bit though). It depends on what your data actually is. If you're expecting your 32-bit number to be an unsigned integer, then you'd better go with long. This is because in Java, ints utilize two's complement, so if the high-order byte you read in for a 32-bit value is very large, the resulting int will be interpreted by Java as a negative number instead of the large positive value you expect.
    I'm probably not being very clear. Check out http://en.wikipedia.org/wiki/Two's_complement for the details.
    In other words, if you wanted to get 32-bit values in this way, and the computed values are expected to be non-negative integers, use this:
    // 32-bit
    int a = (int)(arr[value] & 0xff);
    int b = (int)(arr[secondValue] & 0xff);
    int c = (int)(arr[thirdValue] & 0xff);
    int d = (int)(arr[fourthValue] & 0xff);
    long e = (a<<24) + (b<<16) + (c<<8) + d;
    Long l = new Long(e);If you're actually reading in a 32-bit, two's complement value, then keep using int like you originally posted.

  • Any latest addition regarding java.sql.Date

    I have separate strings "10/21/2003" and "02:33:27".
    Just to convert String "10/21/2003" to sql date, do I really need to call up simple date format and parsing it?
    why? there is no time associated with this string. The time is on a separate string.
    I am using preparedstatement.

    Did I do unnecessary steps in getting to sql.Date ?
    String sDate = "10/16/2003";
    String sTime = "02:12:54:;
    String year = sDate.substring(6,9);
    String month = sDate.substring(0,1);
    String day = sDate.subst....
    String sDateNew = year + "-" + month + "-" + day;
    // the string becomes 2003-10-16.
    java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy-MM-dd");
    java.util.Date uDate = sdf.parse(sDateNew);
    long time = uDate.getTime();
    java.sql.Date sqlDate = new java.sql.Date(time);
    pstmt.setDate(i, sqlDate);
    It works, but did I put in extra steps ?
    I tried using the same trick for sTime, but that did not work out.

  • [DONE] Suggested addition to Java Package Guidelines

    In the Java Package Guidelines there are shell scripts that run the java jar or class file. Shouldn't the $@ be added as a parameter, to feed parameters to the java application?
    For instance, I wrote the following for Logisim:
    #!/bin/sh
    "$JAVA_HOME/bin/java" -jar '/usr/share/java/logisim/logisim.jar' $@
    Last edited by Marcel- (2014-04-11 10:32:43)

    If you change that, I suggest to add an "exec", too. We don't need a useless shell in the background, right?
    #!/bin/sh
    exec "$JAVA_HOME/bin/java" -jar '/usr/share/java/logisim/logisim.jar' $@
    Incidentally, I'm not sure what the current policy on hashbangs is (#!/usr/bin/sh?, indifference?).
    I believe "/bin/sh" is required by POSIX and must provide a POSIX compliant shell, so /bin/sh is the portable hashbang. If you want bash, usr /usr/bin/bash I guess.
    Last edited by progandy (2014-04-09 23:14:10)

  • XI 3.0: Additional libraries for mapping program

    Hello,
    I got the scenario that the program within my Interface Mapping is making use of additional custom java resources (jar's).
    I know that in XI 2.0 I had to put these additional libraries into the directory:
    ..\j2ee\cluster\server\additional-lib
    and register them in the files:
    ..\j2ee\cluster\server\managers\library.txt and
    ..\j2ee\cluster\server\managers\reference.txt
    Now in XI 3.0 I don't have these folders and files anymore. Therefore I simply imported the jar files into the repository...But I do neiter know wether that is the right way at all for registering additional libs in XI 3.0 nor I don't know if I have to import them into the same software component or namespace then the mapping program.
    Does anybody know how to make use of additional libraries within a XI 3.0 Stack 5 landscape? I would very much appreciate any recommendations on that!
    Kind regards,
    Sven Lattermann

    Hi Advait,
    From the below what I understand is that you are not able to do value mapping for the follwoing
    1     A
    2     A
    3     B
    As value mapping allow one to one mapping only. Please do it like as mentioned below
    1     1*A
    2     2*A
    3     3*B
    Then in the graphical mapping of Integration Repository do the mapping for the same as shown below
    source field > VALUEMAPPING> UDF--> TARGET Field
    In UDF suppress the value of  1* , 2* , 3* which can be done as follows
    create one UDF with one input field
    //write the code as below to suppress the field
    return input.substring(2);
    Here the davantage of using 1* , 2* , 3* etc is that you have the option to use value mapping for 100 values which I think is not normally the case for any Interface.
    If you have same source you can do the same thing for that.
    Hope this helps you to resolve your query.
    Thanks & Regards
    Prabhat

  • Oracle.apps.fnd.wf.bes.InvokerException: java.lang.ClassCastException

    Dear all expert,
    We are trying to use BES to invoke external webservice, and get the java class cast exception, anybody can help us please?
    steps:
    1. we need to call a webserivce with following wsdl :
    <?xml version="1.0" encoding="UTF-8" ?>
    - <wsdl:definitions name="BizStringWebServiceSkeletonService" targetNamespace="www.wisdom.sh.cn" xmlns:ns1="http://cxf.apache.org/bindings/xformat" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="www.wisdom.sh.cn" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <xsd:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="www.wisdom.sh.cn" xmlns:tns="www.wisdom.sh.cn" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="xfire" type="tns:xfire" />
    - <xsd:complexType name="xfire">
    - <xsd:sequence>
    <xsd:element minOccurs="0" name="arg0" type="xsd:string" />
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="xfireResponse" type="tns:xfireResponse" />
    - <xsd:complexType name="xfireResponse">
    - <xsd:sequence>
    <xsd:element minOccurs="0" name="return" type="xsd:string" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </wsdl:types>
    - <wsdl:message name="xfire">
    <wsdl:part element="tns:xfire" name="parameters" />
    </wsdl:message>
    - <wsdl:message name="xfireResponse">
    <wsdl:part element="tns:xfireResponse" name="parameters" />
    </wsdl:message>
    - <wsdl:portType name="BizStringWebService">
    - <wsdl:operation name="xfire">
    <wsdl:input message="tns:xfire" name="xfire" />
    <wsdl:output message="tns:xfireResponse" name="xfireResponse" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:binding name="BizStringWebServiceSkeletonServiceSoapBinding" type="tns:BizStringWebService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="xfire">
    <soap:operation soapAction="" style="document" />
    - <wsdl:input name="xfire">
    <soap:body use="literal" />
    </wsdl:input>
    - <wsdl:output name="xfireResponse">
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:service name="BizStringWebServiceSkeletonService">
    - <wsdl:port binding="tns:BizStringWebServiceSkeletonServiceSoapBinding" name="BizStringWebServiceSkeletonPort">
    <soap:address location="http://192.168.50.145:8080/wsdframework/services/biz/bizStringService.ws" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    it works fine when using the SOAPUI to test with payload:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wis="www.wisdom.sh.cn">
    <soapenv:Header/>
    <soapenv:Body>
    <wis:xfire>
    <arg0>100</arg0>
    </wis:xfire>
    </soapenv:Body>
    </soapenv:Envelope>
    2. we create a business event and subscription to invoice above webservice
    3. when we try to test this business event with RAISE in PL/SQL given event data (Write XML) as the same from soapui:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wis="www.wisdom.sh.cn">
    <soapenv:Header/>
    <soapenv:Body>
    <wis:xfire>
    <arg0>100</arg0>
    </wis:xfire>
    </soapenv:Body>
    </soapenv:Envelope>
    or :
    <ns1:xfire xmlns:ns1="www.wisdom.sh.cn">
    <arg0>100</arg0>
    </ns1:xfire>
    or:
    <xfire xmlns="www.wisdom.sh.cn">
    <arg0>100</arg0>
    </xfire>
    it both get error out:
    Error Message oracle.apps.fnd.wf.bes.InvokerException: java.lang.ClassCastException: org.apache.wsif.schema.ElementType cannot be cast to org.apache.wsif.schema.ComplexType
    Error Stack oracle.apps.fnd.wf.bes.InvokerException: java.lang.ClassCastException: org.apache.wsif.schema.ElementType cannot be cast to org.apache.wsif.schema.ComplexType at oracle.apps.fnd.wf.bes.WebServiceInvokerSubscription.invokeService(WebServiceInvokerSubscription.java:645) at oracle.apps.fnd.wf.bes.WebServiceInvokerSubscription.onBusinessEvent(WebServiceInvokerSubscription.java:241) at oracle.apps.fnd.wf.bes.EventDispatcher.executeSubscription(EventDispatcher.java:870) at oracle.apps.fnd.wf.bes.EventDispatcher.processSubscription(EventDispatcher.java:556) at oracle.apps.fnd.wf.bes.EventDispatcher.dispatch(EventDispatcher.java:335) at oracle.apps.fnd.wf.bes.AgentListenerProcessorNew.processMessage(AgentListenerProcessorNew.java:373) at oracle.apps.fnd.cp.gsc.SvcComponentProcessor.process(SvcComponentProcessor.java:659) at oracle.apps.fnd.cp.gsc.Processor.run(Processor.java:283) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassCastException: org.apache.wsif.schema.ElementType cannot be cast to org.apache.wsif.schema.ComplexType at org.apache.wsif.util.WSIFUtils.findComplexType(WSIFUtils.java:1438) at org.apache.wsif.util.WSIFUtils.unWrapPart(WSIFUtils.java:1387) at com.oracle.oc4j.wsif.providers.jaxrpc.WSIFOperation_JaxRpc.unwrapSOAPParts(WSIFOperation_JaxRpc.java:920) at com.oracle.oc4j.wsif.providers.jaxrpc.WSIFOperation_JaxRpc.prepare(WSIFOperation_JaxRpc.java:1909) at com.oracle.oc4j.wsif.providers.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1383) at com.oracle.oc4j.wsif.providers.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1177) at oracle.apps.fnd.wf.bes.WebServiceInvokerSubscription.invokeService(WebServiceInvokerSubscription.java:622) ... 8 more
    Any idea with what kind of event data should I give with this webservice call?
    Many thanks!
    Edited by: 929871 on 2013-2-19 下午11:58

    Hello,
    I suiggets you're using MSIE
    The Microsoft Java Machine has some differents with standart Sun JVM, so the "Diagram" applet doesn't work
    Install the Sun Java SDK v 1.4.1 or high. You may get it from http://java.sun.com
    Check the box "Use Java2 v.1.4...."
    in your IE: Tools->Properties->Addition properties->Java(Sun)

  • Memory Leak (may be) in Java 2D

    Hi,
    I am using a Java in an application that continuously reads data from a source and draws them on the screen. Everything runs fine as long as I stick to basic lines for drawing the graphs and it does not matter how many windows of the application is open. As soon as I start using dashed lines using BasicStroke - it starts consuming memory at a ridiculous rate (goes from 20M to 100M in about 20 seconds). Any idea where this leak might be coming from and how to fix this ? I have tried using dispose () all over the place but has not worked so far. Even System.gc() everytime in the paintComponent() of the the JPanel doing all the painting does not seem to do much good.
    Thanks in advance to anyone who replies.
    -Hassan.

    Here is a more concrete example of what I am talking about - try running the following example with and without the g2.setStroke() line in method NewPanel.paintComponent() commented out and look at the memory usage and speed:
    import java.io.*;
    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.io.*;
    import java.util.*;
    public class TestMU extends JFrame {
    public TestMU(){
         super();
    addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
              System.exit(0);
         getContentPane().add(new NewPanel());
    public static void main (String argv []){
         TestMU gu = new TestMU();
    gu.setSize(new Dimension(550,700));
    gu.setVisible(true);
    class NewPanel extends JPanel{
    public NewPanel(){
         super();
    public void paintComponent(Graphics g){
         super.paintComponent(g);
         int i;
         float dash1[] = {1.0f};
         BasicStroke bs = new BasicStroke(.5f, BasicStroke.CAP_BUTT,
                             BasicStroke.JOIN_MITER, 1f, dash1, 0.0f);
         Graphics2D g2 = (Graphics2D)g;
         // This line right here!!!
    // Try it with and without the g2.setStroke() line
         g2.setStroke(bs);
         for (i=1;i<20000;i++){
         g2.drawLine(20,30,i,30);
         if (i%100 == 0) System.err.println(i);
    Memory usage goes from around 19 MB to 60 MB and repainting speed goes from about 2 seconds to a minute (or more) when the line is uncommented.
    Does anyone know what additional stuff java might be storing and doing that's causing the increase in memory usage and such drastic reduction in speed ?
    -Hassan

  • I new to java but how do you load different settings for different browers?

    Let's say i want the page to be font size 6 on FF but size 8 on IE. I know there is a code like "if firefox" but i'm not sure how to set it up.

    I agree with the previous posts. I think it would be better to learn the fundamentals rather than spend time tweeking a web page for different browsers.
    A java web site is made up of several technologies in addition to java such as javascript, xhml, sql, tomcat, etc, etc in addition to java specialties such as JSP and Servlets that you should learn before tweeking a web page. I suggest reading whole books on these topics such as starting with 'Thinking in Java' (I wonder if I can get a commission from the authors for recommending their book so often in these posts?)

  • How to cover the new in Java 5

    Hi java community :)
    I am a Java programmer since 4 years which means that I worked with 1.3 then with 1.4 and there was no big difference betwen them. But, with Java 1.5 I think I need some articles or tutorials that explain what are the differnces between 1.4 and 1.5....
    I hope that I find some here
    thanks

    I am also making the transition from 1.4 to Java 5.
    Of all the language additions in Java 5, the following 2 are having the most profound effect on the way I think about and use Java
    Generics - I have been waiting for these for ages. Now I can tailor existing classes at compile time that do
    a lot to ensure type safety at compile time without having to actually "roll my own" implementations.
    You should take a good look at Generics, go search on google with "java generics", floods of articles out there.
    Annotations. The language feature that takes the concepts of "marker" interfaces and standard code
    patterns (JavaBean pattern for properties for example) and allows you to place the metadata of your choice in a class.
    While this may not be something that you will want to use, you should get a good grounding in Annotations
    because you will come across them in other peoples code. Helps if you understand what they mean.
    Syntactic sugar: Under this rubric you will find things like autoboxing, enhanced iteration for arrays and collections and varargs.
    While autoboxing is a nice idea, IMHO it is something that you really should not use simply because it is a performance killer, at least in this version of Java.
    Enhanced iteration over arrays and collections. You will love them, enough said.
    Varargs. I am torn about varargs, I fear that varargs are going to be over used and, due to this over use, cause a lot of maintenance issues in the future.
    Saves you having to create arrays, populate them and pass them as a single parameter to a method yourself. Still, because they are a language feature you will need to find out about them.
    New packages in Java 5. IMHO I think the java.util.concurrent package is the most useful and welcome introduction, offering a stunning array of out of the
    box classes that enable you to work in a multi-threaded environment much more easily.
    Threading in Java has always been easy, solving a lot of the problems that Threading introduces into an application has now (almost) reached the same level of simplicity.
    You are still going to need to know what you are doing however you are relieved of the burden of inventing wheels again.
    Management APIs. Running a close second to the concurrency classes, the java.lang.management
    package now enables you to monitor your application and also to detect and react to critical conditions
    (running low on heap for instance) programmatically in a consistent fashion.
    Along with the new tools that Java 5 provides (JConsole is cool), you can now remotely monitor an application and keep track of how the JVM is running.
    Learning to use the management package to your advantage is going to be a must for serious application developers in the future.

  • Jclient error: java.sql.SQLException: OALL8 is in an inconsistent state

    Dear all,
    who can help us about java.sql.SQLException: OALL8 is in an inconsistent state.
    Our application system is build for Jdeveloper 10.1.2 with JClient+BC4J
    and be deploy on 2-tier application architecture(through Web Start) , and the database is oracle 9.2.0.1
    In sometime the application running, our user will got these error response message that is like following , please kindly give us a direction to solve this problem .
    oracle.jbo.DMLException: JBO-26044: ¨ú±oµøÆ[ªíª«¥ó ReportPhraseBasicView1, ±Ôz¥y SELECT count(1) FROM (SELECT ReportPhraseBasic.HOSPITALCODE,         ReportPhraseBasic.USERCODE,          ReportPhraseBasic.PHRASECODE,         ReportPhraseBasic.PHRASECONTEXT,          ReportPhraseBasic.CREATED_BY,         ReportPhraseBasic.CREATION_DATE,          ReportPhraseBasic.LAST_UPDATED_BY,         ReportPhraseBasic.LAST_UPDATE_DATE,          ReportPhraseBasic.MARK FROM REPORT_PHRASE_BASIC ReportPhraseBasic WHERE (USERCODE = '006583') AND ( ( (ReportPhraseBasic.PHRASECODE LIKE '%') ) ))  ªº¦ôp¸ê®Æ¦Cp¼Æ®Éµo¥Í¿ù»~.
         at oracle.jbo.server.ViewObjectImpl.getQueryHitCount(ViewObjectImpl.java:2101)
         at oracle.jbo.server.ViewObjectImpl.getQueryHitCount(ViewObjectImpl.java:2043)
         at oracle.jbo.server.QueryCollection.getEstimatedRowCount(QueryCollection.java:2170)
         at oracle.jbo.server.ViewRowSetImpl.getEstimatedRowCount(ViewRowSetImpl.java:1824)
         at oracle.jbo.server.ViewObjectImpl.getEstimatedRowCount(ViewObjectImpl.java:5624)
         at oracle.adf.model.bc4j.DCJboDataControl.getEstimatedRowCount(DCJboDataControl.java:925)
         at oracle.adf.model.binding.DCIteratorBinding.getEstimatedRowCount(DCIteratorBinding.java:2526)
         at oracle.jbo.uicli.binding.JUCtrlRangeBinding.getEstimatedRowCount(JUCtrlRangeBinding.java:101)
         at oracle.jbo.uicli.jui.JUTableBinding$JUTableModel.getRowCount(JUTableBinding.java:1099)
         at oracle.jbo.uicli.jui.JUTableBinding.getRowCount(JUTableBinding.java:618)
         at oracle.jbo.uicli.jui.JUTableSortModel.getRowCount(JUTableSortModel.java:560)
         at javax.swing.JTable.getRowCount(Unknown Source)
         at javax.swing.JTable.valueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
         at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
         at javax.swing.DefaultListSelectionModel.removeSelectionInterval(Unknown Source)
         at javax.swing.DefaultListSelectionModel.clearSelection(Unknown Source)
         at oracle.jbo.uicli.jui.SortedListSelectionModel.clearSelection(JUTableSortModel.java:747)
         at javax.swing.JTable.clearSelection(Unknown Source)
         at javax.swing.JTable.tableChanged(Unknown Source)
         at javax.swing.table.AbstractTableModel.fireTableChanged(Unknown Source)
         at oracle.jbo.uicli.jui.JUTableSortModel.tableChanged(JUTableSortModel.java:177)
         at javax.swing.table.AbstractTableModel.fireTableChanged(Unknown Source)
         at javax.swing.table.AbstractTableModel.fireTableDataChanged(Unknown Source)
         at oracle.jbo.uicli.jui.JUTableBinding$JUTableModel.fireTableDataChangedRestoreSelection(JUTableBinding.java:763)
         at oracle.jbo.uicli.jui.JUTableBinding$JUTableModel._refreshLater(JUTableBinding.java:989)
         at oracle.jbo.uicli.jui.JUTableBinding$JUTableModel.access$7000971(JUTableBinding.java:700)
         at oracle.jbo.uicli.jui.JUTableBinding$1.run(JUTableBinding.java:940)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    ## Detail 0 ##
    java.sql.SQLException: OALL8 is in an inconsistent state.
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
         at oracle.jdbc.driver.T4C8Oall.init(T4C8Oall.java:308)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:166)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:661)
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:893)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:693)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:988)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2884)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2925)
         at oracle.jbo.server.ViewObjectImpl.getQueryHitCount(ViewObjectImpl.java:2083)
         at oracle.jbo.server.ViewObjectImpl.getQueryHitCount(ViewObjectImpl.java:2043)
         at oracle.jbo.server.QueryCollection.getEstimatedRowCount(QueryCollection.java:2170)
         at oracle.jbo.server.ViewRowSetImpl.getEstimatedRowCount(ViewRowSetImpl.java:1824)
         at oracle.jbo.server.ViewObjectImpl.getEstimatedRowCount(ViewObjectImpl.java:5624)
         at oracle.adf.model.bc4j.DCJboDataControl.getEstimatedRowCount(DCJboDataControl.java:925)
         at oracle.adf.model.binding.DCIteratorBinding.getEstimatedRowCount(DCIteratorBinding.java:2526)
         at oracle.jbo.uicli.binding.JUCtrlRangeBinding.getEstimatedRowCount(JUCtrlRangeBinding.java:101)
         at oracle.jbo.uicli.jui.JUTableBinding$JUTableModel.getRowCount(JUTableBinding.java:1099)
         at oracle.jbo.uicli.jui.JUTableBinding.getRowCount(JUTableBinding.java:618)
         at oracle.jbo.uicli.jui.JUTableSortModel.getRowCount(JUTableSortModel.java:560)
         at javax.swing.JTable.getRowCount(Unknown Source)
         at javax.swing.JTable.valueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
         at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
         at javax.swing.DefaultListSelectionModel.removeSelectionInterval(Unknown Source)
         at javax.swing.DefaultListSelectionModel.clearSelection(Unknown Source)
         at oracle.jbo.uicli.jui.SortedListSelectionModel.clearSelection(JUTableSortModel.java:747)
         at javax.swing.JTable.clearSelection(Unknown Source)
         at javax.swing.JTable.tableChanged(Unknown Source)
         at javax.swing.table.AbstractTableModel.fireTableChanged(Unknown Source)
         at oracle.jbo.uicli.jui.JUTableSortModel.tableChanged(JUTableSortModel.java:177)
         at javax.swing.table.AbstractTableModel.fireTableChanged(Unknown Source)
         at javax.swing.table.AbstractTableModel.fireTableDataChanged(Unknown Source)
         at oracle.jbo.uicli.jui.JUTableBinding$JUTableModel.fireTableDataChangedRestoreSelection(JUTableBinding.java:763)
         at oracle.jbo.uicli.jui.JUTableBinding$JUTableModel._refreshLater(JUTableBinding.java:989)
         at oracle.jbo.uicli.jui.JUTableBinding$JUTableModel.access$7000971(JUTableBinding.java:700)
         at oracle.jbo.uicli.jui.JUTableBinding$1.run(JUTableBinding.java:940)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    ==============
    oracle.jbo.SQLStmtException: JBO-27122: Protocol Violation: SELECT Reportbasic.HOSPITALCODE,         Reportbasic.REPORTSEQNO,          Reportbasic.VERSION,         Reportbasic.EXAM,          Reportbasic.IMPRESSION,         Reportbasic.DICTATE_SEQ,          Reportbasic.DICTATEDATE,         Reportbasic.DICTATOR,          Reportbasic.DICTATORNAME,         Reportbasic.REPORTDATE,          Reportbasic.REPORTDR_VS,         Reportbasic.REPORTNAME_VS,          Reportbasic.REPORTDR_RESIDENT,         Reportbasic.REPORTNAME_RESIDENT,          Reportbasic.REPORTDR_CONSIDER,         Reportbasic.REPORTNAME_CONSIDER,          Reportbasic.APPROVEDATE,         Reportbasic.APPROVEDR,          Reportbasic.APPROVENAME,         Reportbasic.FINISH_FLAG,          Reportbasic.OFFICIALFLAG,         Reportbasic.EXAMTEXT,          Reportbasic.IMPRESSIONTEXT,         Reportbasic.STATUS,          Reportbasic.TRANSMIT_NEEDED,         Reportbasic.REMARK,          Reportbasic.CREATED_BY,         Reportbasic.CREATION_DATE,          Reportbasic.LAST_UPDATED_BY,         Reportbasic.LAST_UPDATE_DATE,          Reportbasic.EDUCATIONTYPE,         Reportbasic.EDUCATIONCODE,          Reportbasic.CODINGOPER,         Reportbasic.CODINGDATE,          Reportbasic.ACCESSNO FROM REPORTBASIC Reportbasic WHERE Reportbasic.REPORTSEQNO = :1
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:774)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:547)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3422)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:663)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:617)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2593)
         at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2850)
         at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:1941)
         at oracle.jbo.server.ViewRowSetImpl.refreshRowSet(ViewRowSetImpl.java:4094)
         at oracle.jbo.server.ViewRowSetIteratorImpl.notifyDetailRowSets(ViewRowSetIteratorImpl.java:3300)
         at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3418)
         at oracle.jbo.server.ViewRowSetIteratorImpl.internalSetCurrentRow(ViewRowSetIteratorImpl.java:3192)
         at oracle.jbo.server.ViewRowSetIteratorImpl.setCurrentRowAtRangeIndex(ViewRowSetIteratorImpl.java:998)
         at oracle.jbo.server.ViewRowSetImpl.setCurrentRowAtRangeIndex(ViewRowSetImpl.java:2569)
         at oracle.jbo.server.ViewObjectImpl.setCurrentRowAtRangeIndex(ViewObjectImpl.java:6186)
         at oracle.jbo.uicli.jui.JUTableBinding$JUTableModel.valueChanged(JUTableBinding.java:1274)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(Unknown Source)
         at oracle.jbo.uicli.jui.SortedListSelectionModel.setValueIsAdjusting(JUTableSortModel.java:777)
         at javax.swing.plaf.basic.BasicTableUI$MouseInputHandler.setValueIsAdjusting(Unknown Source)
         at javax.swing.plaf.basic.BasicTableUI$MouseInputHandler.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    ## Detail 0 ##
    java.sql.SQLException: ¹H¤Ï¨ó©w
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:161)
         at oracle.jdbc.driver.DatabaseError.check_error(DatabaseError.java:884)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:642)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:181)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:791)
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:912)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:693)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:988)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2884)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2925)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:691)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:547)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3422)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:663)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:617)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2593)
         at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2850)
         at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:1941)
         at oracle.jbo.server.ViewRowSetImpl.refreshRowSet(ViewRowSetImpl.java:4094)
         at oracle.jbo.server.ViewRowSetIteratorImpl.notifyDetailRowSets(ViewRowSetIteratorImpl.java:3300)
         at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3418)
         at oracle.jbo.server.ViewRowSetIteratorImpl.internalSetCurrentRow(ViewRowSetIteratorImpl.java:3192)
         at oracle.jbo.server.ViewRowSetIteratorImpl.setCurrentRowAtRangeIndex(ViewRowSetIteratorImpl.java:998)
         at oracle.jbo.server.ViewRowSetImpl.setCurrentRowAtRangeIndex(ViewRowSetImpl.java:2569)
         at oracle.jbo.server.ViewObjectImpl.setCurrentRowAtRangeIndex(ViewObjectImpl.java:6186)
         at oracle.jbo.uicli.jui.JUTableBinding$JUTableModel.valueChanged(JUTableBinding.java:1274)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(Unknown Source)
         at oracle.jbo.uicli.jui.SortedListSelectionModel.setValueIsAdjusting(JUTableSortModel.java:777)
         at javax.swing.plaf.basic.BasicTableUI$MouseInputHandler.setValueIsAdjusting(Unknown Source)
         at javax.swing.plaf.basic.BasicTableUI$MouseInputHandler.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Seems its problem with the version of Oracle you are using ..See the following link,it provides you some additional info.
    java.sql.SQLException: OALL8 is in an inconsistent state

  • Please tell me what all softwares does Java Studio Enterprise 6 include.

    Please tell me what all softwares does Java Studio Enterprise 6 include.

    Hi there,
    JSE 6 software includes the following components.
    * Java Studio Enterprise IDE
    * Java Studio Enterprise 6 plug-ins and additions
    - Sun Java System Portlet Builder 2.0
    - Sun Java System Application Server 7 Standard
    Edition, Update 1 plug-in
    - Sun Java System Web Server 6.1, Service Pack 1
    plug-in
    - Sun Java Studio's Web Application Framework
    * Sun Java Enterprise System Servers as follows:
    - Sun Java System Application Server 7 Standard
    Edition, Update 1
    - Sun Java System Message Queue 3.0.1 Service
    Pack 2 Platform Edition
    - Sun Java System Web Server 6.1, Service Pack 1
    - Sun Java System Directory Server 5.2
    - Sun Java System Identity Server 6.1
    - Sun Java System Portal Server 6.2
    * Sun Java System Identity Server Policy Agent 2.1 for
    Sun Java System Application Server 7 Standard
    Edition, Update 1
    Hope it helps!

  • About  Java WSDP

    Hi!
    "The JavaTM Web Services Developer Pack (Java WSDP) software is supported on Windows 2000 and XP. In addition, the Java WSDP software can also be installed, but is unsupported, on Windows 95, 98, ME, and NT 4.0. "
    Does this means, that if I have Win '98 Installed it will not work, or it will work but not properly?
    I'm not surem because it stays that the pack could be installed. Why is it so if it will not work ?>

    Unsupported means, don't bother asking them for help if you experience problems. Also, don't be surprised if it doesn't work.

  • Where next for Java?

    What are Sun's plans for future changes to the Java language and API? I can think of a few cool things that Sun could go for:
    * Tuples, a la Python, Prolog, and others.
    * Multi-dimensional arrays (jagged arrays suck, am I right?)
    * Better support for the Collections API in Swing.
    * A first-class calendar component for swing, like JCalendar or the MFC calendar.
    * Currying! Just kidding.
    * Operators for BigDecimal and BigInteger, and java.lang.Math support for them too.
    * Some sort of a SortedList collection, for lists that have to stay sorted.
    That's just my little want-list for Java 1.6. I'd regard any one of these as a HUGE enhancement to Java. Thanks for reading!

    A mixin is like a data member whose methods get exposed as part of the owning object. The idea is that if your class needs to implement some interface, you can use an object that already implements that interface to do it.
    Suppose I have a class Foo that needs to implement interface Heuvos:
    class Foo implements Heuvos {
    }Rather than implement the methods of Heuvos directly, Foo uses another object -- the mixin -- to implement that functionality.
    class Foo implements Heuvos {
        mixin Heuvos h;
        public Foo(Heuvos input) {
            h = input;
    }See? The object gets mixed into our class, and handles the implementation of the Heuvos interface. It's like multiple inheritance, but without the potential problems with constructors and cyclic inheritance. Plus, you can decide at runtime what object will provide the implementation -- this makes the technique extraordinarily flexible.
    Personally, I think Mixins would be a great addition to Java. It would be a non-trivial addition to the language, but boy is it ever a powerful one!

  • Java roundabout with Adobe CS6, Lion

    Just wiped my drive and installed a fresh version of Lion via Lion recovery mode.
    I install Adobe Photoshop CS6, etc., but on opening Photoshop, Illustrator or InDesign I get the 'You need Java runtime' message. I spoke with Adobe, and they clarified that no part of CS6 requires Java Runtime; that it's an old bit of code in Lion that thinks Adobe needs it.
    So, sounds like I need to install it, even though it's not needed.
    Can it be removed or diabled after the intital launch, or does it sound like Lion is going to want it there, even though it's not needed by CS6? I know there is a Java Preferneces utility that Lion does install, and maybe it can be turned off there?

    Assuming Java 7 is already available you can do the following instead of additionally installing Java 6:
    Copy the Info.plist located at /Library/Java/JavaVirtualMachines/jdk.1.7.<…>/Contents/ to e.g. ~/Downloads/ and then replace
    <key>JVMCapabilities</key>
    <array>
      <string>CommandLine</string>
    </array>
    with the following:
    <key>JVMCapabilities</key>
    <array>
      <string>JNI</string>
      <string>BundledApp</string>
      <string>WebStart</string>
      <string>Applets</string>
      <string>CommandLine</string>
    </array>
    Afterwards copy the file back to its original location (you need administrator rights) and restart your computer. The dialog for Java 6 should shouldn't appear anymore and applications should launch just fine using JRE7.

Maybe you are looking for

  • Follow up to trouble burning quicktime movie in idvd 4.01 in dvd format

    I am using a blank dvd+R to burn.

  • Error 1920

    I am trying to download Acrobat 9.0 Standard to a new Windows 8 machine.  It gets through most of the install when under Status: Starting Services, it hangs on Print Spooler.  It sends a message box saying "Error 1920.  Service Print Spooler failed t

  • Iweb SEO tool or iweb valet

    Which is the best iweb SEO tool or iweb valet? or is there a alternative to these? I have used iweb SEO tool, itweak, RAGE Sitemap Automator, and upload my site http://www.southfarm.co.uk/home.html with Transmit. It is a pain when I have a small upda

  • AD HOC query (coding)

    Hi, I have Ad hoc query and in the selection screen I have  field(select option) for language , what I am trying to do is to make a login language  as default value for language field ,I tried throw SQ01 the only thing I could do is to add fixed valu

  • Space before Print-Control

    Hi experts, we are printing labels via SAP-Script. In this SAP-Script we use print-controls, which we have to save into a datamatrix on the label (customer needs this at scan). Therefore we have created print-controls (SPAD->Device Types) which follo