Javax.sound missing with Fedora Core 3 linux's java compiler?

I'm running Fedora core 3, and I did a complete install(selected all the packeges). I have the java compiler that FC3 installed. I can compile most things, but I seem to be missing the sound package/folder.
This leads to an error when I try to import the sound libraries.
//start code
//simple non-working example
import javax.sound.*;
class sounds
//end code
results in the error "The import javax.sound cannot be resolved"
I am trying to run a code snippet from javaAlmanac, and of course it won't work. Today, a friend of mine had the exact same problem on a windows machine using JDK 1.5.
I'm going to test this code out on a windows machine also.
Are there issues with the FC3 java compiler?
Has anyone else run into and solved this issue?
I'm considering copying the sound folder from some other Java installation, anyone try this?
Thanks,

I'm pretty new at this myself. I've also installed Fedora Core 3 on an AMD 64. When I do the same uname - a I get:
Linux localhost.localdomain 2.6.9-1.667 #1 Tue Nov 2 14:50:10 EST 2004 x86_64 x8 6_64 x86_64 GNU/Linux
Maybe you didn't install as 64 bit ?
I've also successfully installed Jave Runtime Environment. java -version gets me:
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
I'd suggest installing 32 bit. I can't tell the difference when I run programmes that use 64 or 32 bits - it will be just as good.
Eurostar

