I seen Java ?

Jan 28
I was going to download Air and I seen Java - Is Adobe Air, Flash Player and Shockwave void of the Java Virus and Java Infection ? But is Java script the Java with the Problem or Java scipt prograimmg ? I wonder because I had problems downloading Abode products - it kept stalling displaying "timed out".
Thanks,
Darren D.
[ edited by forum host - email address removed ]

Adobe does not use Oracle's Java. AIR and Flash use their own virtual machine. Your download issues are another matter, but you did not provide any detailed information, so I'm afraid this si not going anywhere. Simply try anotehr browser and use this:
Flash Player enterprise deployment
Mylenium

Similar Messages

  • I have some general questions about Java

    Is there a such thing as a list of every Exception in Java?
    Is there somewhere I can look at examples of try statements, catch statements I guess tutorials on the basics of Java, like what would constitute these statements.

    Thanks so much. This helps with the questions that I have. I am taking a class, where the only input I'm getting is "feedback". I'm expected to read the chapter, do the assignments, mind you this is the first time I have ever seen Java. Most of the class dropped out and now I see why.
    I asked the questions I did, because I didn't know "what" I understood the books explanation of the try statement pertaining to it's example, but I have nothing to apply "across the board" when it comes to try statements. The links you gave me were great, I now know how to tailor my questions. I will use the example in the link you gave me and try to equate it to my assignment. (This is a perfect example!)
    readFile {
        try {
            open the file;
            determine its size;
            allocate that much memory;
            read the file into memory;
            close the file;
        } catch (fileOpenFailed) {
           doSomething;
        } catch (sizeDeterminationFailed) {
            doSomething;
        } catch (memoryAllocationFailed) {
            doSomething;
        } catch (readFailed) {
            doSomething;
        } catch (fileCloseFailed) {
            doSomething;
    }I know that hitting enter more than once, entering a non integer (7.4), or entering a character "w" will cause a NumberFormatException. I am to enclose the methods in the try statement. Does that mean that I start with try {, then the section of code?  Then I need a statement or code?  This is where I am confused.  I look at the example above and those are actual statements.  Will it come a time when after "try" i will need code?
    What would be my statement? Is this something that I make up? ( I know these questions are dumming it down ALOT but once I get why something is done, I'll get it everytime.) My try statement has to say something to the effect that if the user trys to enter a non-integer value....am I right so far???
    try
    //Calling the user-defined methods
    multiplier = getNumber();
    correct = takeQuiz(multiplier);
    System.out.println("\t\tYou got "+correct+ " correct!" );
    user inputs any invalid, non-integer
    catch (NumberFormatException e)
    }

  • Why is there a java enable function in the settings app if java ia not supported by ipad2?

    Why is there a java enable function in the settings app of the ipad2, ios5, when java is not supported by ios5 on the ipad2?  The adds say that java neo, I think that is what it is supposed to be called, was supposedly introduced into the ios5 format to deal with this?

    If you're looking in the settings for Safari, that's JavaScript, which despite the similarity in names is completely different from Java. Java is not, never has been, and all indications are never will be supported in iOS. I have no idea what "java neo" might be, but I've never seen Java mentioned in any way in any of Apple's iPad ads.
    Regards.

  • Java Jobs

    I learning java and I just want to know what java jobs are in demand, what type of java programming would most likely get me a job.

    You may still be able to pick up a bit of legacyJava
    work here and there, but these days, without .NET
    you're gonna struggle.I find this very hard to believe....legacy java? I
    don't think so.I agree that it is hard to believe, even Apple have a new native API that java programmers can plug into, as it has seen Java is in so much demand and would like people to use their computers, or at least program for them. The name of this is Cocoa, and no I am not an Apple buff :)
    Jack 573

  • Error in Report Output

    Hi Every one,
    I have an issue in one Oracle report developed in 10g. I am able to get pdf output in User Interface but not Excel output. so I have gone through other oracle report existing which have EXCEL output in UI. I have seen JAVA code as 'desformat=spreadsheet<code>desformat=xls'
    when I put the same code for my report, it is rendering the following ERROR:
    Error      
    REP-1814: Report cannot be formatted. Object 'horizontally' can never fit within 'B_1'.
    can anybody please let me know the solution for this. this is Urgent.
    Thanks in Advance.

    Hi,
    You can get output in PDF as you see in report runtime preivew.
    But you can't get same output in .txt.
    Bcoz if it is in .txt , there is a problem with null strings for each of the columns..
    Bcoz the report is in bit-map mode.
    So plz change it into Character mode.
    go thru steps mentioned in reports--help.
    type character mode settings.
    try with this.
    --Basava.S                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • JVM crash on Debian Linux

    Hi
    I am running some simple web applications in Tomcat on a Debian Linux machine and my JVM is crashing frequently. The server load is very low.
    Mostly it is the java.net.Inet4AddressImpl.getHostByAddr(Native Method) that causes the crash but i have also seen java.lang.Thread.start(Native Method) crash. The library /lib/tls/libc.so.6 is always involved.
    Configuration:
    J2SE v 1.4.2_07-b05 SDK
    GNU/Linux 2.6.11.2 Debian Sarge
    Tomcat 5.0.30
    I would be very thankful if someone could help me out with this!
    Here is the error log:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0xB7F25604
    Function=memchr+0x104
    Library=/lib/tls/libc.so.6
    Current Java thread:
    at java.net.Inet4AddressImpl.getHostByAddr(Native Method)
    at java.net.InetAddress$1.getHostByAddr(InetAddress.java:774)
    at java.net.InetAddress.getHostFromNameService(InetAddress.java:464)
    at java.net.InetAddress.getHostName(InetAddress.java:407)
    at java.net.InetAddress.getHostName(InetAddress.java:379)
    at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:1011)
    at org.apache.coyote.Request.action(Request.java:367)
    at org.apache.coyote.tomcat5.CoyoteRequest.getRemoteHost(CoyoteRequest.java:1226)
    at org.apache.coyote.tomcat5.CoyoteRequestFacade.getRemoteHost(CoyoteRequestFacade.java:346)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:557)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:534)
    Dynamic libraries:
    08048000-0804f000 r-xp 00000000 08:05 339473 /usr/java/jakarta-tomcat-5.0.30/bin/jsvc
    0804f000-08050000 rw-p 00006000 08:05 339473 /usr/java/jakarta-tomcat-5.0.30/bin/jsvc
    9d2d2000-9d38c000 r-xp 00000000 08:05 337392 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libfontmanager.so
    9d38c000-9d3a7000 rw-p 000b9000 08:05 337392 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libfontmanager.so
    9d3e9000-9d3fd000 r-xp 00000000 08:05 562292 /usr/X11R6/lib/libICE.so.6.3
    9d3fd000-9d3fe000 rw-p 00013000 08:05 562292 /usr/X11R6/lib/libICE.so.6.3
    9d400000-9d408000 r-xp 00000000 08:05 562247 /usr/X11R6/lib/libSM.so.6.0
    9d408000-9d409000 rw-p 00007000 08:05 562247 /usr/X11R6/lib/libSM.so.6.0
    9d409000-9d4cd000 r-xp 00000000 08:05 562279 /usr/X11R6/lib/libX11.so.6.2
    9d4cd000-9d4d0000 rw-p 000c4000 08:05 562279 /usr/X11R6/lib/libX11.so.6.2
    9d4d0000-9d4d4000 r-xp 00000000 08:05 562290 /usr/X11R6/lib/libXtst.so.6.1
    9d4d4000-9d4d5000 rw-p 00004000 08:05 562290 /usr/X11R6/lib/libXtst.so.6.1
    9d4d5000-9d4e2000 r-xp 00000000 08:05 562741 /usr/X11R6/lib/libXext.so.6.4
    9d4e2000-9d4e3000 rw-p 0000c000 08:05 562741 /usr/X11R6/lib/libXext.so.6.4
    9d4e3000-9d530000 r-xp 00000000 08:05 562249 /usr/X11R6/lib/libXt.so.6.0
    9d530000-9d533000 rw-p 0004d000 08:05 562249 /usr/X11R6/lib/libXt.so.6.0
    9d534000-9d53b000 r-xp 00000000 08:05 562262 /usr/X11R6/lib/libXp.so.6.2
    9d53b000-9d53c000 rw-p 00006000 08:05 562262 /usr/X11R6/lib/libXp.so.6.2
    9d541000-9d594000 r-xp 00000000 08:05 337388 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libmlib_image.so
    9d594000-9d595000 rw-p 00052000 08:05 337388 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libmlib_image.so
    9d595000-9d866000 r-xp 00000000 08:05 337389 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libawt.so
    9d866000-9d87c000 rw-p 002d0000 08:05 337389 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libawt.so
    9d8a1000-9d8d8000 r-xp 00000000 08:05 337393 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libjpeg.so
    9d8d8000-9d8d9000 rw-p 00036000 08:05 337393 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libjpeg.so
    9d910000-9d963000 r-xp 00000000 08:05 337394 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libcmm.so
    9d963000-9d965000 rw-p 00052000 08:05 337394 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libcmm.so
    9e210000-9e21f000 r-xp 00000000 08:01 40440 /lib/tls/libresolv-2.3.2.so
    9e21f000-9e220000 rw-p 0000f000 08:01 40440 /lib/tls/libresolv-2.3.2.so
    9e222000-9e24f000 r--s 00000000 08:05 337819 /usr/java/jakarta-tomcat-5.0.30/server/lib/tomcat-util.jar
    9e24f000-9e253000 r--s 00000000 08:05 337818 /usr/java/jakarta-tomcat-5.0.30/server/lib/tomcat-jni.jar
    9e253000-9e271000 r--s 00000000 08:05 337817 /usr/java/jakarta-tomcat-5.0.30/server/lib/tomcat-jk2.jar
    9e271000-9e272000 r--s 00000000 08:05 337816 /usr/java/jakarta-tomcat-5.0.30/server/lib/tomcat-jk.jar
    9e272000-9e27f000 r--s 00000000 08:05 337815 /usr/java/jakarta-tomcat-5.0.30/server/lib/tomcat-http11.jar
    9e27f000-9e284000 r--s 00000000 08:05 337814 /usr/java/jakarta-tomcat-5.0.30/server/lib/tomcat-coyote.jar
    9e284000-9e28a000 r--s 00000000 08:05 337813 /usr/java/jakarta-tomcat-5.0.30/server/lib/servlets-webdav.jar
    9e28a000-9e28c000 r--s 00000000 08:05 337811 /usr/java/jakarta-tomcat-5.0.30/server/lib/servlets-invoker.jar
    9e28c000-9e292000 r--s 00000000 08:05 337810 /usr/java/jakarta-tomcat-5.0.30/server/lib/servlets-default.jar
    9e292000-9e293000 r--s 00000000 08:05 337809 /usr/java/jakarta-tomcat-5.0.30/server/lib/servlets-common.jar
    9e293000-9e294000 r--s 00000000 08:05 337807 /usr/java/jakarta-tomcat-5.0.30/server/lib/jkshm.jar
    9e294000-9e29c000 r--s 00000000 08:05 337806 /usr/java/jakarta-tomcat-5.0.30/server/lib/jkconfig.jar
    9e29c000-9e2a3000 r--s 00000000 08:05 337805 /usr/java/jakarta-tomcat-5.0.30/server/lib/jakarta-regexp-1.3.jar
    9e2a3000-9e2be000 r--s 00000000 08:05 337804 /usr/java/jakarta-tomcat-5.0.30/server/lib/commons-modeler.jar
    9e2be000-9e2c4000 r--s 00000000 08:05 337803 /usr/java/jakarta-tomcat-5.0.30/server/lib/commons-fileupload-1.0.jar
    9e2c4000-9e2df000 r--s 00000000 08:05 337802 /usr/java/jakarta-tomcat-5.0.30/server/lib/commons-digester.jar
    9e2df000-9e30e000 r--s 00000000 08:05 337801 /usr/java/jakarta-tomcat-5.0.30/server/lib/commons-beanutils.jar
    9e30e000-9e3bc000 r--s 00000000 08:05 337800 /usr/java/jakarta-tomcat-5.0.30/server/lib/catalina.jar
    9e3bc000-9e3d7000 r--s 00000000 08:05 337799 /usr/java/jakarta-tomcat-5.0.30/server/lib/catalina-optional.jar
    9e3d7000-9e3dd000 r--s 00000000 08:05 337798 /usr/java/jakarta-tomcat-5.0.30/server/lib/catalina-i18n-ja.jar
    9e3dd000-9e3e3000 r--s 00000000 08:05 337797 /usr/java/jakarta-tomcat-5.0.30/server/lib/catalina-i18n-fr.jar
    9e3e3000-9e3e9000 r--s 00000000 08:05 337796 /usr/java/jakarta-tomcat-5.0.30/server/lib/catalina-i18n-es.jar
    9e3e9000-9e408000 r--s 00000000 08:05 337795 /usr/java/jakarta-tomcat-5.0.30/server/lib/catalina-cluster.jar
    9e408000-9e40d000 r--s 00000000 08:05 337794 /usr/java/jakarta-tomcat-5.0.30/server/lib/catalina-ant.jar
    9e40d000-9e41b000 r--s 00000000 08:05 404959 /usr/java/jakarta-tomcat-5.0.30/common/lib/activation.jar
    9e41b000-9e470000 r--s 00000000 08:05 405025 /usr/java/jakarta-tomcat-5.0.30/common/lib/mail.jar
    9e470000-9e473000 r--s 00000000 08:05 404902 /usr/java/jakarta-tomcat-5.0.30/common/lib/jta-spec1_0_1.jar
    9e473000-9e475000 r--s 00000000 08:05 404901 /usr/java/jakarta-tomcat-5.0.30/common/lib/jdbc2_0-stdext.jar
    9e475000-9e486000 r--s 00000000 08:05 404849 /usr/java/jakarta-tomcat-5.0.30/common/lib/mssqlserver.jar
    9e486000-9e495000 r--s 00000000 08:05 404850 /usr/java/jakarta-tomcat-5.0.30/common/lib/msutil.jar
    9e495000-9e4dc000 r--s 00000000 08:05 404848 /usr/java/jakarta-tomcat-5.0.30/common/lib/msbase.jar
    9e4dc000-9e53d000 r--s 00000000 08:05 404899 /usr/java/jakarta-tomcat-5.0.30/common/lib/mysql-connector-java-3.1.7-bin.jar
    9e53d000-9e555000 r--s 00000000 08:05 337793 /usr/java/jakarta-tomcat-5.0.30/common/lib/servlet-api.jar
    9e555000-9e560000 r--s 00000000 08:05 337792 /usr/java/jakarta-tomcat-5.0.30/common/lib/naming-resources.jar
    9e560000-9e561000 r--s 00000000 08:05 337791 /usr/java/jakarta-tomcat-5.0.30/common/lib/naming-java.jar
    9e561000-9e565000 r--s 00000000 08:05 337790 /usr/java/jakarta-tomcat-5.0.30/common/lib/naming-factory.jar
    9e565000-9e56c000 r--s 00000000 08:05 337789 /usr/java/jakarta-tomcat-5.0.30/common/lib/naming-common.jar
    9e56c000-9e579000 r--s 00000000 08:05 337788 /usr/java/jakarta-tomcat-5.0.30/common/lib/jsp-api.jar
    9e579000-9e594000 r--s 00000000 08:05 337787 /usr/java/jakarta-tomcat-5.0.30/common/lib/jasper-runtime.jar
    9e594000-9e5eb000 r--s 00000000 08:05 337786 /usr/java/jakarta-tomcat-5.0.30/common/lib/jasper-compiler.jar
    9e5eb000-9e5f6000 r--s 00000000 08:05 337785 /usr/java/jakarta-tomcat-5.0.30/common/lib/commons-pool-1.2.jar
    9e5f6000-9e612000 r--s 00000000 08:05 337784 /usr/java/jakarta-tomcat-5.0.30/common/lib/commons-el.jar
    9e612000-9e62d000 r--s 00000000 08:05 337783 /usr/java/jakarta-tomcat-5.0.30/common/lib/commons-dbcp-1.2.1.jar
    9e62d000-9e6b6000 r--s 00000000 08:05 337782 /usr/java/jakarta-tomcat-5.0.30/common/lib/commons-collections-3.1.jar
    9e6b6000-9e7ab000 r--s 00000000 08:05 337781 /usr/java/jakarta-tomcat-5.0.30/common/lib/ant.jar
    9e7ab000-9e7ae000 r--s 00000000 08:05 337780 /usr/java/jakarta-tomcat-5.0.30/common/lib/ant-launcher.jar
    9e7ae000-9e7cd000 r--s 00000000 08:05 404834 /usr/java/jakarta-tomcat-5.0.30/common/endorsed/xml-apis.jar
    9e7cd000-9e8c4000 r--s 00000000 08:05 404833 /usr/java/jakarta-tomcat-5.0.30/common/endorsed/xercesImpl.jar
    9e8c4000-9ebc5000 r--s 00000000 08:05 404841 /usr/java/jakarta-tomcat-5.0.30/common/endorsed/xalan.jar
    9ebc5000-9ebd5000 r-xp 00000000 08:05 337384 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libnet.so
    9ebd5000-9ebd6000 rw-p 0000f000 08:05 337384 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libnet.so
    9ebd6000-9ebdd000 r--s 00000000 08:05 337757 /usr/java/jakarta-tomcat-5.0.30/bin/commons-logging-api.jar
    9ebdd000-9ec31000 r--s 00000000 08:05 337763 /usr/java/jakarta-tomcat-5.0.30/bin/jmx.jar
    9ec31000-9ec39000 r--s 00000000 08:05 337750 /usr/java/jakarta-tomcat-5.0.30/bin/bootstrap.jar
    9ec39000-9ec3c000 r--s 00000000 08:05 337755 /usr/java/jakarta-tomcat-5.0.30/bin/commons-daemon.jar
    9ec3c000-9f118000 r--s 00000000 08:05 355210 /usr/java/j2sdk1.4.2_07/lib/tools.jar
    9f118000-9f1d4000 r--s 00000000 08:05 354117 /usr/java/j2sdk1.4.2_07/jre/lib/ext/localedata.jar
    9f1d4000-9f1e1000 r--s 00000000 08:05 353577 /usr/java/j2sdk1.4.2_07/jre/lib/ext/ldapsec.jar
    9f1e1000-9f1e4000 r--s 00000000 08:05 353575 /usr/java/j2sdk1.4.2_07/jre/lib/ext/dnsns.jar
    9f1e4000-9f200000 r--s 00000000 08:05 353574 /usr/java/j2sdk1.4.2_07/jre/lib/ext/sunjce_provider.jar
    9f400000-9f407000 r--p 01a81000 08:05 167297 /usr/lib/locale/locale-archive
    9f407000-9f607000 r--p 00000000 08:05 167297 /usr/lib/locale/locale-archive
    b38c2000-b38c5000 r-xp 00000000 08:01 40433 /lib/tls/libnss_dns-2.3.2.so
    b38c5000-b38c6000 rw-p 00003000 08:01 40433 /lib/tls/libnss_dns-2.3.2.so
    b5973000-b5ecc000 r--s 00000000 08:05 337449 /usr/java/j2sdk1.4.2_07/jre/lib/charsets.jar
    b5ecc000-b5edd000 r--s 00000000 08:05 337404 /usr/java/j2sdk1.4.2_07/jre/lib/jce.jar
    b5edd000-b5fba000 r--s 00000000 08:05 337448 /usr/java/j2sdk1.4.2_07/jre/lib/jsse.jar
    b5fba000-b5fd0000 r--s 00000000 08:05 337403 /usr/java/j2sdk1.4.2_07/jre/lib/sunrsasign.jar
    b601a000-b79c3000 r--s 00000000 08:05 337346 /usr/java/j2sdk1.4.2_07/jre/lib/rt.jar
    b79c3000-b79d7000 r-xp 00000000 08:05 337381 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libzip.so
    b79d7000-b79da000 rw-p 00013000 08:05 337381 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libzip.so
    b79da000-b79fa000 r-xp 00000000 08:05 337379 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libjava.so
    b79fa000-b79fc000 rw-p 0001f000 08:05 337379 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libjava.so
    b79fc000-b7a0c000 r-xp 00000000 08:05 337378 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libverify.so
    b7a0c000-b7a0e000 rw-p 0000f000 08:05 337378 /usr/java/j2sdk1.4.2_07/jre/lib/i386/libverify.so
    b7a0e000-b7a12000 rw-s 00000000 08:08 64258 /tmp/hsperfdata_tomcat/17768
    b7a12000-b7a1a000 r-xp 00000000 08:05 337367 /usr/java/j2sdk1.4.2_07/jre/lib/i386/native_threads/libhpi.so
    b7a1a000-b7a1b000 rw-p 00007000 08:05 337367 /usr/java/j2sdk1.4.2_07/jre/lib/i386/native_threads/libhpi.so
    b7a1b000-b7a27000 r-xp 00000000 08:01 40439 /lib/tls/libpthread-0.60.so
    b7a27000-b7a28000 rw-p 0000c000 08:01 40439 /lib/tls/libpthread-0.60.so
    b7a2a000-b7a4b000 r-xp 00000000 08:01 40429 /lib/tls/libm-2.3.2.so
    b7a4b000-b7a4c000 rw-p 00020000 08:01 40429 /lib/tls/libm-2.3.2.so
    b7a51000-b7e4f000 r-xp 00000000 08:05 337373 /usr/java/j2sdk1.4.2_07/jre/lib/i386/client/libjvm.so
    b7e4f000-b7e6b000 rw-p 003fd000 08:05 337373 /usr/java/j2sdk1.4.2_07/jre/lib/i386/client/libjvm.so
    b7e7d000-b7e86000 r-xp 00000000 08:01 40434 /lib/tls/libnss_files-2.3.2.so
    b7e86000-b7e87000 rw-p 00008000 08:01 40434 /lib/tls/libnss_files-2.3.2.so
    b7e87000-b7e8f000 r-xp 00000000 08:01 40436 /lib/tls/libnss_nis-2.3.2.so
    b7e8f000-b7e90000 rw-p 00007000 08:01 40436 /lib/tls/libnss_nis-2.3.2.so
    b7e90000-b7ea1000 r-xp 00000000 08:01 40431 /lib/tls/libnsl-2.3.2.so
    b7ea1000-b7ea2000 rw-p 00011000 08:01 40431 /lib/tls/libnsl-2.3.2.so
    b7ea4000-b7eab000 r-xp 00000000 08:01 40432 /lib/tls/libnss_compat-2.3.2.so
    b7eab000-b7eac000 rw-p 00006000 08:01 40432 /lib/tls/libnss_compat-2.3.2.so
    b7eac000-b7fd5000 r-xp 00000000 08:01 40426 /lib/tls/libc-2.3.2.so
    b7fd5000-b7fdd000 rw-p 00129000 08:01 40426 /lib/tls/libc-2.3.2.so
    b7fe1000-b7fe3000 r-xp 00000000 08:01 40428 /lib/tls/libdl-2.3.2.so
    b7fe3000-b7fe4000 rw-p 00002000 08:01 40428 /lib/tls/libdl-2.3.2.so
    b7fea000-b8000000 r-xp 00000000 08:01 40401 /lib/ld-2.3.2.so
    b8000000-b8001000 rw-p 00015000 08:01 40401 /lib/ld-2.3.2.so
    Heap at VM Abort:
    Heap
    def new generation total 18176K, used 8742K [0x9f8c0000, 0xa0c70000, 0xa0c70000)
    eden space 16192K, 51% used [0x9f8c0000, 0xa00eabf0, 0xa0890000)
    from space 1984K, 19% used [0xa0a80000, 0xa0adecd8, 0xa0c70000)
    to space 1984K, 0% used [0xa0890000, 0xa0890000, 0xa0a80000)
    tenured generation total 241984K, used 18638K [0xa0c70000, 0xaf8c0000, 0xaf8c0000)
    the space 241984K, 7% used [0xa0c70000, 0xa1ea3860, 0xa1ea3a00, 0xaf8c0000)
    compacting perm gen total 14592K, used 14337K [0xaf8c0000, 0xb0700000, 0xb38c0000)
    the space 14592K, 98% used [0xaf8c0000, 0xb06c07e8, 0xb06c0800, 0xb0700000)
    Local Time = Mon May 2 09:21:20 2005
    Elapsed Time = 321329
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_07-b05 mixed mode)
    #

    Hi
    Does a simple java.net.InetAddress.getHostName fail?
    How about not using NPTL? Not too familiar with linux but since u mentioned tls is always seen when using tls.
    Hope this helps.

  • Multi monitor problem

    hi everybody!
    i have the desktop expanded on 2 monitors. and now, if i play a game i can motion the mouse on the second monitor. so if i press a mouse button, the game minimized.
    do you know what i mean and can help me?

    From what I've seen, Java can't programmatically make a single window span multiple monitors. One JFrame (or one JWindow, or one fullscreen window) per monitor seems to be the only way to go. There doesn't seem to be a problem with this approach; you'd just have to shift pages from one frame to the other (presumably you could just move whatever object you're displaying in the page, rather than re-parsing the HTML.)

  • AFAB program performance different if TEST switch activated

    Hi colleagues,
    We are experiencing a strange performance in AFAB program.
    We have uploaded several assets in a particular company code. When executing AFAB transaction in TEST mode, the new assets are not considered, whereas, when performing a REAL execution yes they are.
    We think that when reconciliating assets at the end of the year, this issue which is not harmful (but strange indeed) may be solved, but we are not sure at all.
    Can anybody provide a clue on what is happening.
    Thanks and my best regards
    Edited by: Patxi Albisu on Oct 28, 2008 11:10 AM
    Edited by: Patxi Albisu on Oct 28, 2008 11:11 AM

    michael483 wrote:
    Clearly I've touched a nerve.Not the one you think. I'm sure you're assuming we're a bunch of Java fanboys because we didn't jump on your bitch session band wagon. On the contrary, we see Java for what it is--a decent general purpose language that has is strengths and weaknesses and is suited for some jobs and not others. The temper tantrum tone of your post is annoying, regardless of the topic.
    HotSpot's optimizer is all-around crap and you all know it,No, I don't know that. What I do know is that I've seen Java code run much faster and more smoothly since the introduction of hotspot, and that it is sufficient for the tasks we've set it on the various projects where I've used it.
    and the best answer you can give is "don't use Java".Well, duh. If a tool doesn't suit the needs of the job at hand, you don't use it, and if you have no choice, then you do what you can to work around it the best you can. This is what professionals do.
    What did you expect as a response to your little hissy rant? Did you really think your post was a good way to try to solve whatever technical or business problem you're encountering?
    Fine, I won't.Wise choice. If nothing else, your blood pressure might come back down.

  • JNI and Out of Memory errors

    Hi,
    At my job, we seem to have a memory leak related to JNI. We know we
    have a memory leak because we keep getting Out of Memory errors even
    after increasing the maximum heap size to more than 256 megs. And we
    know that this is the application that is eating up all the system
    memory.
    We are running under Windows 2000, with both JDK 1.3.0 and JDK 1.4.1.
    We tried looking at the problem under JProbe, but it shows a stable
    Java heap (no problems, except that the Windows task manager shows it
    growing and growing...)
    I tried a strip down version, where I set the max heap size to 1 Meg,
    and print out the total memory, memory used, and maximum memory used at
    a 5 sec interval.
    Memory used = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory().
    Well, I let that strip down version running for about a day. The
    maximum memory used has stabilized to about 1.1 Meg, and has not
    increased. The current memory used increases until it gets to some
    threshold, then it decreases again. However, the Windows task manager
    shows the memory increasing -- and currently it is at 245 Megs!
    In the lab, the behavior we see with the Windows task manager is as
    follows:
    1. Total memory used in the system increases until some threshold.
    2. Then it goes back down by about 100 Megs.
    3. This cycle continues, but at each cycle the memory goes back down
    less and less, until the app crashes.
    Now, our theory is that JNI is consuming all this memory (maybe we are
    using JNI wrong). That's the only explanation we can come up with to
    explain what we have seen (Java showing an OK heap, but the task
    manager showing it growing, until crashing).
    Does that make sense? Can the new operator throw an Out of Memory
    error if the system does not have enough memory to give it, even if
    there is still free heap space as far as the Runtime object is
    concerned? Does the Runtime object figures objects allocated through
    JNI methods into the heap used space?
    Note that I know the task manager is not a reliable indicator.
    However, I don't think a Java app is supposed to runaway with system
    memory -- the problem is not simply that the Java app is consuming too
    much memory, but that it seems to always want more memory. Besides, we
    do get the Out of Memory error.
    Thanks for your help,
    Nicolas Rivera

    Hi,
    there are two sources of memory leakage in JNI:
    - regular leaks in c/c++ code;
    - not released local/global references of java objects in JNI.
    I think that the first issue in not a problem for you. The second is more complex. In your JNI code you should check
    - how many local references alive you keep in your code as their number is restricted (about 16 and can be enlarged). The good style is not to store local references but keep only global.
    - any local reference accepted from java call in JNI are released by JVM. You should release local references you created in JNI and also global references.
    - do not use a large number of java object references. Each new reference gets new memory in JVM. Try to reuse refences.
    I guess that is your problem.
    Vitally

  • Read TIF image properties

    How can I read all the properties of TIFF like "SUMMARY", "TITLE" , "AUTHOR" etc.... which are actually seen when you RIGHT CLICK on the image?????
    Also some of the images have additional custom tab named "imagedetails" which should also be read programmatically.
    This custom tab is not normally displayed on right click. It is displayed when I install "eistream" imaging s/w.
    I have seen java imaging api's but could not find which tag could read the right click properties of TIFF image.
    Please suggest the right API for obtaining the right click properties of TIFF image file.

    I am still getting problems here, but I don't know that my imagereader is correct.
    public class Test {
         public static void main(String[] args) {
              File in = new File("te.tif");
              ImageReader reader = (ImageReader)ImageIO.getImageReadersByFormatName("tif").next();
              System.out.println("Found reader " + reader);
              ImageInputStream iis = new FileImageInputStream(in);
              reader.setInput(iis);
              System.out.println(in + " contains " + reader.getNumImages(true) + "pages");
              IIOImage iimage = reader.readAll(0, new ImageReadParam());
              IIOMetadata imageMetadata = reader.getImageMetadata(0);
              //Get the IFD (Image File Directory) which is the root of all the tags
              //for this image. From here we can get all the tags in the image.
              TIFFDirectory ifd = TIFFDirectory.createFromMetadata(imageMetadata);
              TIFFField allFields = ifd.getTIFFField();
              for (int i = 0; i < allFields.length; i++) {
                   TIFFField field = allFields;
                   String name = field.getTag().getName();
                   int number = field.getTagNumber();
                   String type = TIFFField.getTypeName(field.getType());
                   String value = field.getValueAsString(0);
                   System.out.println("- " + name + ", " + number + ", " + type + ", " + value);
    Thanks,
    Steve

  • Webservices with pl/sql

    In all examples for webservices i have seen java is used.
    Is it possible to make a webservice in pl/sql without the use of java?

    Hi Folks,
    I have successfully deployed the PL/SQL calling web services following example in the link provided above. However, I face a problem whereby I need to pass in 2 parameters. The example given is only passing 1 parameter. Can somebody tell me how can I pass in 2 parameters? Appreciate if you can help.
    CREATE OR REPLACE PACKAGE time_service AS
    FUNCTION get_local_time(zipcode IN VARCHAR2) RETURN VARCHAR2;
    END;
    CREATE OR REPLACE PACKAGE BODY time_service AS
    -- Location of Web service definition
    -- http://www.alethea.net/webservices/LocalTime.asmx?WSDL
    FUNCTION get_local_time(zipcode IN VARCHAR2) RETURN VARCHAR2 IS
    req demo_soap.request;
    resp demo_soap.response;
    BEGIN
    req := demo_soap.new_request('LocalTimeByZipCode',
    'xmlns="http://www.alethea.net/webservices/"');
    demo_soap.add_parameter(req, 'ZipCode', 'xsd:string', zipcode);
    resp := demo_soap.invoke(req,
    'http://www.alethea.net/webservices/LocalTime.asmx',
    'http://www.alethea.net/webservices/LocalTimeByZipCode');
    RETURN demo_soap.get_return_value(resp, 'LocalTimeByZipCodeResult',
    'xmlns="http://www.alethea.net/webservices/"');
    END;
    BEGIN
    * Since the Web service resides outside of the firewall, we need to set
    * the proxy in the current session before invoking the service.
    utl_http.set_proxy('www-your-proxy', NULL);
    utl_http.set_persistent_conn_support(TRUE);
    END;
    regards,
    chewlf

  • Content-Type=application/x-www-form-urlencoded with UTF-8  data which servlet fails to interpret correctly .

    My Environment is Weblogic 6.1 SP2 on WIN2K.
    I have an HTTP client sending an HTTP request with
    Content-Type=application/x-www-form-urlencoded
    the data in HTTP request is in UTF-8. Note that HTTP client does not specify charset=UTF-8
    as part of the Content-Type.
    I have a servlet "VosXmlEvents" processing this HTTP request.
    The HTTP request contains data like &#8220;Zoë&#8221; which the servlet below
    interprets as &#8220;Zoë&#8221; causing me to think that my deployment settings
    might be wrong.
    My Deployment settings:
    In weblogic.xml deployment descriptor I have specified following:
    <charset-params>
    <!-- I specified this so that I can tell to weblogic that HTTP request data is
    UTF-8 so weblogic can successfully convert it to ISO-8859-1 as per Java servlet
    spec.-->
    <input-charset>
    <resource-path>/vos/events/xml/*</resource-path>
    <!-- I tried both UTF8 and UTF-8 and got same results-->
    <java-charset-name>UTF8</java-charset-name>
    </input-charset>
    <!-- I specified the the settings below just to be on the safe side, as I have
    seen java documentation, newsgroups etc. using slightly different, names for the
    same char encoding/canonical names . Java uses MIME preferred names,I think I
    dont have to do this but I hope specifying these should not do any harm either,
    am I correct in assuming it? (see reference 1 and 2. below for details)-->
    <charset-mapping>
    <iana-charset-name>ISO_8859-1:1987</iana-charset-name>
    <java-charset-name>ISO-8859-1</java-charset-name>
    </charset-mapping>
    <charset-mapping>
    <iana-charset-name>ISO_8859-1:1987</iana-charset-name>
    <java-charset-name>ISO8859_1</java-charset-name>
    </charset-mapping>
    <charset-mapping>
    <iana-charset-name>UTF-8</iana-charset-name>
    <java-charset-name>UTF-8</java-charset-name>
    </charset-mapping>
    <charset-mapping>
    <iana-charset-name>UTF-8</iana-charset-name>
    <java-charset-name>UTF8</java-charset-name>
    </charset-mapping>
    </charset-params>
    My web.xml has:
    <servlet>
    <servlet-name>VosXmlEvents</servlet-name>
    <servlet-class>some class name</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>VosXmlEvents</servlet-name>
    <url-pattern>/vos/events/xml/*</url-pattern>
    </servlet-mapping>
    According to Servlet spec. 2.3 sec. SRV.4.9 Request data encoding, cut pasting
    from spec below:
    "Currently, many browsers do not send a char encoding qualifier with the Content-Type
    header, leaving open the determination of the character encoding for reading HTTP
    requests. The default encoding of a request the container uses to create the request
    reader and parse POST data must be &#8220;ISO-8859-1&#8221;, if none has been
    specified by the client request. However, in order to indicate to the developer
    in this case the failure of the client to send a character encoding, the container
    returns null from the getCharacterEncoding method.
    If the client hasn&#8217;t set character encoding and the request data is encoded
    with a different encoding than the default as described above, breakage can occur.
    To remedy this situation, a new method setCharacterEncoding(String enc) has been
    added to the ServletRequest interface. Developers can override the
    character encoding supplied by the container by calling this method. It must be
    called prior to parsing any post data or reading any input from the request. Calling
    this method once data has been read will not affect the encoding."
    Q1. Should not <input-charset> related settings in weblogic.xml for a servlet
    helps container actually do some thing like setCharacterEncoding(String enc) on
    HTTP Request before it call the servlet?
    Q2. If not then that would mean I have to programatically call setCharacterEncoding(String
    enc)to correctly interpret my HTTP Request?
    Q3. If the answer to Q1 is "yes" then I will assume that getInputStream() or getReader()
    methods on the HttpServletRequest will give the chacter in the client encoded
    format which in this case is UTF-8, i.e I will get "Zoë" as in this example. Am
    I correct here?
    Reference:
    1. http://edocs.bea.com/wls/docs70/webapp/components.html#139932
    2. http://java.sun.com/j2se/1.3/docs/guide/intl/encoding.doc.html

    Stefan,
    Thanks for the information. I have the following question then.
    The Webserver I am interacting with does not recognize user and password provided in the channel. It accepts user and pwd in payload and in application/x-www-form-urlencoded  content type only.
    Sample Raw Post that server server requires looks like this
    User=yourname&Password=yourpassword&INPUT_XML=%3C%3Fxmlversion%3D%221.0%22standalone%3D%22no%22%3F%3E%3CDELIVERY%3E%3CMESSAGE%3E%0D%0A++++%3CDESTINATION_ADDR%3E%2B447900570205%3C%2FDESTINATION_ADDR%3E%%3C%2FMESSAGE%3E%0D%0A%0D%0A%3C%2FDELIVERY%3E%
    What i have done is that constructed the post manually in Java code in un encoded form and expected the HTTP Adapter to do the encoding. Having done this, the HTTP Server is able to scuccessfully parse the xml except for & and < , > chars which err out as invalid XML.
    Is there an elegant way of doing above scenario using XML post and standard HTTP Adapter.
    Best Regards,
    Sudharshan N A

  • How to handle modules in OOP

    Hi,
    I am writing a simple Rock-Paper-Scissors program and I read a lot of basic stuff so far, also read some parts of Code Complete, but I still have some basic questions about the structure of an OOP program:
    - If I have "module" of the program (for example that calculates the computer's choice in my Rock-Paper program based on my previous choices) that is too big to put it into a method, do I have to create a class for it? For what I read so far, classes are not to pack some part of the code together, but I don't how else could I handle a module of a program. In my Rock-.. program I would call it Calculator, I think it's ok, for example I've seen java.util.Scanner, which is some kind of "doer" packed in a class, too.
    - But if I create this class, it would not be a blueprint for objects. I only need one object, so should I use that so called singleton pattern?
    - Or should I make every field in this object static instead of the singleton pattern?
    (I also don't know what the Main class and main() method should usually contain, I don't know if this connects to this in any way, so this might be another topic..)
    Thanks in advance for any help.

    lemonboston wrote:
    Hi,
    I am writing a simple Rock-Paper-Scissors program and I read a lot of basic stuff so far, also read some parts of Code Complete, but I still have some basic questions about the structure of an OOP program:
    - If I have "module" of the program (for example that calculates the computer's choice in my Rock-Paper program based on my previous choices) that is too big to put it into a method, do I have to create a class for it? For what I read so far, classes are not to pack some part of the code together, but I don't how else could I handle a module of a program. In my Rock-.. program I would call it Calculator, I think it's ok, for example I've seen java.util.Scanner, which is some kind of "doer" packed in a class, too.
    I'm not 100% sure if you are using the right terminology. I normally think of a module as a grouping of functionality, in Java normally a series of classes (more likely a group of packages).
    Generally, if logic is too complex, you need to break it into smaller, discrete pieces. Ideally, each method does one thing and only one thing well. This has nothing per se to do with OOP. You could do the same procedurally with namespaces (or packages or whatever they offer) and organizing your source files.
    Within Java, you would have the option of breaking your larger method into smaller (likely private) methods. Then once you see that different methods have different responsibilities, you may refactor your design into separate classes.
    - But if I create this class, it would not be a blueprint for objects. I only need one object, so should I use that so called singleton pattern?Are you talking classes or objects? Your design may need one or more classes. A singleton is a pattern that when implemented ensures at runtime that only one instance (object) of a class exists in a given JVM.
    - Or should I make every field in this object static instead of the singleton pattern?
    I think you are conflating things here. What is motivating you to make something static?
    (I also don't know what the Main class and main() method should usually contain, I don't know if this connects to this in any way, so this might be another topic..)
    Yes, another topic. The class can be named anything. It simply needs a main() method with a valid signature to act as an application entry point.
    Thanks in advance for any help.You are welcome.
    - Saish

  • Business logic in PL/SQL?

    Hello,
    I am designing a 3-tier, web-based intranet application for my client. It's going to be a WebSphere portal app with Struts, running on Oracle 8.1.7.
    One of the requirements is to implement the business logic in the back-end (PL/SQL), not in Java (although that is what I'm used to do). The reason probably has something to do with fear of performance issues ("the more code runs in Oracle, the faster") and resource planning ("more people here know Oracle better than Java").
    This unusual (?) choice in my humble opinion leaves me with two major issues; how to cache database results and how to perform the O/R mapping.
    I know how to use CallableStatements and JDBC, but I'd really like to avoid such a solution now we have EJB 2.1 and Hibernate and everything. And without caching as done by any sensible app server I fear performance issues.
    Does anyone know a tool that can perhaps generate Java code and performs the O/R mapping? Or a tool that avoids me having to implement up to a hundred (!) CallableStatements and ResultSet-To-JavaBean mappings. I've seen Apache's commons-dbutils that seems to do this.
    Does anyone have experience implementing business logic in PL/SQL and calling procedures from Java? Is performance really an issue here?
    Thanks in advance for any input,
    regards,
    Bram Rooijmans

    This unusual (?) choice in my humble opinion leaves me
    with two major issues; In non-trivial applications excluding all business logic from the database is usually an architecture or design bug. Businesses do use the database directly due to legacy, tools, comfort level, etc. And in those cases the data still needs to be consistent. Not to mention that for some business logic the database can be orders of magnitude faster in running it versus external logic.
    On the other hand I would consider it a bug as well if someone told me that all the business logic must be in the database and no where else. (At the very least I would suspect and question their definition of business logic in that case.)
    I know how to use CallableStatements and JDBC, but I'd really like to avoid such a solution now...How are you going to implement any non-trivial business logic in oracle without using stored procs?
    Does anyone have experience implementing business logic in PL/SQL and
    calling procedures from Java? Not sure of the question. Certainly I have implemented business logic in PL/SQL. And many people have used stored procs via java.
    Is performance really an issue here?No idea. That is a dependency of your system, not of java/databases in general.
    I have seen java only solutions that even with scalling take hours to do operations that could be done in much less time using the database itself.
    I have seen requirements which would have taken hours even in the database and changing the requirements meant it took less than 2 minutes. (It had nothing to do with java nor the database.)
    I have seen code implementations which took significant database processing time where the entire solution could have been done without the database at all.
    I have seen solutions where, due to business requirements, the same business logic was implemented in different languages and in slightly different ways in each. Implementing the logic in stored procs meant that all of the systems that used it now would be using the same rules. In that case it is possible that the solution was actually slower. But if it was it was not noticed and the consistency was much more important.

  • Hard code of IP Address

    hi
    I have seen java code Containing IP Address of Other server. But when we have most java (components)files containing IP Address in the code, to make a hit to another Server, then it becomes tedious process to change these IP Address in all the file(components) when necessary. So is there any way to generate java file which will take care of these...
    like Hash table where it fetch the IP Addresses....
    Please some one Elucidate on this issue.
    from
    yogi

    Why not just put the IP address(es) in a configuration file? It's pretty easy to read and write simple properties using the java.util.Properties class.

Maybe you are looking for

  • Wind Shake Effect Around Z Axis

    I would like to create a "Wind Shake Effect Around Z Axis". I have a image of the leave in vertical position standing on its stem and would like it to have an appearance as if it trembles in the wind. I applied Wiggle effect. However it wiggles/disto

  • Hi....Urgent

    Hi, How can I change the old package name into new one for a script? Kindly reply asap. Thanks in advance.

  • How do I find nook id for a book

    how do I find nook id for a book

  • Init nad password file

    hi i m creating a new database with the name "test"..when we issue the command of startup, by default it checks the initifile with the name "inittest.ora" if "spfileinit.ora" at $ORACLE_BAST/product/9.2.0.1.0/dbs....i want to ask that can we change t

  • What happens if the remote class is changed by using codebase

    Hello, I have read http://java.sun.com/j2se/1.3/docs/guide/rmi/codebase.html. My question is: By using codebase the remote classes can be downloaded to client only one time(first time). If the remote classes is changed at server side, then restarting