Compile JAVA2 1.4.2 SDK for Linux

Did anyone successed?

After few hours of building it quits with this error:
/opt/j2sdk1.4.2/bin/javac -target 1.2 -classpath "/var/tmp/portage/sun-j2sdk-1.4.2/work/j2sdk/control/build/linux-i586/jawsClasses/.:../../src/javaws/src/share/classes:../../src/javaws/src/linux/classes:../../src/javaws/src/unix/classes:/var/tmp/portage/sun-j2sdk-1.4.2/work/j2sdk/control/build/linux-i586/jawsgensrc/classes" -d /var/tmp/portage/sun-j2sdk-1.4.2/work/j2sdk/control/build/linux-i586/jawsClasses/. ../../src/javaws/src/share/classes/com/sun/javaws/LocalApplicationProperties.java
../../src/javaws/src/share/classes/com/sun/javaws/Launcher.java:1001: package javax.net.ssl does not exist
javax.net.ssl.SSLHandshakeException)) {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
1 error
make[5]: *** [var/tmp/portage/sun-j2sdk-1.4.2/work/j2sdk/control/build/linux-i586/jawsClasses/./com/sun/javaws/LocalApplicationProperties.class] Error 1
make[5]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.2/work/j2sdk/deploy/make/javaws'
make[4]: *** [optimized] Error 2
make[4]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.2/work/j2sdk/deploy/make/javaws'
make[3]: *** [installer-int] Error 2
make[3]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.2/work/j2sdk/deploy/make/javaws'
make[2]: *** [javaws-all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.2/work/j2sdk/deploy/make'
make[1]: *** [deploy-build] Error 2
make[1]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.2/work/j2sdk/control/make'
make: *** [scsl-build] Error 2
!!! ERROR: dev-java/sun-j2sdk-1.4.2 failed.
!!! Function src_compile, Line 140, Exitcode 2
!!! (no error message)
OS: Gentoo Linux
Any will be very appreciated.

Similar Messages

  • Why we have separate azure java SDK for linux and windows

    I saw different links for downloading azure java SDK for linux and windows.
    What difference does it actually have when java is platform independent? Or both are same jars?

    Hi,
    Thank you for your post.
    It contains the same jar files.
    Regards,
    Mekh.

  • Problem to compile mxi-2 driver for linux 2.4.4

    Hello,
    I have a MXI-2 (VME/PCI) hardware and I'd like to install the appropiate
    software for my PC which runs under SuSE Linux 7.2 (kernel 2.4.4-64GB-SMP).
    I have succesfully installed NIVISA and NIVXI software (RPMs) and then
    I'm trying to compile (using make) the vxi module for linux. It does not work...
    Do you have a solution ?
    Thanks in advance.
    Remi CORNAT
    Error log from make :
    gcc -o vxi.o -DVXI_MAJOR=0 -c -O -Wall -D__KERNEL__ -DMODULE -I/lib/modules/2.4.4-64GB-SMP/build/include vxi.c
    vxi.c: In function `vxi_vma_nopage_shm':
    vxi.c:64: structure has no member named `vm_offset'
    vxi.c:65: warning: implicit declaration of function `MAP_NR'
    vxi.c: At top level:
    vxi.c:77:
    warning: excess elements in struct initializer
    vxi.c:77: warning: (near initialization for `vxi_vm_ops_shm')
    vxi.c:77: warning: excess elements in struct initializer
    vxi.c:77: warning: (near initialization for `vxi_vm_ops_shm')
    vxi.c:77: warning: excess elements in struct initializer
    vxi.c:77: warning: (near initialization for `vxi_vm_ops_shm')
    vxi.c:78: warning: excess elements in struct initializer
    vxi.c:78: warning: (near initialization for `vxi_vm_ops_shm')
    vxi.c: In function `vxi_mmap':
    vxi.c:86: structure has no member named `vm_offset'
    vxi.c:102: structure has no member named `vm_offset'
    vxi.c: At top level:
    vxi.c:114: warning: initialization from incompatible pointer type
    vxi.c:115: warning: initialization from incompatible pointer type
    vxi.c:116: warning: initialization from incompatible pointer type
    vxi.c:118: warning: initialization from incompatible pointer type
    make: *** [vxi.o] Error 1

    As of August 2001, National Instruments does not have a driver that is supported under the 2.4 kernel of Linux. The latest version of NI-VXI is supported under the 2.2 kernel for our PCI-MXI-2 and VXIpc-870 controllers.
    Trey Hamilton
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • Is there any plan to release Java ME SDK 3.0 for linux?

    Hi
    Thank you for reading my post.
    Can someone please let me know when will Sun release Java ME SDK for linux?
    Thanks

    Note: This thread was originally posted in the [Sun Java Wireless Toolkit|http://forums.sun.com/forum.jspa?forumID=82] forum, but moved to this forum for closer topic alignment.

  • Javac for linux?

    Hello.
    I'm getting nut trying to get the SDK for Linux. I've downloaded the rpm for RedHat, but it's just the runtime environment and there is no javac! Sun's web site is rather obfuscated... does anyone have an URL where to get the latest Java2 SDK for Linux ? Thanks!

    Choose your pick: http://java.sun.com/j2se/1.4/download.html

  • Compilation/Linking of SAPRFC SDK on Linux

    Dear All,
    I have downloaded SAPRFC SDK version 6.4 ia32 bit for Linux. I am trying to compile sample code which is with SDK but getting lots of error as below. I am doubting about the mismatch of Linux version/compiler version.
    I am using gcc 3.2 and Linux EL3( $uname -a
    Linux localhost.localdomain 2.4.21-27.EL #1 Wed Dec 1 22:08:15 EST 2004 i686 i686 i386 GNU/Linux)
    Can anyone guide us to resolve the issue.
    Thanks & Regards,
    Manish Mittal

    I also think you're not on the good forum.
    btw, you should also give the errors you have...
    (Linux 2.4 is quite old, perhaps you should use 2.6.
    But the errors are more probably caused by library compatibility than by Linux itself...)

  • Run C program compiled for Linux on Mac x11?

    Hi,
    Is it possible to run a c-code program compiled for Linux on x11? If this is not possible, is there a way to have a linux platform runninn os 10.6.8 so I can use these programs?
    I knew little about Linux or X11, so I don't know if it is possible or how to recompile the program for x11.
    Thanks!

    Linux compile code will not run on Mac OS X, and even if you violated the Mac OS X license to run Mac OS X in virtual machine on top of Linux, the Mac environment would still not run the Linux program.  The Linux program needs to run on Linux.
    If your Linux program is X11 based, then it is possible to run the program on Linux and have the output displayed on your Mac.   Start an Applications -> Utilities -> Terminal session, and run the command
    ssh -Y [email protected]
    LinuxPrompt> run_your_Linux_program
    The ssh -Y will establish an X11 DISPLAY tunnel between your Mac and the Linux system.  When you run an X11 based app on the Linux system via this ssh session, the X11 display output will be sent back to the Mac.
    NOTE:  Many Open Source programs have Mac OS X ports.  Sometimes there are actual Mac OS X binaries, and sometimes you have to build them yourself.  There are also services that will do the heavy lifting of installing a ported Open Source app, such as MacPorts.org and FinkProject.org

  • Optimizer bug in C compiler for Linux

    Save the following as bug.c:
    Bug report against Sun C for Linux:
    $ suncc -V
    cc: Sun C 5.9 Linux_i386 Build27_2 2006/08/02
    usage: cc [ options] files.  Use 'cc -flags' for details
    $ cat /etc/SuSE-release
    SuSE Linux 9.3 (x86-64)
    VERSION = 9.3
    $ uname -r
    2.6.11.4-21.8-smp
    Compiled w/ -xO2 or lower, this program runs to completion:
    $ suncc -xO2 bug.c -o bug -lpthread && ./bug
    Hello from thread 0
    Hello from thread 1
    Hello from thread 2
    Hello from thread 3
    DONE.
    However, when compiled w/ -xO3 (or higher) this program hangs:
    $ suncc -xO3 bug.c -o bug -lpthread && ./bug
    Hello from thread 0
    Hello from thread 1
    Hello from thread 2
    Hello from thread 3
    ...hung here...
    ^C
    Changing "#if 0" to "#if 1" changes a "while (cond) {body;}" to a
    "do {body;} while(cond)", and is sufficient to work around the
    problem in this case.
    #include <stdio.h>
    #include <stdlib.h>
    #include <inttypes.h>
    #include <pthread.h>
    static unsigned int numthreads = 4;
        static void test_pthread_barrier(void) {
          static pthread_cond_t barrier_cond[2] =
            { PTHREAD_COND_INITIALIZER, PTHREAD_COND_INITIALIZER };
          static pthread_mutex_t barrier_mutex[2] =
            { PTHREAD_MUTEX_INITIALIZER, PTHREAD_MUTEX_INITIALIZER };
          static volatile unsigned int barrier_count = 0;
          static volatile int phase = 0;
          const int myphase = phase;
          pthread_mutex_lock(&barrier_mutex[phase]);
          barrier_count++;
          if (barrier_count < numthreads) {
    #if 0
            do {
              pthread_cond_wait(&barrier_cond[myphase], &barrier_mutex[myphase]);
            } while (myphase == phase);
    #else
            while (myphase == phase) {
              pthread_cond_wait(&barrier_cond[myphase], &barrier_mutex[myphase]);
    #endif
          } else {
            barrier_count = 0;
            phase = !phase;
            pthread_cond_broadcast(&barrier_cond[!phase]);
          pthread_mutex_unlock(&barrier_mutex[!phase]);
    static void * thread_main(void * arg) {
      printf("Hello from thread %d\n", (int)(uintptr_t)arg);
      test_pthread_barrier();
      return NULL;
    int main(void) {
        int i;
        pthread_t *threadid = (pthread_t *)malloc(sizeof(pthread_t)*numthreads);
        for(i=0;i<numthreads;i++) {
          void *threadarg;
          pthread_attr_t attr;
          pthread_attr_init(&attr);
          pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM); /* ignore failures */
          pthread_create(&threadid, &attr, &thread_main, (void *)(uintptr_t)i);
    pthread_attr_destroy(&attr);
    for(i=0;i<numthreads;i++) {
    void *retval = NULL;
    pthread_join(threadid[i], &retval);
    free(threadid);
    printf("DONE.\n");
    return 0;

    You can refer to this bug as 6499729.
    The bug status will soon be visible on bugs.sun.com

  • Please package Java ME SDK 3.0 for Linux/Unix

    Hi Oracle guys!
    Please package Java ME SDK 3.0 for Linux/Unix soon!
    It would be of benefit both to us developers, and to Oracle.
    Thanks!

    user8771084 wrote:
    Señores Oracle si ustedes no pueden desarrollar Java ME SDK 3.0 for Linux/Unix no importa!!!, igual sabemos que no están a la altura de Sun Microsystems ni de la comunidad de Linux/GNU.
    Si ustedes se deciden lanzar la versión Java ME SDK 3.0 for Linux/Unix se lo agradeceremos, recuerde que Linux/GNU dia a dia crece mas y mas, y es un mercado que se debe cuidar.Translated to English:
    Oracle Gentlemen if you can not develop Java ME SDK 3.0 for Linux / Unix does not matter!,
    As we know are not up to Sun Microsystems or the community of Linux / GNU.
    If you decide to launch the Java ME SDK 3.0 for Linux / Unix appreciate it, remember that GNU / Linux is growing day by day more and more, and is a market that needs to be nurtured.

  • Linux 64bit SDK for 16.0 contain 32bit libraries too?

    Can anyone confirm that the 16.0 Linux 64bit SDK contains the 32bit libraries too?
    I'm not an expert on the SDK but it looks like it to me.
    I can't find a 32bit SDK for version 16.0 on Linux to download so I'm hoping that they were combined into one download.
    Thanks,
    Amy

    Hi Amy,
    Looking at the file list SDK 16.0 Linux 64bit should include 32bit libraries as well.
    Available downloads for Linux:
    Linux on Power 32bit
    Linux on Power 64bit
    Linux on IA32 32bit
    Linux on x86 64 64bit
    Regards,
    Ryan

  • Compiling/running Policy Agent 2.2 for Apache (Linux)

    Hi,
    I know that running the policy agent for Linux is not supported by Sun on other platforms than Red Hat Enterprise Linux, but anyway I'm qurious to see if others have looked into this.
    I've done some testing on my Ubuntu Dapper Linux, using the precompiled version for Red Hat Enterprise, and I kind of made it work. Only problem: I have to start apache using "strace" to have it running. If I run /usr/sbin/apache2 I get "Segmentation Fault", but if I run "strace /usr/sbin/apache2" it runs... I'm able to create a core-dump, but to get something out of it I guess I have to compile the policy agent myself, so I've tried that as well.
    To compile I've checked out the opensso package by CVS and installed libxml2-2.6.23, nss-3.11, nspr-4.6.1 and apache-2.0.59, sort of like what it says in the Readme for compiling under Red Hat Enterprise Linux. Result from running "make BUILD_DEBUG=optimize BUILD_AGENT=apache" is:
    hash_table.h: In member function �typename smi::HashTable<Element>::EntryType smi::HashTable<Element>::findEntry(const std::string&)�:
    hash_table.h:319: error: expected �;� before �__null�
    hash_table.h:319: warning: statement has no effect
    The test with the precompiled version was done on Ubuntu Dapper Linux using the standard apache 2.0.55 package that comes with Ubuntu. As I said: I've managed to get it running (doing SSO login through Federation Manager running on the same machine, with Access Manager running on another Solaris server) but I would prefer to have a setup that doesn't involve using "strace" to have apache whith the policy agent module running... Anyone else done something like this?
    In the end I guess I would like to have some kind of release of the policy agent that doesn't have to be packaged as RPMs just for Red Hat Enterprise servers. It doesn't have to be flagged as "supported by Sun" but more like "you're on your own this release". ;-) That goes for the Federation Manager as well. I've managed to have the FM running on Ubuntu Dapper as well, so I know it's possible...
    - Anders

    The notes in this thread date from about October of 2006.
    Does anyone know why current versions of the gcc compiler refuse to compile the statement that leads to the reported error?
    The statement that is failing is:
        if (entry && entry->getExpirationTime() < PR_Now()) {
         return (HashTable<Element>::EntryType)NULL;with the error
    [exec] hash_table.h:320: error: expected �;� before �__null�Is this a problem with the compiler or with the definition of the NULL macro?

  • C/C++ version of LDAP SDK 4.1 for Linux platform

    Hi All,
    I am looking for C/C++ version of LDAP SDK 4.1 for Linux platform.
    Do you have any pointer from where I could download this library?
    Thanks in Advance,
    Shyam Shukla

    The only version available on sun.com is LDAP C-SDK 5.08 <http://www.sun.com/download/products.xml?id=3ec28dbd>
    The 4.1 version is very old and no longer available.
    Note that future versions of the LDAP C-SDK will be directly available from Mozilla.org as we've completed the merge of all of our changes back to Mozilla.org (this is with LDAP C-SDK 6.0.2).
    Builds are not available yet, but should be soon.
    Regards,
    Ludovic.

  • Azure SDK for Java on Mac/Linux

    I need to develop a part (communication with Service Bus) of a solution in Java (normally I use C# for development) on Mac/Linux. Can I just use the microsoft-windowsazure-api-0.4.6.jar file of the Azure SDK for Mac/Linux in my project, because I don't
    use Maven?
    Thanks.
    Guy

    When trying out some code using the Windows Azure SDK for Java (on a Mac) obviously just adding the jar to my project and adding it to my build path isn't just enough. I get error messages such as:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
    at com.microsoft.windowsazure.services.core.Configuration.<clinit>(Configuration.java:48)
    at com.microsoft.windowsazure.services.serviceBus.ServiceBusConfiguration.configureWithWrapAuthentication(ServiceBusConfiguration.java:88)
    at xx.yyy.zzzz.aaaaa.ServiceBusClient.<init>(ServiceBusClient.java:20)
    at xx.yyy.zzzz.aaaaa.Main.main(Main.java:7)
    Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
    at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 4 more
    When clicking e.g. on Configuration.java:48 I get: Source not found.
    The JAR file microsoft-windowsazure-api-0.4.6.jar has no source attachment.
    What am I missing. Thanks for your help.

  • JIT / Static compiler for Linux/J2SDK 1.4

    Hello friends,
    Could you please suggest a static / JIT compiler to native code for Linux / J2SDK platform? If you are using one, I would appreciate any comments.
    Thank you.

    Ok, but if you compile a java program directly into an
    executable (thats what I think he's talking about),
    then its always faster than a VM that has to analyze,
    etc first.mkmm... untrue....
    when you want to compile into native code before runtime, then you don't know runtime variables, and you cant optimize out the ones that are for example loaded at the beginning of the program, and will never change.
    but if hotspot dedects that such a case appears, that it has to run some method over and over again, just to return the same value all the time, then it may just substitute that method with the returned value....
    or something like that.... (havent coded any hotspot engine yet, so woun't know for sure ;)

  • Schedule for Java ME SDK 3.0 for Linux?

    Hi,
    thank you for Java ME, we are using it since many years with on Linux development platform.
    Currently we plan to use the Sensor API, which is missing in WTK2.5.2 for Linux.
    What are the current plans for Linux?
    thanks,
    Marcel

    Another +1
    Come on Oracle, get it together. And why are you being so evasive about answering the OP's question? Is there a release schedule for Linux or not? For some reason I suspect not and you're desperately trying to avoid saying so.
    If there's no J2ME for linux there's no point me trying to write Java mobile apps any more. I suspect I will not be the only person to switch to writing Android apps instead. Google seem to understand and respect their Linux programmers.

Maybe you are looking for

  • Is there a way to stop an ipad from trying  to copy pictures and text?

    I have a lot of scrolling text boxes in my project, and I want certain symbols to play when a particular text box or image is touched, but the ipad will offer you the option to cut, paste, copy etc...when one holds their finger on the text for more t

  • DAbort 0x26550A7E in transact.cpp

    Hello, I'm still a bit new to labview so bear with me. I've only been working with it about 2 months. Today I was making some minor additions to a HUGE program I made in labview when everything went haywire. This morning I successfully added about 4

  • Solaris 8 boot block

    I have a Solaris 8 machine that was having a hard drive issue. I shut the system down and then it will not boot. I booted off a CD and ran fsck /dev/rdsk/c0t0d0s0 and it came back with a superblock error and I typed yes to fix it. I then tried to boo

  • Business Objects Lead or Architect position open in NJ -pls contact asap

    <font color="#800000"><p>Hi,</p>My name is Fahima Hilal and I am a Recruiter . We are Tier one vendors to major Fortune 100 clients. I am contacting you, with regards to your resume being posted on the internet. We have an opportunity that I have lis

  • Generate a delayed pulse with analog trigger

    I want to generate a pulse with counter when the gate of counter receives a voltage value which is generated by analog output chanel,is this possible?? I am using PCI-6713 Thanks!!