Similar Messages

  • Which version of Ocale 9i to download for Fedora Core Linux ?

    Hi.
    I just bought an external drive to install Red Hat Linux Fedora (which I got from Sams Teach Yourself ...).
    Im looking here http://www.oracle.com/technology/software/products/oracle9i/index.html to decide which version of Oracle 9i I should use.
    My new external drive is connected to my laptop, which is an Inspiron 6000.
    Any ideas ?
    Thanks again.
    DA

    So if I installed 10g then, which one would I choose
    for Fedora?
    Linux x86
    Linux x86 -64 ??
    Thanks.Really ... rocket science ain't all that hard. Let's take a look at your rocket science:
    if your hardware is 32 bit, any 64-bit stuff will not work.
    if your hardware is 64 bit, and you chose a 32 bit operating system, any 64 bit applications will not work (and in this case the oracle database is an application)
    if you hardware and your operating system are 64 bit, any 32 bit application or 64 bit application will work as long as you have the correct libraries (DLLs) installed.
    then you decide whether the benefit of 64 bit is greater than the overhead of 64 bit
    So ...........
    if you have an Inspiron 6000 with the Pentium M processor, you may not have 64 bit capability.
    if you have a 32-bit Fedora (which you don't bother stating, do you?) you may not have 64 bit capability
    if you do not have 64 bit capability, don;t bother with the 64 bit version of Oracle.

  • How to build JDK1.5 with Fedora Core 3 on AMD64?

    All,
    Currently, I am going to do some research work related to the JDK1.5 so I have to rebuild it on the top of Fedora Core 3 on AMD64. But it failed with some "invalid section error messages in assembly language". I wonder that if there is any pepole who have successfully built it before? If yes, could you give me some instructions about the whole building process? Do you still need the GCC 3.2.2? How do you build the GCC 3.2.2? And are you working with the source code from SUN JAVA SCSL, also? In fact, I encountered some "invalied section error" when compiling the .cpp files into .o files.
    BTW: I have successfully built the JDK1.5 with FC3 on Inter 32 Bit, with GCC 3.2.2
    Thanks,
    Neo

    A little more detail, please. Excerpt from build log?

  • Fedora Core 3, AMD64, & Java

    I have installed Fedora Core 3 on an AMD 64 Athlon processor. I have successfully installed the 32-bit JRE, but I get the following error when I try to install the 64-bit JRE:
    Do you agree to the above license terms? [yes or no]
    yes
    Unpacking...
    Checksumming...
    0
    0
    Extracting...
    ./jre-1_5_0-linux-amd64-rpm.bin: line 263: ./install.sfx.25726: cannot execute binary file
    I've downloaded several installation scripts from java.sun.com, java.net, and blackdown.org, but I get the same error with all of them. I've found a few references to this error and it usually results from running the wrong installation script for the platform. I doublechecked that in all cases I had the installation script for Linux with AMD64.
    I pretty much chose all the defaults on the installation of Fedora Core 3 (I installed "text-only internet" - no GUI desktop). Was there something I missed to enable 64-bit processing? Or, is there something I need to tweak in the installation script? Are there 64-bit Linux JRE/JDK RPMs available that are not in self-extracting archives (I couldn't find one - not sure if it would help)?
    Here's what I get from `uname -a` (apu is the host name):
    Linux apu 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686 athlon i386 GNU/Linux
    Is there some other way I can check that 64-bit processing is available and enabled?
    Thanks,
    Philip

    I'm pretty new at this myself. I've also installed Fedora Core 3 on an AMD 64. When I do the same uname - a I get:
    Linux localhost.localdomain 2.6.9-1.667 #1 Tue Nov 2 14:50:10 EST 2004 x86_64 x8 6_64 x86_64 GNU/Linux
    Maybe you didn't install as 64 bit ?
    I've also successfully installed Jave Runtime Environment. java -version gets me:
    java version "1.4.2_08"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
    Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
    I'd suggest installing 32 bit. I can't tell the difference when I run programmes that use 64 or 32 bits - it will be just as good.
    Eurostar

  • Install problems with Fedora Core 5

    I'm having problems getting XE running on FC5. I've tried various suggestions in this forum and elswhere, but found no complete description of what might be wrong. Hope somone can help.
    I've turned SELinux off, which made a big improvment, but things are still not right. The install seems to go correctly, with no error messages, but oracle has not started, nothing is running on port 8080.
    A complete transcript of an install and configure is listed below. Everything was done as root.
    Things of note:
    1. I've seen various descriptions that host name resolution is necessary. I'm running on a laptop using DHCP. Is having a resovled name in /etc/hosts really necessary, and if so how is this best done?
    2. Turning SELinux off seems drastic. Is there a solution with it running?
    3. Where do you look for logging information that might suggest what is going wrong?
    Thanks
    Tim
    [root@imd610 ~]# rpm -ivh oracle-xe-10.2.0.1-1.0.i386.rpm
    Preparing... ########################################### [100%]
    1:oracle-xe ########################################### [100%]
    Executing Post-install steps...
    You must run '/etc/init.d/oracle-xe configure' as the root user to
    configure the database.
    [root@imd610 ~]# /etc/init.d/oracle-xe configure
    Oracle Database 10g Express Edition Configuration
    This will configure on-boot properties of Oracle Database 10g Express
    Edition. The following questions will determine whether the database should
    be starting upon system boot, the ports it will use, and the passwords that
    will be used for database accounts. Press <Enter> to accept the defaults.
    Ctrl-C will abort.
    Specify the HTTP port that will be used for Oracle Application Express [8080]:
    Specify a port that will be used for the database listener [1521]:
    Specify a password to be used for database accounts. Note that the same
    password will be used for SYS and SYSTEM. Oracle recommends the use of
    different passwords for each database account. This can be done after
    initial configuration:
    Confirm the password:
    Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:y
    Starting Oracle Net Listener...Done
    Configuring Database...Done
    Starting Oracle Database 10g Express Edition Instance...Done
    Installation Completed Successfully.
    To access the Database Home Page go to "http://127.0.0.1:8080/apex"
    [root@imd610 ~]# /etc/init.d/oracle-xe stop
    Shutting down Oracle Database 10g Express Edition Instance.
    Stopping Oracle Net Listener.
    [root@imd610 ~]# /etc/init.d/oracle-xe start
    Starting Oracle Net Listener.
    Starting Oracle Database 10g Express Edition Instance.
    [root@imd610 ~]# /etc/init.d/oracle-xe status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 23-APR-2006 17:45:38
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=imd610)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist

    Thanks. That's improved things, but we're still not home and dry.
    Making the change to the /etc/hosts file gets things to start:
    [timbo@imd610 ~]$ ps -ef | grep oracle
    oracle 2272 1 0 20:17 ? 00:00:00 /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr LISTENER -inherit
    oracle 2278 1 0 20:17 ? 00:00:00 xe_pmon_XE
    oracle 2280 1 0 20:17 ? 00:00:00 xe_psp0_XE
    oracle 2282 1 0 20:17 ? 00:00:00 xe_mman_XE
    oracle 2284 1 0 20:17 ? 00:00:00 xe_dbw0_XE
    oracle 2286 1 0 20:17 ? 00:00:00 xe_lgwr_XE
    oracle 2288 1 0 20:17 ? 00:00:00 xe_ckpt_XE
    oracle 2290 1 0 20:17 ? 00:00:00 xe_smon_XE
    oracle 2292 1 0 20:17 ? 00:00:00 xe_reco_XE
    oracle 2294 1 0 20:17 ? 00:00:00 xe_cjq0_XE
    oracle 2296 1 0 20:17 ? 00:00:00 xe_mmon_XE
    oracle 2298 1 0 20:17 ? 00:00:00 xe_mmnl_XE
    oracle 2300 1 0 20:17 ? 00:00:00 xe_d000_XE
    oracle 2302 1 0 20:17 ? 00:00:00 xe_s000_XE
    oracle 2304 1 0 20:17 ? 00:00:00 xe_s001_XE
    oracle 2306 1 0 20:17 ? 00:00:00 xe_s002_XE
    oracle 2308 1 0 20:17 ? 00:00:00 xe_s003_XE
    timbo 3584 3563 0 21:09 pts/1 00:00:00 grep oracle
    [timbo@imd610 ~]$
    But then trying to get a conneection with SQLPlus fails:
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 23 21:12:42 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect system/**********@XE
    ERROR:
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    SQL>
    Any ideas?
    Tim

  • Oracle 9i (amd64 version) with Fedore Core 2 (FC2) x86_64

    I just managed to get the above to install, and it seems to work. This post is here to tell what I had to do to get it to install. I installed it custimized to not include Enterprise options, Enterprise Manager and HTTP server. I also chose not to create a database with the install (did it later with dbca with no problems).
    First of all, if you have a partial installation, make sure to remove it completely. This can always cause lots of problems.
    There are two workarounds beyond the normal installation tasks. The first is to run:
    export LD_ASSUME_KERNEL=2.4.1 before runInstaller
    Then proceed with the installation. When (if?) it fails, (it failed for me at 97%) it will be because of a link failure.
    At this point, open another window and edit the $ORACLE_HOME/lib32/sysliblist and $ORACLE_HOME/lib32/ldflags and add the string '-static-libgcc' to the end of both lists.
    The error you would find in the make.log if you chose to look would be: undefined reference to
    `dl_iterate_phdr@GLIBC_2.2.4' or something close to it.
    This system is a dual Athlon 64 running FC2 x64-64 bit release.
    That's it.
    Good luck.

    The {font:Courier}gcc32{font} is a compiler version, not an architecture specification, so you need that version to compile and link properly. If you do this:
    $ /bin/rpm -q --qf='%{NAME}-%{VERSION}.%{RELEASE}.%{ARCH}\n' gccyou can see if you have a 64-bit capable compiler ({font:Courier}x86_64{font}) or 32-bit only (anything else).
    The linking step will complain and fail if you try to mix 32-bit and 64-bit object files and libraries, so that probably worked well enough.
    Of course, Oracle RDBMS is not supported under CENTOS so using this work business purposes is totally your risk.
    Why not download Oracle Enterprise Linux and have everything just work?

  • First few seconds of sound missing with Bluetooth

    I've been struggling with this issue for some time now, and haven't found any explanation.  The issue is that if I am using turn-by-turn navigation software (that speaks directions) while my iPhone 4 is connected to a Bluetooth device, and the software hasn't given me directions for a minute or so, the connection seems to "go to sleep."  When the next directions are issued, I miss the first part.  For example, if the directions should have said "Get ready to turn left at Main Street," all I might hear is "at Main Street."  Quite unhelpful!
    Some details: I have tried two different navigation programs.  I used MapQuest's free app for a while, and now am using the VZ Navigator app.  Both had the same issue.  I have also tried three different Bluetooth devices: a Plantronics Voyager headset, a Jabra headset and my car's Bluetooth speakerphone.  All show the same behavior.  Also, if I'm playing music through Bluetooth in my car, the problem goes away completely.
    My conclusion is that the iPhone 4 is letting the connection with the Bluetooth device lapse when not in active use for some length of time, and it takes a few seconds to re-establish it.  But that doesn't lead me to a solution.  Anyone else experience this, and know of a fix for the problem?  Is there any way to keep the connection alive without playing music, which I would obviously prefer not to do with a headset!
    Thanks in advance!

    Thomas A Reed wrote:
    My conclusion is that the iPhone 4 is letting the connection with the Bluetooth device lapse when not in active use for some length of time, and it takes a few seconds to re-establish it. 
    That's the way it works, & your conclusion is correct. There is no solution, unfortunately, other than not use Bluetooth for this.

  • I can't install Fedora core Linux on Satellite U400

    Dear Friends,
    I have brought one Toshiba Satellite U400 laptop.
    As you know nowadays whole the laptops which is coming by Windows Vista.
    So as for my project I tried to install Windows XP as well as Linux on my laptop but unfortunately I couldn't install at the beginning.
    Later on I could install Windows Xp successfully and everything is working fine....though I have to install Linux Os so when I tried; the hdd not recognizing to continue the installation.
    So please let me know once if you could done the Linux installation on your laptops.... perhaps the same steps would be enough for continue the Linux installation.
    But I am not sure. In the meantime if you can help me that would be better...
    thanks in advance
    samad k k

    Go into the BIOS and change the SATA Mode to Compatibility or IDE.

  • "Oracle XE 10g Net listener" don't start with Fedora Core 5

    hello,
    I have a problem with Oracle XE 10g and FC5.
    Please help me !
    First when I set up Oracle XE with "/etc/init.d/oracle-xe configure" the system stop on "listener starting" during several minutes.
    When FC5 is starting, (after reboot), the system stops severals minutes on "Oracle net listener Starting". Then, when I use SQLPlus TERM, I can't connect in "system".
    So I supose that Oracle don't work.
    Finally, when I use web navigator with "http://127.0.0.1:8080/apex" adress, the navigator shows "page not found".
    Please help me to solve this problem.
    Thank you,
    Best regards
    Alexandre...

    This is being discussed over in the XE forum. WHy don't you join us there and save me from repeating about 300 lines of discussion ...
    to register and discuss XE problems with XE experts use URL http://www.oracle.com/technology/xe/registration Once you have registered, you can sign in to the forums and voila - the link to the XE forum is there. But you do have to sign in.

  • Has anyone got the linux driver installed on Fedora Core

    Hi I've read a heap on the forum about the linux beta driver and the horror people seem to have to install it. I have no idea what I need to do to recompile a copy of the kernel so I am hoping there's someone with Fedora Core 7 that has got this driver to install that would be willing to help me out with it.
    All help would be appreciated
    Thanks.

    Solved with the kind assistance of paulricardomc on the Ubuntu Forums: http://ubuntuforums.org/showthread.php?t=1477507
    Short version of the fix:
    1. Extract the edid from the Windows partition using softMCCS, saving as edid.bin
    2. Save the edid.bin file in /etc/X11 (or wherever you like)
    3. Include the following in the device section of your xorg.conf:
    "Option"  "ConnectedMonitor" "DFP-0"
    "Option" "CustomEDID" "DFP-0:/etc/X11/edid.bin"
    Fire up X and you're good to go.

  • Installation notes: JES 2005Q4 on Fedora Core 4

    Hi,
    Getting JES (with Portal Server 6) to work on a Linux platform (that's unsupported by SUN) can be a nightmare. Here's what to do with Fedora Core 4:
    1. You need to install compat-libstdc++-296.i386 rpm package. This provides /usr/lib/libstdc++-libc6.2-2.so.3 that the application server needs.
    If you don't have that package installed, install with yum:
    yum install compat-libstdc++-296.i386
    Note: I used...
    yum provides libstdc++-libc6.2-2.so.3
    ... to find out the package.
    Actually I installed compat-libstdc++-33.i386 as well, but I'm not sure did that affect anything.
    2. Install pdksh
    There are many ksh clones available. Fedora Core 4 ships with some version of ksh that lacks features used by PS6 install scripts. You have to get pdksh from http://www.math.mun.ca/~michael/pdksh/
    Configure and install it according to the instructions. Then get rid of the ksh that came with FC4 and make sure /bin/ksh points to /usr/local/bin/ksh (if you installed pdksh to the default location).
    3. Run the JES installer and everything should work out fine. The installation process meter still seems to hang when installing portal server but actually it is working hard for several minutes. You can verify that by using top.
    More details on the problems that occur if you don't follow these steps (should help for other distros than FC4):
    The installation process hangs when it gets to install portal server (verify with top that it isn't actually doing anything). This is because you don't have the right ksh. Using ps -aef you'll see that there are processes running ksh.
    The actual problem is that the PS6 installation script is defining variables with the keyword 'local' that's not supported with ksh shipped with FC4. If you try to run the portal configuration script manually you get lines like:
    opt/sun/portal/lib/postinstall_Base[21]: local : not found [ no such file or directory]
    opt/sun/portal/lib/postinstall_Base[22]: local : not found [ no such file or directory]
    opt/sun/portal/lib/postinstall_Base[23]: local : not found [ no such file or directory]
    The JES installation program will not recover from this. So get pdksh!
    If you don't have libstdc++-libc6.2-2.so.3 the installation seems to work fine, but it will fail on deploying anything on the appserver (it won't be able to start the domain). This was the really ridiculous thing about the installer because it reported no errors even though it was failing to install anything on the appserver!
    Hope this helps someone. Took me nearly two days to figure out.

    Instead of downloading the source code for Korn Shell and going thru the manual compilation and configuration go to http://rpm.pbone.net and perform an advanced search for ksh for Red Hat 9.
    You will find : pdksh-5.2.14-21.i386.rpm
    Here's the url for a mirror site:
    ftp://mirror.switch.ch/mirror/fedoralegacy/redhat/9/os/i386/pdksh-5.2.14-21.i386.rpm
    Download the rpm.
    Remove the existing pdksh by :# rpm -e pdksh
    Install the ksh of choice: rpm -ivh pdksh-5.2.14-21.i386.rpm
    I was able to install JES 2005 Q4 on Fedora core 5.
    Good Luck

  • Javaws hangs & does nothing (Fedora Core 3)

    The title pretty much says it: if I either run a JNLP from within Firefox, or run javaws from the command line, I just get nothing. This makes it a little hard to debug :(
    here's what ps shows, if I type ./javaws from the shell:
    (user) 5450 4944 84 13:13 pts/1 00:00:09 /usr/java/j2sdk1.4.2_06/jre/javaws/javawsbin
    (user) 5454 5450 2 13:13 pts/1 00:00:00 [java] <defunct>
    I have J2SE 1.4.2.
    clues?

    Quote
    Originally posted by shw
    Need some help with Fedora Core 3 64_bit version on K8N Neo2.
    Install went allright. Dual booting as well.
    Problem starts during startup of Fedora. Get OK all the way except with 'smartd' which gives FAIL.
    When the system is supposed to start it hangs with a blank screen. Only cursor is shown.
    Any help is welcome.
    Regards, Staffan
    I also have installed Fedora but Core 2. When booting I also have the 'smartd' that gives a fail. But it boots fine. I only need the drivers for my network card to get surfing.
    At work we have 2 unix/linux specialist I will ask them whet the smartd is.

  • Fedora Core 3 x86_64

    Need some help with Fedora Core 3 64_bit version on K8N Neo2.
    Install went allright. Dual booting as well.
    Problem starts during startup of Fedora. Get OK all the way except with 'smartd' which gives FAIL.
    When the system is supposed to start it hangs with a blank screen. Only cursor is shown.
    Any help is welcome.
    Regards, Staffan

    Quote
    Originally posted by shw
    Need some help with Fedora Core 3 64_bit version on K8N Neo2.
    Install went allright. Dual booting as well.
    Problem starts during startup of Fedora. Get OK all the way except with 'smartd' which gives FAIL.
    When the system is supposed to start it hangs with a blank screen. Only cursor is shown.
    Any help is welcome.
    Regards, Staffan
    I also have installed Fedora but Core 2. When booting I also have the 'smartd' that gives a fail. But it boots fine. I only need the drivers for my network card to get surfing.
    At work we have 2 unix/linux specialist I will ask them whet the smartd is.

  • Performance of java nio with dd in linux.

    Hi
    I ran this code in java to dump 0s in a file of size 1gb and tried the same with dd in linux.
    Java code : I use a preinitialized array (the data) and fill a mappedbytebuffer with it.
    package filePersistence.test;
    import java.io.File;
    import java.io.RandomAccessFile;
    import java.nio.MappedByteBuffer;
    import java.nio.channels.FileChannel;
    public class TimeLineTest {
         private static final int BYTE_LENGTH = 1000;
         //this is the input
         static byte[] b = new byte[BYTE_LENGTH];
         public static void main(String[] arg) throws Exception
              //initializing the input
              for (int i=0;i<BYTE_LENGTH;i++)
                   b[i] = 0;
              File file = new File(arg[0]);
              RandomAccessFile raFile = new RandomAccessFile(file,"rw");
              FileChannel fChannel = raFile.getChannel();
              int loopCount = 1000000;
              MappedByteBuffer mbuffer = fChannel.map( FileChannel.MapMode.READ_WRITE ,0,loopCount * BYTE_LENGTH);
              //System.out.println(" going to fill in a file" + file.getName());
              long k = 0;
              long startTime = System.currentTimeMillis();
              for (int i=0;i<loopCount;i++)
         //populate the mapped buffer
                   mbuffer.put(b);
              //persist into the file
              mbuffer.force();
              long endTime = System.currentTimeMillis();
              System.out.println(" file filled size1 "+file.length());
              System.out.println(" time " + (endTime - startTime));
    On a linux machine this takes around 7 secs while dd used as
    "dd if=/dev/zero of=mytestfile.out bs=1000 count=1000000"
    1000000+0 records in
    1000000+0 records out
    1000000000 bytes (1.0 GB) copied, 4.618 seconds, 217 MB/s
    4.6 and 7 differ quite a lot. Is there a way the java code can be improved to match dd ?(-sever does not help)
    Thanks
    Sumanta

    Hi
    Can this be called a dd equivalent code ?
    package filePersistence.test;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.RandomAccessFile;
    import java.nio.MappedByteBuffer;
    import java.nio.channels.FileChannel;
    public class TimeLineTest {
         private static final int BYTE_LENGTH = 1000;
         //this is the input
         static byte[] b = new byte[BYTE_LENGTH];
         public static void main(String[] arg) throws Exception
              //initializing the input
              for (int i=0;i<BYTE_LENGTH;i++)
                   b[i] = 0;
              String srcFile = arg[0] + "_src";
              FileOutputStream fos = new FileOutputStream(srcFile);
              fos.write(b);
              fos.getFD().sync();
              fos.flush();
              fos.close();
              RandomAccessFile srcraFile = new RandomAccessFile(srcFile,"rw");
              FileChannel srcChannel = srcraFile.getChannel();
              File file = new File(arg[0]);
              RandomAccessFile raFile = new RandomAccessFile(file,"rw");
              FileChannel raChannel = raFile.getChannel();
              int loopCount = 1000000;
              //MappedByteBuffer mbuffer = fChannel.map( FileChannel.MapMode.READ_WRITE ,0,loopCount * BYTE_LENGTH);
              //System.out.println(" going to fill in a file" + file.getName());
              long startTime = System.currentTimeMillis();
              for (int i=0,position=0;i<loopCount;i++,position+=BYTE_LENGTH)
         //populate the mapped buffer
                   //mbuffer.put(b);
                   raChannel.position(position);
                   srcChannel.transferTo(0, BYTE_LENGTH, raChannel);
              //persist into the file
              //mbuffer.force();
              raFile.getFD().sync();
              raChannel.close();
              raFile.close();
              long endTime = System.currentTimeMillis();
              System.out.println(" file filled size1 "+file.length());
              System.out.println(" time " + (endTime - startTime));
    }

  • Oracle Linux Calendar 9.0.4.2/10 and Fedora Core 5

    Hi folks --
    I recently migrated from FC4 to FC5 (did a fresh install), and to my chagrin, the Oracle Calendar linux client install is now broken. This was running fine under both FC4 and RHEL 4. Here is the error I receive on any of the installs (silent/text/graphical):
    [root@pcalarco OracleCalendar_inst]# sh silent_install.sh
    Preparing to install...
    Extracting the JRE from the installer archive...
    Unpacking the JRE...
    Extracting the installation resources from the installer archive...
    Configuring the installer for this system's environment...
    awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
    dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    /bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
    basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    Launching installer...
    grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    /tmp/install.dir.23852/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
    I know Fedora Core isn't officially supported, but does anyone have a solution for this? Are these just path errors for the JRE as in previous problems with Fedora?
    Also, does Oracle Calendar 10 run any better in FC5?
    Many thanks in advance!
    - pascal
    >
    Pascal V. Calarco, MLIS
    Head, Library Systems & Economics Subject Liaison
    University Libraries of Notre Dame/
    Michiana Academic Library Consortium
    Notre Dame, IN USA 46556-5629
    e-mail: [email protected] tel.: 574-631-3409
    --------------------------------------------------

    I did some searching, and found that this is a common problem with many applications migrating from FC4 to FC5. This problem is caused due to incompatibility of the installer's Java Run-time Environment with certain system libraries.
    In order to solve this, run these commands on the {OracleCalendar_install/cal_linux_904 file:
    $ cp cal_linux_904 cal_linux_904.bak
    $ cat cal_linux_904.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > cal_linux_904
    $ rm cal_linux_904.bak
    Now the installers work fine.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Error message  "You need a new version of pages to open this document"

    I created a document in pages about a month or two ago and I can't open it anymore.  When I hit learn more, it directs me to the apps pages, where it says it's installed.......

  • How can I use this?? Custom css style.

    !http://unisonsoft.iptime.org:8000/sample.jpg! Please look at this image.( Dashboard -> page option -> section properties -> Custom CSS Style Options (HTML Only) -> Use Custom CSS Style) I want to use Custom Css Style. What can I do for this? Thank y

  • Can someone tell me where to go to reset all default settings?

    Hello.  When printing pictures from the program the colors are coming out terribly wrong.  It is NOT the printer as I can print just fine from other programs.  Do I need to restore the default settings?

  • [SOLVED] PyDev problems - trying to load xmlrpclib

    I'm currently stuck trying to figure out why I can no longer debug my python3 program.  Whenever I try to start the debug session, I get the following: Traceback (most recent call last): File "/usr/share/eclipse/dropins/pydev/eclipse/plugins/org.pyth

  • Group Limit items to create one PO

    Hi All, while creating limit items, we want to group all limit items in one PO. I am aware that it is SAP standard behavior that we should not have more than one limit item in a PO. But is there any BADI available for such an enhancement so that we c