Linux Question

I just switched over to Ubuntu 6.10, and for some reason Keyboard.readInt() doesn't work for me anymore, after I import cs1.Keyboard I get the error Error reading int data, MIN_VALUE value returned. when I try to do int x = Keyboard.readInt(); I assume that this is because i'm not running Windows anymore. Please help!!

I just switched over to Ubuntu 6.10, and for some
reason Keyboard.readInt() doesn't work for me
anymore, after I import cs1.Keyboard I get the error
Error reading int data, MIN_VALUE value
returned. when I try to do int x =
Keyboard.readInt(); I see.
Well you'll have to post code for the mysterious Keyboard class
I assume that this is
because i'm not running Windows anymore. No.

Similar Messages

  • Javac - command not found (Linux question)

    Hi Im running openSUSE 10.2 and recently downloaded the jdk from sum.com
    I added the path of the executable files (home/jdk/bin) to my PATH environment variable, and the command 'java' works fine nomatter what the current directory, 'javac' however claims not to be found, as does appletviewer and many others.
    really cant figure this out, seeing as im sure the PATH variable has been set correctly
    sorry this is more of a linux question than java but i hoped someone on here might have had the same problem
    thanks

    use this command to check if javac is in path
    which javac if you have set the path correctly, then it should display the location of the javac otherwise it will display an error that no javac found in path..

  • Event Monitor on Linux question

    We are currently running NSM 2.0. The engine is version 2.00.37 running on a NetWare 6.5 sp7 server. The two event servers are version 2.00.15 running on NetWare 6.5 sp7 servers. We are needing to decommission the two servers that are our current event servers and replace them with SLES. No plans are in place to upgrade the server running the NSM engine. I see from the documentation that we will need to upgrade NSM to 2.5 in order to run the event servers on SLES. The documentation states "installing the NSM Event Monitor for Linux requires OES2-SP1 or SLES 10 SP2." The directions then go on to state how to install on a OES2 box. Do you have to install the event monitors on OES2? Will the event monitors run on SLES 11?
    We already have 64 bit SLES 11 systems in the partition and would like to use these instead of installing more servers if possible. If we need to install OES2 servers, is it OK if they are virtual?

    I guess I am a little confused. We have SLES 11 boxes with eDirectory 8.8.5 sp4 installed. These servers also run LDAP and hold read/write replicas of the partition the users reside in. Why do I need to run OES2 to monitor eDirectory events?
    Originally Posted by NSRDevelopment
    The main purpose of the event monitor is to monitor edirectory replicas for events. If there are no replicas where you install event, it can be configured to monitor replicas on another server. The event monitor will probably run on SLES 11 (not officially supported), but you will have to configure it to monitor a server with edirectory replicas via LDAP, which requires OES 2 (SP 1 or SP 2.) There is no problem installing on a virtual server.
    NSM Support and Development
    >>> stephayers<[email protected]> 8/17/2010 4:29 PM >>>
    We are currently running NSM 2.0. The engine is version 2.00.37 running
    on a NetWare 6.5 sp7 server. The two event servers are version 2.00.15
    running on NetWare 6.5 sp7 servers. We are needing to decommission the
    two servers that are our current event servers and replace them with
    SLES. No plans are in place to upgrade the server running the NSM
    engine. I see from the documentation that we will need to upgrade NSM to
    2.5 in order to run the event servers on SLES. The documentation states
    "installing the NSM Event Monitor for Linux requires OES2-SP1 or SLES 10
    SP2." The directions then go on to state how to install on a OES2 box.
    Do you have to install the event monitors on OES2? Will the event
    monitors run on SLES 11?
    We already have 64 bit SLES 11 systems in the partition and would like
    to use these instead of installing more servers if possible. If we need
    to install OES2 servers, is it OK if they are virtual?
    stephayers
    stephayers's Profile: NOVELL FORUMS - View Profile: stephayers
    View this thread: Event Monitor on Linux question - NOVELL FORUMS

  • Just some few Arch Linux questions

    Hi, I am new to Arch Linux and am looking for some advice and answers.
    Here are the questions:
    1. Does the update command (I think its called pacman and it updates many things with one command in terminal) update the Arch Linux base, the DE that is installed, the apps that are installed and artwork on Arch Linux?
    2. Is Arch Linux User friendly once installed (When I say user friendly, I mean something like Ubuntu)?
    3. Does the drivers (Wireless card drivers, graphics card drivers, printer drivers and audio card drivers) come pre-installed once Arch Linux is installed like Ubuntu?
    4. What is the stablility and speed of Arch Linux compared to Ubuntu?
    That is all I need to know.
    Cheers,
    molom

    molom wrote:Hi, I am new to Arch Linux and am looking for some advice and answers.
    Here are the questions:
    1. Does the update command (I think its called pacman and it updates many things with one command in terminal) update the Arch Linux base, the DE that is installed, the apps that are installed and artwork on Arch Linux?
    pacman is the package manager for Arch. It will install single package, batches of packages, update the installed packages and several other things. Yes, one command 'pacman -Syu will update all the installed packages to the most recent available in the repositories. It will not update your artwork, ut everything else will be updated if you so desire.
    molom wrote:2. Is Arch Linux User friendly once installed (When I say user friendly, I mean something like Ubuntu)?
    Once you have installed the base systen, updated and then installed whatever desktop environment or window manager you want, whatever programs you want, etc., it will be as user friendly as you have made it.
    molom wrote:3. Does the drivers (Wireless card drivers, graphics card drivers, printer drivers and audio card drivers) come pre-installed once Arch Linux is installed like Ubuntu?
    As others have said, the install process does a fairly good job of detecting your hardware and installing the necessary modules, but it is up to you to install drivers for your nVidia / ATI video card if you want accelerated graphics. You'll have to install your printer (generally via cups, which you must also install). You'll have to install alsa and you may have to configure your sound.
    molom wrote:4. What is the stablility and speed of Arch Linux compared to Ubuntu?
    Arch is what you make it. You can have a rock solid stable system, or you can opt to be bleeding edge and risk the occasional package breaking.
    molom wrote:So when you say 'pkgs', do you also mean the desktop environment as well. For example, I have E17 installed and I use the 'pacman -Syu' command, will it update the version of E17 on my PC to the current version of E17?
    A package is a piece of software. E17 is a package, or perhaps a meta package made up of a bunch of packages. alsa is a package. gnome network-manager is a package. Anything that is installed on your system is managed and updated by pacman.
    molom wrote:Is there something similar to synaptic in Arch Linux?
    pacman is the Arch package manager. It does not need a gui front end, though there are a few third party front ends that have been written. I do not know if they are still active.
    molom wrote:
    I'm really eager into knowing about Arch Linux.
    Cheers,
    molom
    Then I also suggest as other have, that you avail yourself of the wiki, especially the beginner's guide which answers several of the questions you've asked.
    Arch Linux is what you make of it, but you have to do the making. Heck, that's 95% of the fun!

  • I feel like a complete idiot....  JDK for Linux question....

    I downloaded the JDK for Linux... and I have a small problem...
    It says "permission denied" when I attempt to access the file..
    Now I imagine this might not have anything to do with Java... ((Opening the file as root does nothing either.. I get the same response))...
    It just seems really odd that "root" would lack permission to do this, so I am wondering if there is something I am missing in this...
    (PS- I can download and install the JDK for Win95 just fine :-) )
    [email protected]

    It would seam that you do not have the right permissions set on the executable but your question was to vauge witch file are you trying to access when you receive this message? what group are you in ?
    I can probably help if you furnish me with more info.
         --Ian Mechura                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • MOVED: K8T Neo-FIS2R SATA and Linux Question

    This topic has been moved to Operating Systems.
    K8T Neo-FIS2R SATA and Linux Question

    Quote
    Originally posted by chasmon
    Hi all,
    I have just setup up a brand new system but am having probelms getting it working. I want to install XP on a single Maxtor 160Gb drive.
    I have my HD on Promise Ser1 and all SATA stuff in BIOS enabled. When I get to the screen I press F6 and then when promted I insert the floppy with the promise drivers on. I then get this message:
    "File txtsetup.oem caused an unexpected error (4096) at line 1742 in d:\xpclient\base\boot\setup\oemdisk.c"
    I can't get past this screen I have tried:
    1.Drivers from the CD supplied.
    2.Drivers from the MSI website.
    Please help me this lot cost lots of hard earned I'm pretty gutted at the moment. I have also tried the Via chipset with no joy.
    System:
    Antec 380W PSU and Sonata Case
    LG DVDROM 8163B
    NEC DVDR/RW 2500B
    Panasonic Floppy
    Neo FIS2R mobo
    Maxtor Diamondmax Plus 9 160Gb SATA150
    Benq RF K/B & Mouse
    Don't spam man! I posted something to this same question in another thread.. from you no less! Make a new thread! lol
    Hijacking = bad!
    Ian

  • CSCur27617: AnyConnect vulnerable to POODLE attack (CVE-2014-3566) Win/Mac/Linux Question

    CSCur27617: AnyConnect vulnerable to POODLE attack (CVE-2014-3566) Win/Mac/Linux
    I wanted to know if the AnyConnect Secure Mobility Client would still be vulnerable to this if it was only connecting via SSL VPN (TLS) to an ASA that already has the workaround implemented on it (Disable SSLv3)?
    Thanks,
    Rob Miele

    Hi Rob , 
    According to the bug: 
    All versions of desktop AnyConnect for Mac OS X and Linux prior to 3.1.00495 are vulnerable , so Anyconnect 3.1.06.073 is safe from POODLE vulnerability 
    On the Anyconnect you can disable the SSL using Ikev2 instead of the SSL protocols , however as the bug mention , the client creates a paralel ssl tunnel to get updates and profile from the router.
    If you're asking to disable SSLv3 on the router , unfortunately there is not code yet , the workaround is to disable the webvpn or upgrade the VPN client.
    As well here is the officil advisory for the POODLE vulnerbility on Cisco Products.
    http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20141015-poodle
    Hope it helps
    - Randy - 

  • Merged FX5200 Voltage and Linux Questions

    Hello
    I am about to change my motherboard, I intent to buy a Asrock 939DUAL SATA2. The voltage for the AGP grafic card is 1,5 V. Can I use my old personal cinema FX5200?

    Hello
    I know MSI says there are no support for linux for the Personal Cinema FX5200. But the Nvidia chip is supported with Linux drivers. Is there anyone who has experiance with linux and Personal Cinema FX5200

  • Solaris 10 - x86 - migrating from Linux - question?

    Hi,
    We have a C++ application that uses libpcap to read packets as they arrive on the interface. We are trying to set up a more secure environment on Solaris 10 x86 by having this application run inside of a Solaris Container. The application runs properly when run on the machine outside of the container. However, when we try to start the application when inside the container, the call to pcap_open_live fails with the error "'/dev/iprb0:1: No such file or directory'".
    Is there a way in which we can set up the Solaris Container so that it can have access to the interfaces (devices) in /dev?

    No. Packet capturing is not working in non-global zones.
    You can not manipulate network interfaces in a non global zones at all. You can add some types of devices to the non global zones, but no network adapters.
    All ip filtering, packet capturing business can only be done in the global zone.
    regards,
    Imre

  • More like linux question

    Hi,
    I have two instances (say tst1 and tst2) under same oracle_home. I have to do a export on daily basis on tst2. So I wrote one exp.dat file and have a exp.sh script to run the export. But when I run the .sh file it waits for confirmation of ORACLE_SID. This is what I have in nohup.out
    *./tst2_exp.sh: /etc/bashrc[38]: shopt: not found*
    *./tst2_exp.sh: /etc/bashrc[47]: shopt: not found*
    *ORACLE_SID = [tst2] ?*
    How can I make it to run automatically. This is my .sh file
    *#!/bin/ksh*
    *. /home/oracle/.bash_profile*
    export ORACLE_SID=tst2
    export ORACLE_HOME=/app01/app/oracle/product/10.2.0/db_1
    export PATH=$PATH:$ORACLE_HOME/bin
    *. /usr/local/bin/oraenv*
    datestamp=`date +%m-%d-%Y`
    exp parfile=/app01/app/warehouse/export/tst2_exp_full.dat file=/app01/app/warehouse/export/tst2_full.dmp.$datestamp log=/app01/app/warehouse/log/tst2_full.log.$datestamp
    gzip -f /app01/app/warehouse/export/tst2_full.dmp.$datestamp
    Thanks,

    The script file needs to read
    #!/bin/ksh
    . /home/oracle/.bash_profile
    export ORACLE_SID=tst2
    export ORAENV_ASK="NO"
    . /usr/local/bin/oraenv
    # oraenv sets ORACLE_HOME and PATH
    export ORAENV_ASK=""
    datestamp=`date +%m-%d-%Y`
    exp parfile=/app01/app/warehouse/export/${ORACLE_SID}_exp_full.dat file=/app01/app/warehouse/export/${ORACLE_SID}_full.dmp.$datestamp log=/app01/app/warehouse/log/${ORACLE_SID}_full.log.$datestamp
    gzip -f /app01/app/warehouse/export/${ORACLE_SID}_full.dmp.$datestamp
    This code is portable, your code has everything hardcoded and needs to be maintained often.
    You also can export to a pipe and compress on the fly.
    Scripts demonstrating this fly all over the web,search for mknod orapipe
    Sybrand Bakker
    Senior Oracle DBA

  • Running a Java program at startup in Linux

    Hello
    How do I run a Java program at startup in Linux? I know in Windows I can put a .bat file in C:\Windows\Start Menu\Programs\StartUp\ directory, but in Linux I have no idea how it is done.
    Thank you,
    Mihai

    This is really a Linux question, not Java.
    And then it depends on the version of Linux you are using.
    Maybe this will help, otherwise you should try on a forum for your version of Linux.

  • How can you connect Ipod to a linux system?

    Bought our study abroad student an Eee PC computer that will work well in his home country of Africa. My boys got Ipods for Christmas and I gave him one too. We are unable to find a way to get it to connect to his linux system. Is is possible?? It is an Ipod Nano 4th generation. Thanks!

    The iPod is designed to work with iTunes however is no version of iTunes for Linux so there's no simple answer to your question. You'd be much more likely to find a possible solution by posting in one of the many Linux discussion websites. Linux Questions would be a good place to start, you'll find the forum at this link: LinuxQuestions.org

  • How to use clamav anti-virus for Red Hat linux

    I wanted to know how to use clamAV anti-virus solution for RHEL 5.X. I tried to find it online but the information does not seem consolidated. I wanted to understand how to install and use it to scan the system.
    Requesting a reply to my query.
    Regards

    Moderator Action:
    This question has no relationship whatsoever with functionality involving anything "Oracle".
    You should ask your Red Hat Linux questions at a Red Hat support forum.
    Thread is now locked because it is outside the scope of this forum discussion space.

  • HELP: Java Install on RedHat ES3 Linux

    I get the following error evoking java after initial install of J2SDK on RedHat ES 3 (version 9):
    [root@bdln4002 ~]$java -version
    Fatal: Stack size too small. Use 'ulimit -s' to increase default stack size.
    Aborted
    I have adjusted the stack size via ulimit command and reloaded the kernel. I have extended the stack size to "unlimited" and still receive the same error. My current settings look like this:
    [root@bdln4002 ~]$ulimit -a
    core file size (blocks, -c) 0
    data seg size (kbytes, -d) unlimited
    file size (blocks, -f) unlimited
    max locked memory (kbytes, -l) 4
    max memory size (kbytes, -m) unlimited
    open files (-n) 1024
    pipe size (512 bytes, -p) 8
    stack size (kbytes, -s) 10240
    cpu time (seconds, -t) unlimited
    max user processes (-u) 31488
    virtual memory (kbytes, -v) unlimited
    I have installed Java plenty of times in Solaris with out a fraction of this frustration. Any ideas where I am missing the boat? My searches are turning up nothing ... so assume I am complete linux idiot at this point.

    I've never heard of that error before. So I googled it and found this..
    http://www.mail-archive.com/[email protected]/msg15491.html
    Are you using a Blackdown jvm.. That isn't necessary for Linux any more. And the suggestion in this thread is to try using Java version 1.5. Honestly, I don't know enough about this subject to offer any thoughts of my own here.
    For general help with Linux you could try Linux Questions. There is a forum there specific for Red Hat users.
    http://www.linuxquestions.org
    Here are some links which offer information about installing Java on Linux. I don't remember the dates on these pages.
    http://home.bredband.no/gaulyk/java/index.html
    http://pipeline.lbl.gov/vgb2/help/java_linux_instructions.shtml
    http://www.cs.princeton.edu/introcs/21hello/linux.html
    http://www.linuxjournal.com/comments.php?op=Reply&pid=5780&sid=6290

  • IP of linux server

    Hi,
    i set up Oracle linux 5.7 in VirtualBox-4.1.8 within Win XP and is there a way to make the linux server use the same IP of Win XP or not? here is what i can see
    [root@localhost ~]# ifconfig
    eth0 Link encap:Ethernet HWaddr 08:00:27:61:4F:16
    inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:11 errors:0 dropped:0 overruns:0 frame:0
    TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:2721 (2.6 KiB) TX bytes:5188 (5.0 KiB)
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:2587 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2587 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:3851820 (3.6 MiB) TX bytes:3851820 (3.6 MiB)
    peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
    UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
    RX packets:18 errors:0 dropped:0 overruns:0 frame:0
    TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:4506 (4.4 KiB) TX bytes:9323 (9.1 KiB)
    vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
    UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
    RX packets:24 errors:0 dropped:0 overruns:0 frame:0
    TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:5188 (5.0 KiB) TX bytes:2721 (2.6 KiB)
    virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
    inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:3137 (3.0 KiB)
    xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
    UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
    RX packets:14 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:3675 (3.5 KiB) TX bytes:0 (0.0 b)
    the IP of linux server is adjusted to be 192.168... by itself
    Thanks & Best Regards,
    HuaMin

    Giving it some more thought, having your guest OS provide DHCP may not work because the Virtualbox virtual network interface cannot be up before your host system. Btw, how many host systems do you have? It keeps changing. Perhaps it would work to assign your windows any private IP number and assign the "working" IP to your guest OS, but I don't know. You may have more luck asking this in a Virtualbox forum. This is not a Oracle Linux question.
    It seems however that neither your hardware nor your environment are really sufficient for what you are trying to accomplish. Perhaps asking your ISP for another IP address could be your best option.

