Java on Sparc64 running Linux?

Hi,
is there a Java JRE or SDK package for Linux on a Sparc64 available?
please help.
NetMax

The Blackdown project have a Linux release on Sparc - the latest is 1.4.1 beta, see http://www.blackdown.org

Similar Messages

  • JDK 1.5 crashed on EM64T box running Linux AS

    Has anyone else encountered this problem?
    I'm testing the tech preview 1.5 JDK on a dual Nocona Xeon, running RedHat ES 3. The app server is actually resin (2.1.4) and not Weblogic.
    Looks like it crashed on a SIGSEV
    This is the crash dump:
    ===== BEGIN DUMP =============================================================
    JRockit dump produced after 0 days, 00:21:32 on Fri Feb 4 18:42:55 2005
    Additional information is available in:
    /usr/local/resin-2.1.14/jrockit.27821.dump
    No core file will be created because core dumps have been
    disabled. To enable core dumping, try "ulimit -c unlimited"
    before starting JRockit again.
    Please send the file(s), information about your system
    setup and the program you were running to [email protected]. Thank you.
    Error Message: Illegal memory access. [54]
    Signal info : si_signo=12, si_code=-6
    Version : BEA WebLogic JRockit(R) dra-38972-20041208-2004-linux-x86_64
    GC : System optimized over throughput (initial strategy singleparpar)
    : GC strategy for GC 43 was singleparpar
    : GC strategy for GC 44 was singleparpar
    : GC strategy for GC 45 was singleparpar
    : GC strategy for GC 46 was singleparpar
    : GC strategy for GC 47 was singleparpar
    : mmHeap->data = 0x20000000, mmHeap->top = 0x4cfed000
    : mmStartCompaction = 0x22cfed00, mmEndCompaction = 0x259fda00
    CPU : Intel Pentium 4 SSE SSE2 NetBurst
    Number CPUs : 4
    Tot Phys Mem : 8247975936
    OS version : Red Hat Enterprise Linux ES release 3 (Taroon Update 3)
    Linux version 2.4.21-20.EL ([email protected]) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-42)) #1 SMP Wed Aug 18 20:34:58 EDT 2004
    State : JVM is running
    Command Line : -Xmx4096m -Xms128m -Dresin.home=/usr/local/resin com.caucho.server.http.HttpServer -socketwait 42647 -stdout /usr/local/resin/log/stdout.log -stderr /usr/local/resin/log/stderr.log
    Environment : JAVA_HOME=/usr/local/jrockit-jdk1.5.0, java.home=/usr/local/jrockit-jdk1.5.0/jre, java.class.path=.:/usr/local/resin/lib/resin.jar:/usr/local/resin/lib/jdbc2_0-stdext.jar:/usr/local/resin/lib/jta_101.jar:/usr/local/resin/lib/jndi.jar:/usr/local/resin/lib/dom.jar:/usr/local/resin/lib/sax.jar:/usr/local/resin/lib/jaxp.jar:/usr/local/resin/lib/jmx.jar:/usr/local/resin/lib/webutil.jar:/usr/local/resin/lib/jdbc-mysql.jar:/usr/local/jrockit-jdk1.5.0/lib/tools.jar:/usr/local/jrockit-jdk1.5.0/jre/lib/rt.jar:/usr/local/resin/lib/jsdk23.jar, java.library.path=/usr/local/jrockit-jdk1.5.0/jre/lib/amd64/jrockit:/usr/local/jrockit-jdk1.5.0/jre/lib/amd64:/usr/local/jrockit-jdk1.5.0/jre/../lib/amd64::/usr/local/resin/libexec
    C Heap : Good; no memory allocations have failed
    Registers (from context struct at 0x2a9a922228/0x2a9a9222a0):
    RAX = 0000000000000001 RBX = 0000002a9a9228f0
    RCX = 0000002a9a922a78 RDX = 0000000000000000
    R8 = 0000000000000000 R9 = 0000000000000002
    R10 = 0000000000000027 R11 = 0000002a95e26d2f
    R12 = 0000002a9a922a78 R13 = 0000002a9f2fffb0
    R14 = 0000000000000000 R15 = 0000002a9a922870
    RSI = 0000000000000001 RDI = 000000552c0d6020
    RSP = 0000002a9a9226e0 RIP = 0000002a95ce629a
    RBP = 000000552c0d6020 RFL = 00000246
    CS = 0033 GS = 0000 FS = 0000
    Stack:
    0000002a9a9226e0: 0000000000000053 0000002a9a922a50 0000002a9f1ffc60 0000000000000000 0000002a9f2fffb0 0000002a95ce7536
    0000002a9a922710: 0000002a9a9226e0 0000002a95ceafee 0000002a9a922920 0000002a9a922830 0000002a9a922920 0000002a95ceb6ed
    0000002a9a922740: 0000002a9d52ff50 0000002a95ceadf7 0000002a9a922920 0000002a95ceafee 0000002a9a922960 0000002a9a922870
    0000002a9a922770: 0000002a9a922960 0000002a95ceb6ed 0000002a9a922830 0000002a9a922870 0000002a9a922960 0000002a95ceac98
    0000002a9a9227a0: 0000002a9a922998 0000002a95ceafa4 0000000000000000 0000002a95ceb7f5 000000012858c517 000000012858c517
    0000002a9a9227d0: 0000002a9a922830 0000002a95d9cfa9 000000012858c517 000000012858c513 0000002a95cec8bd 0000002a9f2fffb0
    0000002a9a922800: 0000000000d32970 0000002a9a922a50 0000002a9a922a50 0000002a9a922870 0000000000000000 0000000000d32970
    0000002a9a922830: 0000000000000000 0000002a95cec67d 0000000000000000 0000002a9a922a50 0000002a9a922a50 0000002a95cec8bd
    0000002a9a922860: 0000002a9f2fffb0 0000002a95cec756 000000012858c513 0000000400000000 0000000000000000 000000c600000000
    0000002a9a922890: 0000000000000004 0000000000000000 0000000000000000 0000002a95f58550 0000000100000008 0000000100000000
    0000002a9a9228c0: 0000000000004000 0000000000000000 0000000000000000 0000000000000000 0302010000000000 0000000000000003
    0000002a9a9228f0: ffffffff00000002 0000000000000001 0000000000000000 0000000000000000 0000000100000008 0000000000000000
    0000002a9a922920: 0000000000000000 ffffffff00000000 0000000000000000 0000000000000000 ffffffff00000000 0000000000000004
    0000002a9a922950: 0000000000000000 0000000000000000 ffffffff00000003 0000000000000001 0000000000000000 ffffffff00000000
    0000002a9a922980: 0000000000000004 0000000000000000 0000000000000000 ffffffff00000000 0000000000000000 0000000000000000
    0000002a9a9229b0: ffffffff00000000 0000000000000004 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    0000002a9a9229e0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000002a95cec8e4
    0000002a9a922a10: 0000002a9f1ffc60 0000002a9a922a50 0000000000000001 0000002a95cec81a 0000000000d32970 0000002a9f1ffc60
    0000002a9a922a40: 0000000000d32970 0000002a95da3b7d 0000002a9f2fffb0 0000002a9f1ffc60 0000000000d329e0 0000002a9dfba810
    0000002a9a922a70: 0000002a9a922870 0000000000000000 0000000000d32970 0000002a9f1ffc60 0000000000d32970 0000002a9a922bc0
    0000002a9a922aa0: 0000002a9a922b30 0000002a95da3c8e 0000002a9a922b30 0000002a95d9d919 0000000000000000 0000000000d32970
    0000002a9a922ad0: 0000000000000000 0000000000d329e0 0000002a9a922ab0 0000002a95d9d919 0000000000000000 0000000000d32970
    0000002a9a922b00: 0000000000d32970 0000002a9f1ffcd0 0000002a9f1ffc60 0000000000000000 0000000000d32970 0000002a95da26b0
    0000002a9a922b30: 0000002a9a922bc0 0000002a95d9d919 0000000000000000 0000000000d32970 0000000000000000 0000002a95fedb60
    0000002a9a922b60: 0000002300000022 0000000000000026 0000000000d32970 0000000000000000 0000000000000000 0000002a9a922c40
    0000002a9a922b90: 0000002a9a922c10 0000002a95d28cb6 0000002a9a922d40 0000002a95da27ab 0000000000000000 0000002a95da27e4
    0000002a9a922bc0: 0000002a9a922cd0 0000002a95d9d919 0000000000000000 0000000000d32970 0000002a9e876018 0000002a9604f600
    0000002a9a922bf0: 0000000000000000 0000002a9a922d40 0000002a9e8599a0 0000002a95d28e58 0000000000000000 0000002a9a922c40
    0000002a9a922c20: 0000000000000000 0000000000d32b40 0000000000d32b40 0000002a95d2a5d7 0000002a9e8b1390 0000002a9e8b1390
    0000002a9a922c50: 0000000000d32b40 0000002a95d7a9df 0000000000d32970 0000000000000000 0000002a95f66020 0000002a95d2a660
    0000002a9a922c80: 000000000293b2a8 0000000000000003 0000000000000002 000000000293b258 0000002a9a922d40 0000002a95d2a724
    0000002a9a922cb0: 0000002a9a922e30 0000002a95d0e9f5 0000000002aa3a98 000000009a922e30 0000002a9a924670 0000002a95d9d919
    0000002a9a922ce0: 0000000000000000 0000000000d32970 0000000000000000 000000000293b258 0002000200020000 0000000000000022
    0000002a9a922d10: 000000000293b1d8 0000000000d32b40 0000000002aa3550 00000000029432e0 000000000293b1d8 0000002a95d299f7
    0000002a9a922d40: 0000002a9a922c40 0000000002aa3550 0000000000000022 0000002a95d618dc 000000040291b970 0000002a95d66c94
    0000002a9a922d70: 0000000000000002 0000000000000022 0000000000000023 0000000002aa3af8 0000000002aa3550 0000002a95d66f53
    0000002a9a922da0: 0000000000d32b40 000000000293b1d8 0000000002aa3550 0000000002aa3af8 0000002a95d67351 0000000000d32b40
    0000002a9a922dd0: 0000002a95d66f03 0000002a95d66edb 0000000000000023 0000000000000022 0000000000000023 0000000002aa3550
    0000002a9a922e00: 0000000000d32b40 000000000293b258 0000000002aa3550 0000000000000000 0000000000d32b40 0000002a95d670e8
    0000002a9a922e30: 000000000293b258 0000002a95d67253 0000000000000000 0000000002aa3550 000000000293b1d8 0000002a95d60ed1
    0000002a9a922e60: 0000002a9a922e90 0000002a95d9d919 0000000000000000 0000000000d32970 0000000000000005 000000000293b258
    0000002a9a922e90: 0000002a9a924670 0000002a95d9d919 0000000000000000 0000000000d32970 0000000000000002 0000002a95feb5c0
    0000002a9a922ec0: 0000000000000000 0000000002aa3550 0000000000d32b40 0000002a9a922f70 0000000000000000 0000000001240058
    Code:
    0000002a95ce619a: 004d66e8086f8bcc f883717402f88300 8300000100870f02 000000f7850f01f8 00004d63e8df8948 097504fd83c48941
    0000002a95ce61ca: 000008bdffe68341 4b8b2e7707fd8300 000001bb03e1c108 44cbff48e3d34800 3ca1e8ef894ce689 d2f748da8948000b
    0000002a95ce61fa: 8949f3214cd02148 44f2894cde0949c6 3c92e8ef894ce689 4d00000098e9000b 243c83410b74e485 4c00000088850f00
    0000002a95ce622a: 0aeae8df8948ee89 0000bec589480000 0998e8c789480000 854d0f74c0850000 012404c7416474e4 08738b5aeb000000
    0000002a95ce625a: ef894800000000ba 74c08500000990e8 c7414174e4854d0f 37eb000000022404 1e7402f88308438b 01f883077702f883
    0000002a95ce628a: 7404f88323eb0e74 17eb157408f88314 446611eb00758844 7589440aeb007589 480075894c04eb00 08246c8b48241c8b
    0000002a95ce62ba: 6c8b4c1024648b4c 482024748b4c1824 56415741c328c483 8148535554415541 fd8949000001c8ec 1824548948f48949
    0000002a95ce62ea: 44c74810244c8948 00ba000000000824 840fff8548000000 0b3814e800000122 8d485575e4854d00 fbe8c78948202474
    0000002a95ce631a: 00000000bafffc24 0000fd840fc08548 8948ee894c33eb00 8948000009e6e8df 000001be41082444 8948ee894c67eb00
    0000002a95ce634a: 8948000009cee8df 000001bf41082444 8d4c000000a3e900 000000bf41202464 bd00000000be4100 000000be00000001
    0000002a95ce637a: 004b08e8e7894c00 74c08548c3894800 004b76e8df894821 ee89957402f88300 4ae7e8e7894cc5ff c08548c389480000
    Loaded modules:
    (* denotes the module causing the exception)
    0x400000-0x410ef7 /usr/local/jrockit-jdk1.5.0/bin/java
    0x2a95672000-0x2a956808d8 /lib64/tls/libpthread.so.0
    0x2a95787000-0x2a9580dd17 /lib64/tls/libm.so.6
    0x2a9590f000-0x2a9591144f /lib64/libdl.so.2
    0x2a95a12000-0x2a95b4c8a8 /lib64/tls/libc.so.6
    0x2a95556000-0x2a9556a97d /lib64/ld-linux-x86-64.so.2
    0x2a95c57000-0x2a95e4e7cf* /usr/local/jrockit-jdk1.5.0/jre/lib/amd64/jrockit/libjvm.so
    0x2a96057000-0x2a960622cf /lib64/libnss_files.so.2
    0x2a96ac8000-0x2a96aec433 /usr/local/jrockit-jdk1.5.0/jre/lib/amd64/libjava.so
    0x2a96bf2000-0x2a96bfe627 /usr/local/jrockit-jdk1.5.0/jre/lib/amd64/libverify.so
    0x2a96d01000-0x2a96d14017 /lib64/libnsl.so.1
    0x2a98f2d000-0x2a98f30b9f /usr/local/resin-2.1.14/libexec/libresin.so
    0x2a99033000-0x2a99047e8f /usr/local/jrockit-jdk1.5.0/jre/lib/amd64/libnet.so
    "tcpConnection-6802-5" id=85 idx=0x8c tid=182981908848 lastJavaFrame=0x2a9a9232b8
    Thread Stack Trace:
    at acSetOperand+295()@0x2a95ce629a
    at jrockit/vm/Classes.defineClass0(Ljava/lang/ClassLoader;Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;(Native Method)
        at jrockit/vm/Classes.defineClass(Ljava/lang/ClassLoader;Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;(Unknown Source)
        at java/lang/ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;(Unknown Source)
        ^-- Holding lock: sun/misc/Launcher$AppClassLoader@0x2029c028[recursive]
    at java/security/SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;(SecureClassLoader.java:124)
    at java/net/URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;(URLClassLoader.java:260)
    at java/net/URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;(URLClassLoader.java:56)
    at java/net/URLClassLoader$1.run()Ljava/lang/Object;(URLClassLoader.java:195)
    at jrockit/vm/AccessController.do_privileged_exc(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;J)Ljava/lang/Object;(Unknown Source)
    at jrockit/vm/AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;(Unknown Source)
    at java/net/URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;(URLClassLoader.java:188)
    at java/lang/ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;(Unknown Source)
    ^-- Holding lock: sun/misc/Launcher$AppClassLoader@0x2029c028[recursive]
    at sun/misc/Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;(Launcher.java:268)
    ^-- Holding lock: sun/misc/Launcher$AppClassLoader@0x2029c028[recursive]
    at java/lang/ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;(Unknown Source)
    at java/lang/ClassLoader.loadClassFromNative(JJ)Ljava/lang/Class;(Unknown Source)
    ^-- Holding lock: sun/misc/Launcher$AppClassLoader@0x2029c028[thin lock]
    at jrockit/vm/RNI.c2java()V(Native Method)
    at jrockit/vm/RNI.generateFixedCode(Ljava/lang/Object;JJ)J(Native Method)
    at jrockit/vm/RNI.staticTrampoline()V(Native Method)
    at sun/tools/javac/SourceClass.checkInternal(Lsun/tools/java/Environment;Lsun/tools/tree/Context;Lsun/tools/tree/Vset;)Lsun/tools/tree/Vset;(SourceClass.java:541)
    at sun/tools/javac/SourceClass.check(Lsun/tools/java/Environment;)V(SourceClass.java:508)
    at sun/tools/javac/Main.compile([Ljava/lang/String;)Z(Main.java:548)
    ^-- Holding lock: sun/tools/javac/Main@0x407a7e78[thin lock]
    at com/caucho/java/JavaCompiler.executeInt(Ljava/lang/String;Lcom/caucho/java/LineMap;)V(JavaCompiler.java:489)
    at com/caucho/java/JavaCompiler.compileInt(Ljava/lang/String;Lcom/caucho/java/LineMap;)V(JavaCompiler.java:438)
    at com/caucho/java/JavaCompiler.compile(Ljava/lang/String;Lcom/caucho/java/LineMap;)V(JavaCompiler.java:419)
    ^-- Holding lock: java/lang/Object@0x374d6138[thin lock]
    at com/caucho/jsp/JavaGenerator.compile(Lcom/caucho/vfs/Path;J)Lcom/caucho/jsp/Page;(JavaGenerator.java:2846)
    at com/caucho/jsp/JspGenerator.generate(Ljava/util/HashMap;Ljava/lang/String;Lcom/caucho/vfs/Path;Lorg/w3c/dom/Document;Ljava/lang/String;Ljava/lang/String;Lcom/caucho/vfs/Path;Lcom/caucho/server/http/CauchoRequest;Lcom/caucho/server/http/CauchoApplication;Ljava/util/ArrayList;)Lcom/caucho/jsp/Page;(JspGenerator.java:322)
    at com/caucho/jsp/JspParser.parse(Lcom/caucho/vfs/ReadStream;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/caucho/vfs/Path;Lcom/caucho/server/http/CauchoRequest;Lcom/caucho/server/http/CauchoApplication;)Lcom/caucho/jsp/Page;(JspParser.java:329)
    at com/caucho/jsp/JspParser.parse(Lcom/caucho/vfs/Path;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/caucho/server/http/CauchoRequest;Lcom/caucho/server/http/CauchoApplication;)Lcom/caucho/jsp/Page;(JspParser.java:234)
    at com/caucho/jsp/JspManager.createPage(Lcom/caucho/vfs/Path;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/caucho/server/http/CauchoRequest;)Lcom/caucho/jsp/Page;(JspManager.java:172)
    at com/caucho/jsp/PageManager.getPage(Lcom/caucho/server/http/CauchoRequest;Lcom/caucho/server/http/CauchoResponse;Ljava/lang/String;Lcom/caucho/vfs/Path;)Lcom/caucho/jsp/Page;(PageManager.java:351)
    ^-- Holding lock: com/caucho/jsp/PageManager$Entry@0x3d49a3c0[thin lock]
    at com/caucho/jsp/PageManager.getPage(Lcom/caucho/server/http/CauchoRequest;Lcom/caucho/server/http/CauchoResponse;)Lcom/caucho/jsp/Page;(PageManager.java:206)
    at com/caucho/jsp/QServlet.getPage(Lcom/caucho/server/http/CauchoRequest;Lcom/caucho/server/http/CauchoResponse;)Lcom/caucho/jsp/Page;(QServlet.java:220)
    at com/caucho/server/http/FilterChainPage.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainPage.java:129)
    at com/caucho/server/http/Invocation.service(Lcom/caucho/server/http/AbstractRequest;Lcom/caucho/server/http/CauchoResponse;)V(Invocation.java:315)
    at com/caucho/server/http/CacheInvocation.service(Lcom/caucho/server/http/AbstractRequest;Lcom/caucho/server/http/CauchoResponse;)V(CacheInvocation.java:135)
    at com/caucho/server/http/QRequestDispatcher.include(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljava/lang/String;)V(QRequestDispatcher.java:364)
    at com/caucho/server/http/QRequestDispatcher.include(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(QRequestDispatcher.java:275)
    at com/caucho/jsp/QPageContext.include(Ljava/lang/String;)V(QPageContext.java:550)
    at search/search__jsp._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(_search__jsp.java:248)
    at com/caucho/jsp/JavaPage.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(JavaPage.java:75)[optimized]
    at com/caucho/jsp/Page.subservice(Lcom/caucho/server/http/CauchoRequest;Lcom/caucho/server/http/CauchoResponse;)V(Page.java:506)
    at com/caucho/server/http/FilterChainPage.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainPage.java:182)
    at com/caucho/server/http/Invocation.service(Lcom/caucho/server/http/AbstractRequest;Lcom/caucho/server/http/CauchoResponse;)V(Invocation.java:315)
    at com/caucho/server/http/CacheInvocation.service(Lcom/caucho/server/http/AbstractRequest;Lcom/caucho/server/http/CauchoResponse;)V(CacheInvocation.java:135)
    at com/caucho/server/http/RunnerRequest.handleRequest(Lcom/caucho/vfs/ReadStream;Lcom/caucho/vfs/WriteStream;)Z(RunnerRequest.java:346)
    at com/caucho/server/http/RunnerRequest.handleConnection(Lcom/caucho/server/Connection;)V(RunnerRequest.java:274)
    at com/caucho/server/TcpConnection.run()V(TcpConnection.java:139)
    at java/lang/Thread.run()V(Unknown Source)
    at jrockit/vm/RNI.c2java()V(Native Method)
    -- end of trace
    Additional information is available in:
    /usr/local/resin-2.1.14/jrockit.27821.dump
    No core file will be created because core dumps have been
    disabled. To enable core dumping, try "ulimit -c unlimited"
    before starting JRockit again.
    Please send the file(s), information about your system
    setup and the program you were running to [email protected]. Thank you.
    ===== END DUMP ===============================================================

    885995 wrote:
    I have set the OS timezone as GMT+10(Australia/Sydney). When I am trying to get the default time zone using java program I still get the time zone as GMT instead of GMT+10.You do know that "Australia/Sydney" is NOT GMT+10, don't you? Sydney time uses DST, GMT does not; and therefore any timezone that is called GMT±n will not either.
    However, that is just FYI and doesn't appear to be your issue; but without some example code we cannot help you*.
    Winston

  • Java Not Displaying Correctly - Linux

    When I run a Java JAR file in linux, the program loads up fine but I cannot see anything. All I do see is the outline to the GUI and a bunch of grey inside. If I click on the X I can partially see the popup asking If I am sure and thats it. Not sure what is going on, I have tried it with different versions of java, jre and jdk. Any help is appreciated.
    Thanks,
    Patrick

    If you are using swing component. Then you require javaplugin 1.3 above is required in your browser. Check your browser if you are openning the GUI in netscape of linux you will be having this problem because netscape 4.7 by default will be having javaplugin 1.1.5 it will not allow you to execute GUI. So you need to update the plugin to 1.3 above. I think your problem will be solved once you change your plugin.
    ravi

  • Java.lang.UnsatisfiedLinkError: running tomcat on java headless?

    Dear all,
    I'm using the iText library to generate pdfs from a database on the fly. Whenever I use some of it's features that require simple things like java.awt.Color, I get an java.lang.UnsatisfiedLinkError as shown:
    java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-1.5.0-sun-1.5.0.18/jre/lib/amd64/libawt.so: libmlib_image.so: cannot open shared object file: No such file or directory
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
            at java.lang.Runtime.loadLibrary0(Runtime.java:822)
            at java.lang.System.loadLibrary(System.java:993)
            at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.awt.Toolkit.loadLibraries(Toolkit.java:1509)
            at java.awt.Toolkit.<clinit>(Toolkit.java:1530)
            at java.awt.Color.<clinit>(Color.java:250)
            at tablereport.processRequest(tablereport.java:55)
            at tablereport.doGet(tablereport.java:130)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
            at java.lang.Thread.run(Thread.java:595)After some research and verifying that libawt.so physically exists I read somewhere that whenever java is installed no a linux box without x (in my case it's a remote vps) java omits certain graphics related libraries like AWT (naturally).
    I also read that you can run java headless to avoid the dependencies to X. Now is there a way to run tomcat (or add variables to tomcat's startup.sh) to avoid having these dependencies?
    Thanks for your help,
    William

    [Googling the exception|http://www.google.com/search?q=java.lang.UnsatisfiedLinkError+at+java.awt.Color.%3Cclinit%3E%28Color.java%3A250%29+tomcat] learns me it's a bug in the mentioned Tomcat + JDK combo.
    Upgrade to the latest if possible.

  • Java Stored Proc. and Linux User

    Hi
    When Oracle run some Java class inside Oracle9i DB what Linux user it use to run them? Is it user named oracle?

    If the Java class only runs inside Oracle, it will run with whatever Oracle permissions the caller has. If the Java class interacts with the system outside of Oracle (i.e. reading and writing files), it will run as whatever user Oracle runs as (i.e. generally oracle).
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • License Key for SAP NW 7.0 - Java Trial Version on Linux - VMware Edition

    Hello,
    I've downloaded the [SAP NetWeaver 7.0 - Java Trial Version on Linux - VMware Edition|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7005cdbf-ba8b-2a10-81b0-ebcfe8061f8f]. I've installed it and got it running with the SLES VMWare Version George pointed me to in this [Forum Topic|Where to download SLES10 SP1 SAP Version?;. It seems that the default License is already expiered and the server stops after 30 minutes. I tried to get a License Key from https://websmp130.sap-ag.de/sap/bc/bsp/spn/minisap/minisap.htm but there is no selection for the Instance Name CTB. Has anyone tried this Trial Version before?
    Regards
    Gregor

    Dear Hannes,
    I assume the same is valid also for the VMWare version of NetWeaver which includes ABAP: [SAP NetWeaver 7.0 - Java and ABAP Trial Version on Linux - VMware Edition|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/102c6e47-cd8e-2a10-8b96-a2102923212f [original link is broken]]
    Could you please initiate to put registration options for this evaluation system onto the license page, too - thanks already in advance.
    Kind regards
    Alex

  • How to execute Java.exe on MAC, LINUX, UNIX...

    okay, I know this is very stupid, but can anybody tell me how to run Java.exe on MAC, LINUX, UNIX?
    I know how to run it from windows, I have a batch file created in windows, will it work on MAC, LINUX and UNIX as well? (I'm not sure if on other OS, there is such a file type call *.bat)

    See what I mean about probably wanting a beginner's book on Unix and/or shell scripting?
    okay crackers, the only thing that I have to do is put
    in the name of my program into "your program here".Not necessarily. There's the ClassPath, program parameters, etc. What you need to put in the "your program here" depends upon your program. What I did was allow the script to be invoked with command-line parameters and you could (depending upon your program) put "-jar myjar.jar" in the indicated spot, if your JAR file was runnable.
    The rest no need to change. right?I don't know. What does your program need? Only you can answer that, not me. I just furnished an example.

  • New java plug-in on linux : jnlp applets not working

    Hello my dear forum,
    Here is (a part of) my configuration :
    * Ubuntu 9.04
    * Firefox 3.0.13
    * Java Plug-in 1.6.0_14 with JRE 1.6.0_14-b08
    I couldn't launch jogl applets in firefox with ubuntu since I updated the new plugin. (like this one : https://jogl-demos.dev.java.net/applettest.html)
    I get this error :
    java.lang.ClassCastException: sun.awt.motif.MToolkit cannot be cast to sun.awt.X11.XToolkit
         at sun.awt.X11.XEmbeddedFrame.addNotify(XEmbeddedFrame.java:53)
         at sun.plugin2.main.client.PluginEmbeddedFrame.addNotify(PluginEmbeddedFrame.java:46)
         at sun.awt.X11.XEmbeddedFrame.<init>(XEmbeddedFrame.java:43)
         at sun.awt.X11.XEmbeddedFrame.<init>(XEmbeddedFrame.java:60)
         at sun.plugin2.main.client.PluginEmbeddedFrame.<init>(PluginEmbeddedFrame.java:37)
         at sun.plugin2.main.client.PluginMain$StartAppletRunner.run(PluginMain.java:927)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    PluginMain: could not create embedded frame
    Does this problem have something to do with this one : http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6625747 ?
    I would really appreciate if someone can help me.

    poupitoupou wrote:
    I thought Java was cross-platform, snirf...It is. But if one uses code that relies on a particular platform then all bets are off.
    >
    I wonder how many people manage to get this applet working on linux :
    https://jogl-demos.dev.java.net/applettest.html
    I don't know what 'working' means for this. I'm using 1.6.0_15 on Ubuntu 9.04 an all I see is 3 gear wheels that don't move.
    >
    Listen, you forum-reader, if you are on linux, can you test this applet and tell me if it is working ?Again - what does 'working' mean?

  • Memory space using a 32bit Java process on Redhat Linux

    I have a java process that I need a lot of memory for. Its a 32 bit process, and I have no desire to have it as 64bit due to the huge pointers it forces.
    So I know I can turn to Solaris where I will have close to 4GB of memory available for this process (right?). But are there Linux alternatives? I am especially curious regarding Redhat on intel64 machines as I have (which is the common desktop hardware nowadays).
    I heard about the hugemem kernel for Redhat, but I am lost understading its nature. It is said it is not available for v.5 for x86. So is it available for the intel64 processors as I have? And what is the max memory space for a java process?
    Any other bit of information about java 32bit process running on a linux flavor on an intel64 machine will be greatly appreciated.
    thanks in advance!
    Woody
    Message was edited by:
    Woody.Benoty

    I'd say this is normal. There are a few things to consider when looking at an application like this:
    1. The 14 MB your process consumes include the memory required to load the java virtual machine. That is, all the base classes, native links, the just in time compiler etc. 14 MB isn't a lot, all things considered.
    2. When you display a message box, java will load additional classes and resources. They increase the heap size, though not really by 4 MB. Java preallocates portions of memory for the heap. If, for instance, your application consumes 16 MB of memory and you allocate another MB, the heap size may grow to 32 MB. Having a free section of heap space to spare increases performance, since java won't have to ask the underlying system for free memory every you create an object. You might want to check out your program in JVisualVM (deployed with every JDK6), which will tell you how much of the allocated heap size is really in use, or you can rely on the according methods in the Runtime class.
    3. The JVM is capable of 'heap shrinking', meaning it will return allocated sections of memory to the OS once in a while. However, it will not do so unless the heap size is significantly larger than the used portion of the heap (otherwise, it would defeat the purpose of preallocating memory). So if you allocate 2GB of RAM when clicking your button and allow this memory to be cleared by the garbage collector, you'll observe that the heap will shrink again eventually.

  • Java not working on Linux? Expert answer needed!

    I am trying to run Java 1.4.2 on Linux (Slackware Live). It works, until I try to do something with the GUI, then I get
    "current locale is not supported in X11, locale is set to CX locale modifiers are not supported"
    I have seen tons of this question posted on the web, but no answer. Any help on how to run a GUI Java application on Linux would be greatly appreciated!

    I guess I better go close that Java program that's
    running on the Linux machine I'm currently using. No
    one told it that Java doesn't work on Linux.
    Or, just consider yourself lucky, because luck seems to be a big part of it. To claim everything is ok because it works on your Linux version does not mean something is not broken in general.
    Is it really OK that Java cannot be run in some countries? To me it is ridiculous, and I spent so much time figuring this thing out as it makes no sense.
    I have scanned the 'net for this problem up and down, and it is a very common one, but noone has come up with a concrete solution. "It works for me" is not a solution, and not helpful. Being ironic about it is even less helpful.
    If you have a concrete solution, please come with it, you would be the only one in the world able to give a clear answer and not just general things like "change the locale to something that works". I figured so much already, but how?? Not even hardcore Linux ppl has been able to come up with an answer.

  • 'Unable to Launch Application Error' - Java Web Start Running Under MS IIS.

    I am attempting to render the following .jnlp in MS IE:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for LottoMadness Application -->
    <jnlp
       codebase="http://localhost/LottoMadness/"
       href="LottoMadness.jnlp">
       <information>
         <title>LottoMadness Application</title>
         <vendor>Rogers Cadenhead</vendor>
         <homepage href="http://localhost/LottoMadness/"/>
         <icon href="lottobigicon.gif"/>
       </information>
       <resources>
         <j2se version="1.5"/>
         <jar href="LottoMadness.jar"/>
       </resources>
       <application-desc main-class="LottoMadness"/>
    </jnlp>I've deployed the .jnlp, .gif, and .jar to MS IIS, running locally on my PC.
    When I attempt to render the .jnlp in IE I obtain an 'Application Error' window stating 'Unable to Launch Application'. Clicking details gives me:
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://localhost/LottoMadness/LottoMadness.jnlp
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)I have configured MS IIS for Web Start, by setting the Extension/Content Type fields to .jnlp and application/x-java-jnlp-file.
    (The .jnlp is basically from 'Programming with Java in 24 Hours', as this is the book I am learning Java from.)

    AndrewThompson64 wrote:
    I am not used to seeing references to a local server that do not include a port number.
    E.G. http://localhost:8080/LottoMadness/
    I have deployed the following HTML (HelpMe.html) to the web server:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
         <title>Untitled</title>
    </head>
    <body>
    Help Me!
    </body>
    </html>When I attempt to render the URL in IE, I see the page just fine. The URL is use is:
    http://localhost/LottoMadness/HelpMe.htmlSo, I think my web server setup and usage is ok.
    >
    As an aside, what happens if (your MS IIS is running and) you click a direct link to..
    [http://localhost/LottoMadness/LottoMadness.jnlp|http://localhost/LottoMadness/LottoMadness.jnlp]
    When I click this link I get the error and exception I cited in my previous post.

  • Java web start running on windows NT4 work station

    I have installed java web start on a windows NT4 work station (service pack 6) with a directx v5. I successfuly launch the sun applications such as swing set 2, but I have some troubles concerning our software which used another look and feel than the default one. A system error is raised saying that the library ddraw.dll could not be loaded.
    I have unistalled and re-installed directx v5 but the error is still raised.
    Does any one can help me to solve this problem ?.
    Thank you.

    Hello Sim085
    thanks for your reply.
    Perhaps it would be easier for us to continue the programming with any kind of VisualStudio Produkt ;-), although we dont't had to think about OOP yet!
    Because of our new Network-Technology (Terminal-Server) we have to discuss serveral possibilities.
    I've read about JSP and ASP.NET, and I want to know if JSP or any kind of JAVA Program will run on a Terminal-Server.
    Are there any special aspects I have to know when running JSP on a terminal server from Microsoft? Is it better to program applications in JAVA or in JSP? ...
    Thanks
    Rasming

  • Can a java program be run in the background?

    Hi all,
    Can a java program be run in the background without the user being aware of it? I need to make a program that continuosly monitors a pc at regular intervals and runs at all time. It should be hidden(shouldn't display on the screen while running) from the user, and also, can it be run as a system file so that even if a user checks he/she would think of it as a system file?

    I'm the administrator of all the computers. Then as I said there are commercial applications that do that.
    Presumably you expect a problem now. And implementing an acceptable solution is going to take you months. Because not only need to 'hide' the application, you also need to set up all the monitoring and logging capability. And the first will require quite a bit of JNI work along with testing (in particular as it could interfer with existing applications on the users computers.)
    I need to
    install the software in all the machines and i want
    that the users who use the machine should not be able
    to close the program through the task manager. If the users have admin rights then they can terminate a windows service.
    And if they don't have admin rights then you can simply turn off the ability to install anything.
    I want
    to know what the resources of the computers are and
    that if anyone has added a resource to it or
    not(attaching a flash usb thumbdrive etc). Lots of JNI.

  • I am having trouble dating to version 3.6.14. I am running Linux/Ubutu OS and I get this error message:/tmp/p7x3vko2.part could not be saved, because the source file could not be read. Please help. Thank you , Deb

    I am having trouble dating to version 3.6.14 or updating to the Beta testing. I am running Linux/Ubutu OS and I get this error message:/tmp/p7x3vko2.part could not be saved, because the source file could not be read. Please help. Thank you , Deb

    Solved for me.
    I set the owner/permissions of my profile's mozilla folder's (and all the files in it) to read/write access, and the problem disappeared.
    in linux:''
    * cd /home/myusername/.mozilla
    * chown -cR myusername:mygroup ./
    * chmod -cR +rw ./
    '''Never do that with root privs (nor with sudo)'''

  • Java error when running Form in Web

    I've got the following message when I run form on web.
    java.lang.ClassNotFoundException: sun.applet.AppletViewer
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    Is there any file missing when I setup my environment.
    Please help me.
    Regards,
    ET
    null

    Thank you very much otherwise I will waste a lot of time.
    Regards,
    ET
    Oracle Developer Team wrote:
    : ET (guest) wrote:
    : : I've got the following message when I run form on web.
    : : java.lang.ClassNotFoundException: sun.applet.AppletViewer
    : : at com/ms/vm/loader/URLClassLoader.loadClass
    : : at java/lang/ClassLoader.loadClassInternal
    : : at oracle/forms/engine/Main.init
    : : at com/ms/applet/AppletPanel.securedCall0
    : : at com/ms/applet/AppletPanel.securedCall
    : : at com/ms/applet/AppletPanel.processSentEvent
    : : at com/ms/applet/AppletPanel.processSentEvent
    : : at com/ms/applet/AppletPanel.run
    : : at java/lang/Thread.run
    : : Is there any file missing when I setup my environment.
    : : Please help me.
    : ET - this is a known bug with the 6.0.5.0.2 forms applet.
    This
    : bug has been fixed and will be available in patchset 2 due out
    : in August.
    : In the meantime a workaround is to put the classes.zip from
    the
    : standard JavaSoft JDK into the classpath on the client machine
    : or - unzip the classes.zip file into the virtual directory on
    : the server that you use as the CODEBASE parameter in the HTML
    : file.
    : There is a technical note that describes how to setup IE to
    run
    : Developer Server 6.0 applications on the OTN website. Check
    : this out for some more details.
    : - The Developer Team -
    : : Regards,
    : : ET
    null

Maybe you are looking for