Maybe you are looking for

  • Performance Problems with UI Element Tabstrip and IE

    Hi, I use the UI Element "Tabstrip" in a Java Web Dynpro Application. The application gets slower the more I jump from one tab to the next. All the other UI Elements (e.g. ComboBox, TextField) are affected, too. A system trace on the Web AS seems to

  • Converting Planned Order to Purchase Requisition

    Is their configuration that can automatically convert planned order to purchase requisition based on information like planned delivery time, etc.?  Or, does the conversion of planned order have to be done via MD15 either manually or by batch job?

  • LBS Sample Error

    Hi, Have someone tried 'Sample Demonstrating Location and Customization Features in Wireless Application' at http://otn.oracle.com/sample_code/tech/java/wireless/9iwireless/location/LocationSample.jar? I've got 'service error' in screen of mobile sim

  • Customer Information in PS

    Hello PS Gurus, I am new to PS and I have a couple of questions 1)  I need to know if its possible to see customer specific information via PS? Basically I am loooking at a link between project definition and customer master for whom I am creating th

  • The mysterious case of the missing Bootcamp partition space

    I've searched and searched, but have come up with nothing, so I hoped that one of you brilliant people could help me: I created a 122gb partition on my Macbook Pro using Bootcamp. After all was said and done, Windows installed and so on, Windows told