Problem about installing jdk on mandrake...

hi. i downloaded j2sdk-1_4_1_01-linux-i586.bin and placed it in /usr directory. wrote the command
./j2sdk-1_4_1_01-linux-i586.bin
now there exists this directory /usr/j2sdk1.4.1_01
i wrote a simple application and copied it to /usr/j2sdk1.4.1_01/bin
and te command
/usr/j2sdk1.4.1_01/bin/javac test.java
the output:
bash: javac: commmand not found
what do i have to do...thnaks..

by you doing it this way /usr/j2sdk1.4.1_01/bin/javac test.java you should not need to set the class path and such because you are specifing the exact path to javac so you can compile.1 check and see if you have installed it right and make sure you are giving the right path to javac so to check and see if this is the right path to javac type this in the prompt
ls /usr/j2sdk1.4.1_01/bin
Then tell use if you see java,javac,jar and such in there if so your path there is right and it should work cause that is where javac is

Similar Messages

  • Problem in installing JDK 5.0

    Hi,
    In order to install ORacle SQL Developer for linux, I tried to install JDK 5.0 according to the instruction. I downloaded the files and installed it. But when running the sqldeveloper, I got the error message:
    Error: This product requires a Java(TM) Platform 5.0 runtime.
    You are using 1.4.2 from /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
    sqldeveloper installation instruction suggests to go to this page:
    http://java.sun.com/javase/downloads/index_jdk5.jsp
    and download JDK 5.0 Update 6. Since this website doesn't have 6, so I downloaded JDK 5.0 Update 10.
    How do I make sure JDK 1.5 is installed?

    Sorry for delay but I was temporary away without
    internet connectivity ;-(
    That commad will print "/usr/java/jdk1.5.0_10" and
    redirect this text (output) to
    /home/cdre/.sqldeveloper_jdk file. If the file is
    exists then contents of file will be replaced by new
    text. If the file does not exeist then will be
    created.
    But there is another problem. Seems you are using
    SQLDeveloper 1.1 and (where some things were changed
    from 1.0) and this command is valid for 1.0.No problem. I have learned a lot about shell scripting recently.

  • Problem Re-Installing JDK 1.4.1_01

    I have been programming in Java for years, and I consider myself an expert, but I have encountered several problems with JDK 1.4.1_01. The problem that I am addressing in this post, a failure to re-install JDK 1.4.1_01, is only my latest problem. Here are the basics:
    1. I had both 1.4.1_01 and 1.3.1_02 installed on my computer
    (Win 2000, 1GH processor, 1GB RAM, 30GB hard drive)
    2. I decided to uninstall everything and then reinstall 1.4.1_01.
    I used the Windows Control Panel Add/Remove programs feature
    to uninstall. Everything appeared to go well.
    3. I then tried to re-install 1.4.1_01. The status bar gets
    all the way to 100%, and then a small window pops up with
    the message "Setting up Java 2 Runtime Environment. Please
    wait...". At this point my computer hangs, and I have to
    kill the process.
    4. I tried this several times with several other attempts to
    fix the problem (such as hacking the registry to remove
    any related entries), and rebooting every time. Nothing
    worked -- always the same problem.
    After a couple of hours trying I gave up and re-installed 1.3.1 without any problems. Does anyone have a suggestion as to how I can re-install 1.4.1_01. Based on the number of problems that others are having with this release, I am tempted to forget it and wait for 1.4.1_02.

    Likely, your Registry still has some problems in it. There were (are still?) version compatibility problems involving some 1.3 releases. You might check the buglist. And search the forums, there are a lot of posts about this.

  • A problem about installing javacc

    i have to install JavaCC2_1, i downloaded the JavaCC2_1.zip and unzip it
    but when i begin to install it ,an error appeared
    # java JavaCC2_1 -c
    Exception in thread "main" java.lang.NoClassDefFoundError: JavaCC2_1
    and I have already set the JAVA_HOME=/usr/j2se (default by solaris 9 for sparc)
    can somebody tell me why? thanks very much

    Hi,
    I am trying to run my first java program. Made a
    simple java program of printing a output in a textpad
    but when running from c:/jdk1.5.0/bin (javac aa it
    gives error javac: invalid flag: aa
    Usage: javac <options> <source files>) and when
    giving as javac aa.java, it says cant read aa.
    I guess my classpath needs to be set. Can you tell
    how?The problem isn't the classpath.
    You are not telling the javac command the correct location for your file aa.java.
    If aa.java is in the current directory, use javac aa.java. If it's in another directory, provide the full path to the file. For example, javac \dir1\dir2\dir3\aa.java

  • Problem about installing DB 10.2.0.1.0 on Solaris 10 (×86-64)

    1.How to set kernel parameters with Solaris 10 (×86-64) for installing DB 10.2.0.1.0?
    When I run the OUI, there are errors after product-specific prerequisite checking:
    Checking kernel parameters
    Checking for BIT_SIZE=64; found BIT_SIZE=64.     Passed
    Checking for shmsys:shminfo_shmmax=4294967295; found no entry.     Failed <<<<
    Checking for shmsys:shminfo_shmmni=100; found no entry.     Failed <<<<
    Checking for semsys:seminfo_semmni=100; found no entry.     Failed <<<<
    Checking for semsys:seminfo_semmsl=256; found no entry.     Failed <<<<
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The kernel parameters do not meet the minimum requirements (see above).
    Checking available swap space requirements ...
    Expected result: 4028MB
    Actual Result: 1462MB
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The system does not have the required swap space.
    Recommendation: Make more swap space available to perform the install.
    I set those parameters referrence with:
    http://www.dizwell.com/prod/node/235
    3.3 Setting Kernel Parameters
    Now, when I issue the following command with oracle user:
    prctl -n project.max-shm-memory -i project oracle
    project: 101: oracle
    NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
    project.max-shm-memory
    privileged 4.00GB - deny -
    system 16.0EB max deny
    prctl -n project.max-shm-ids -i project oracle
    project: 101: oracle
    NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
    project.max-shm-ids
    privileged 100 - deny -
    system 16.8M max deny
    prctl -n project.max-sem-ids -i project oracle
    project: 101: oracle
    NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
    project.max-sem-ids
    privileged 100 - deny -
    system 16.8M max deny
    I don't know how to check process.max-sem-nsems???
    2. Originally, I want to install DB 10.2.0.2 for simulant testing. After the installing of DB 10.2.0.1.0, how to upgrade to DB 10.2.0.2? what is the number of patch?

    Hi, damorgan
    I do follow Oracle Installation Guide, but the same errors are still existing.
    And I think there are some error and unclear places in the document. I'm not sure because I don't familiar with Solaris. Maybe the document gives a general guide, but not suit for my thing. I'm wondering if there are some bugs on my Solaris or I really did wrong process...
    I give the detail process as following:
    Solaris 10 8/07 Operating System:
    sol-10-u4-ga-x86-v1-iso.zip to sol-10-u4-ga-x86-v5-iso.zip
    Oracle® Database Installation Guide
    10g Release 2 (10.2) for Solaris Operating System (x86-64)
    2.6 Configuring Kernel Parameters
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15704/pre_install.htm#BABGADGE
    Oracle® Database Release Notes
    10g Release 2 (10.2) for Solaris Operating System (x86-64)
    4 Documentation Corrections and Additions
    http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b15703/toc.htm#CHDBAHCD
    issue following commands with root:
    # /usr/sbin/groupadd oinstall
    # /usr/sbin/groupadd dba
    # /usr/sbin/useradd -g oinstall -G dba oracle
    # passwd -r files oracle
    # id -p
    uid=0(root) gid=0(root) projid=1(user.root)
    # id -a oracle
    uid=100(oracle) gid=100(oinstall) groups=101(dba)
    # su - oracle
    $ id -p
    uid=100(oracle) gid=100(oinstall) projid=3(default)
    $ exit
    # cat /etc/project
    system:0::::
    user.root:1::::
    noproject:2::::
    default:3::::
    group.staff:10::::
    # prctl -n project.max-shm-memory -i project user.root
    project: 1: user.root
    NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
    project.max-shm-memory
    privileged 1006MB - deny -
    system 16.0EB max deny
    # prctl -n project.max-shm-memory -v 4gb -r -i project user.root
    # prctl -n project.max-shm-memory -i project user.root
    project: 1: user.root
    NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
    project.max-shm-memory
    privileged 4.00GB - deny -
    system 16.0EB max deny
    # prctl -n project.max-shm-ids -i project user.root
    project: 1: user.root
    NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
    project.max-shm-ids
    privileged 128 - deny -
    system 16.8M max deny
    # prctl -n project.max-shm-ids -v 100 -r -i project user.root
    # prctl -n project.max-shm-ids -i project user.root
    project: 1: user.root
    NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
    project.max-shm-ids
    privileged 100 - deny -
    system 16.8M max deny
    # prctl -n project.max-sem-ids -i project user.root
    project: 1: user.root
    NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
    project.max-sem-ids
    privileged 128 - deny -
    system 16.8M max deny
    # prctl -n project.max-sem-ids -v 100 -r -i project user.root
    # prctl -n project.max-sem-ids -i project user.root
    project: 1: user.root
    NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
    project.max-sem-ids
    privileged 100 - deny -
    system 16.8M max deny
    # prctl -n project.project.max-sem-nsems -i project user.root
    prctl: failed to get resource control for project.project.max-sem-nsems: Invalid argument
    OK. Then I start another session with oracle user login in, and begin installing DB. Unfortunately, the errors after product-specific prerequisite checking:
    Checking kernel parameters
    Checking for BIT_SIZE=64; found BIT_SIZE=64. Passed
    Checking for shmsys:shminfo_shmmax=4294967295; found no entry. Failed <<<<
    Checking for shmsys:shminfo_shmmni=100; found no entry. Failed <<<<
    Checking for semsys:seminfo_semmni=100; found no entry. Failed <<<<
    Checking for semsys:seminfo_semmsl=256; found no entry. Failed <<<<
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The kernel parameters do not meet the minimum requirements (see above).
    Checking available swap space requirements ...
    Expected result: 4028MB
    Actual Result: 1462MB
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The system does not have the required swap space.
    Recommendation: Make more swap space available to perform the install.

  • The problem about install openssl

    I want to install openssl on my mac
    when I use "./config" to install openssl the terminal said "sh: make: command not found".
    where is my problem?
    Thanks,
    Sandy

    You must install the Command Line Tools with Xcode. You can download Xcode 4 in the Mac App Store. Then, you must download the Command Line Tools in Apple Developer web or Xcode preferences. You need a free Apple Developer account

  • Problem about Install 10g Express Edition on my Debian 3.1 system

    Dear all,
    I've recently downloaded the oracle-xe-universal deb file from oracle.com.
    I installed the deb file on my system and it seems successful.
    But after I configured oracle with "/etc/ini.d/oracle-xe configure"
    I can't view the webpage on my firefox browser.
    It replied connection refused.
    And I tried sqlplus like this:
    niu@shuang:~$ sqlplus system
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Mar 6 11:39:43 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    niu@shuang:~$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Mar 6 11:40:19 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect / as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    niu@shuang:~$ sqlplus system@shuang
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Mar 6 11:42:02 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    But when I use tnsping, it seems like that it's OK.
    niu@shuang:~$ tnsping shuang
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 06-MAR-2007 11:41:59
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    Used HOSTNAME adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
    OK (0 msec)
    I searched all the website, but I can't find any hint.
    Would someone please help me?
    Any help would be appreciated and thanks in advance.

    $sqlplus sys/syspassword as sysdba
    SQL>startup;Thank you for your instant reply.
    I did as you said, but I got the following error:
    niu@shuang:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin$ sqlplus sys as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Mar 6 11:54:57 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-01031: insufficient privileges
    Any other suggestion.
    I'm sure that my password is correct.

  • Problem about the JDK/SED version in JBuilder 9

    I am now using JBuilder 9. However I have just noticed that the version of JDK/SED of my JBuilder 9 software are not the latest version. The JDK version is 1.4.1 in the JBuilder 9 software. I want to update it to 1.6.0. How can I do it? Pleas help. Thank you very much.

    This is not a JBuilder support forum.
    You should find a JBuilder support forum.

  • I have a problem about install a new database on asm in RAC

    i installed crs and oracle db,next step i want to create a db on asm using dbca.rsp
    following info is some options in dbca.rsp,but i do not know how to edit my template file(here is mydb.dbc),let the datafile path point to ASM disk
    if it will create ASM diskgroup ORADG,it will also create path +ORADG/oradata directory automatically during dbca's create process?
    and can i put flash_recovery_are on asm?
    [GENERAL]
    RESPONSEFILE_VERSION = "10.0.0"
    OPERATION_TYPE = "createDatabase"
    [CREATEDATABASE]
    GDBNAME = "mydb"
    SID = "mydb"
    NODELIST={"rac1","rac2"}
    TEMPLATENAME = "mydb.dbc"
    SYSPASSWORD = "Myss123456"
    SYSTEMPASSWORD = "Myss123456"
    EMCONFIGURATION = "LOCAL"
    SYSMANPASSWORD = "Myss123456"
    DBSNMPPASSWORD = "Myss123456"
    STORAGETYPE=ASM
    DISKLIST=/dev/oracleasm/disks/VOL1,/dev/oracleasm/disks/VOL2
    DISKGROUPNAME=ORADG
    REDUNDANCY=EXTRENAL
    DISKSTRING="ORCL:*"
    ASM_SYS_PASSWORD="Myss123456"

    Hi,
    wouldn't create database using dbca is more easy and error-less?
    Template file format is basically like xml format. If you have created Diskgroup then you can use
    $ dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbName mydb -sid mydb1,mydb2 -SysPassword Myss123456 -SystemPassword Myss123456 -emConfiguration NONE -storageType ASM -asmSysPassword Myss123456 -diskGroupName ORADG
    Cheers

  • Installing JDK 1.4, esp. the src.zip file

    I have some questions about installing JDK 1.4:
    1. After running the executable installation file, you get a src.zip file in the installation directory. Does anyone know what this is? The obvious answer is that it is the library of code for JDK 1.4. However, I have run programs on Forte Agent without unzipping this file.
    2. In previous versions of the JDK, when you decompress the src.jar (it is now a src.zip file in the 1.4 version) file, it creates a src folder and decompresses all the information into that. However, in JDK 1.4, it does not create a src folder, but rather, decompresses the files into the installation directory. Is this a fault of the new release or should I create a src folder and have the src.zip file decompress into that folder?
    I am running Windows 2000.

    I have some questions about installing JDK 1.4:
    1. After running the executable installation file, you
    get a src.zip file in the installation directory. Does
    anyone know what this is? The obvious answer is that
    it is the library of code for JDK 1.4. However, I have
    run programs on Forte Agent without unzipping this
    file.The src.zip is the source code for the JDK, not library. Note: The file is not the whole source code, it does not have any native library so you cannot compile it.
    >
    2. In previous versions of the JDK, when you
    decompress the src.jar (it is now a src.zip file in
    the 1.4 version) file, it creates a src folder and
    decompresses all the information into that. However,
    in JDK 1.4, it does not create a src folder, but
    rather, decompresses the files into the installation
    directory. Is this a fault of the new release or
    should I create a src folder and have the src.zip file
    decompress into that folder?
    I am running Windows 2000.No, it is just how Sun zip it. Anyway, as long as you don't care to look at the source, you can just leave it along.

  • Install JDK

    I got a problem to install JDK, Would anyone help me, please.
    after i run the .exe file, i just got the .exe file, nothing else, not bin file, lib file, etc.
    I down the JDK(J2se sdk) from below website.
    http://java.sun.com/j2se/1.4.2/download.html
    But after down load, i got a .exe file which called j2sdk-1_4_2_09-windows-i586-p. Then i double click on it and run it, and it pop up a window. I followed the instruction until finish and restart my computer also. Finally
    I just see the .exe file, nothing else, not bin file, not lib file etc, would you tell me why. My computer is XP window.

    To warnerja :
    Sounds like you need someone to hold your hand as you run it. Can't >do that here. Go hire someone or get one of your hands-on buddies to >do that. your sound like a genius, but in fact you are an useless people, otherwise you will be famous in the world, and have not time to here.
    you just have ability to to talk people with 1+1= 2, nothing else. You are an arrogant people, but have very lower ability.

  • Probleme to install Oracle 8.1.7 on Mandrake 9.1

    Hi,
    I have some problem to install Oracle 8.1.7 on Mandrake 9.1.
    I log on a non root user and launch "./runInstaller" but nothing happens. It's only written "please wait"...
    I see on the Oracle site that I must use glibc 2.1 but only if Oracle is already installed? So if you could give me some indications?
    Thanks.

    Hi,
    I have also the same problem : when I launch the program "./runInstaller", nothing appears.
    However, I thought I found a good solution on a forum, but it doesn't run.
    The explication is given at the following address :
    http://colalug.org/ml-archive/0210/msg00051.html
    The only point where I'm not sure is when it's said to use a specific library in the "LINUX STUFF" section. They are using glibc2.1 and I'm using glibc2.3.
    I have also changed the "ASSUME_KERNEL" variable to the version of my kernel, that's 2.4.21.
    What are your suggestions ?
    Thanks to give me an answer.

  • Problems in instalation/running with JDK 5.0

    I'm rellatively new to Java programming. I've had a few classes, know the basic concepts and have tried some tutorials. Recently I installed JDK 5.0 update 6 in my computer (first I tried the Netbeans bundle, but saw it was very complicated and unnecesary) then found the installation for only the JDK and JRE.
    The compilation goes without complication, but when I want to run the program come the obstacles
    I've tried to start with some simple programs but whatever I do, I get the Exception in thread "main" java.lang.NoClassDefFoundError in every program that I've done. I even tried the simplest HelloWorld program (found in http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html ) and get the same error
    Now for the important part. I've already did my research, tried to debug everything. First off, added to my PATH env variable the path to the jdk5.0/bin dir to run javac and java in every directory. And also tried running "java HelloWorldApp classpath="dir to .class" and no success.
    I checked the env variable for CLASSPATH and only found a path to a Quicktime dir and nothing else (yes, I have Quicktime Pro installed). I've tried adding the dir of the .class file to it with no success
    I don't know what else to do. If someone has suggestions as to what else there is to do, please do not hessitate to even give the simplest and dumbest of advise

    I agree with the previous poster that it's better not to rely on the CLASSPATH environment variable.
    If you go to this link:
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html#basic
    you can find the documentation for javac and java, which may interest you in itself. The one for javac explains the essence of how classes are found.
    Now, assuming you are on Windows,
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html
    documents how to run java. You need to pass as -cp all relevant class paths.
    I know this is not helping you directly, but it's hard if not impossible to deduce the problem from what you wrote (at least to me). But if you try this and you still get the same error, please post the full and exact command line you tried.

  • When installed JDK but I have problem with System vars may install bundle

    When installed JDK but I have problem with System vars may install bundle [netbeans&JDK] WITHOUT UNISTALLING initial JDK or needed uninstall first ?

    With the word 'automatically', yes you do need pulseaudio. I'm sure you could cook up some udev or related rule to do that in Alsa, but pulseaudio would be easier.

  • Great Problemes after installing Yosemite (10.10.2 ) with Photoshop CS6....The program crashes --last time 10 times during my work session..wacomtable doesnt work..it is slow...and get error messages about the graphic card....It s a Terror to work with my

    great Problemes after installing Yosemite (10.10.2 ) with Photoshop CS6....The program crashes --last time 10 times during my work session..wacomtable doesnt work..it is slow...and get error messages about the graphic card....It s a Terror to work with my beloved Photoshop!

    The Yosemite upgrade very often damages existing Photoshop installations.  Thank Apple for that.
    You need to uninstall and re-install Photoshop, then apply all the Photoshop upgrades from scratch.
    But first, give us details about your setup:
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    A screen shot of your settings or of the image could be very helpful too,
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

Maybe you are looking for

  • How can I go back and forth between Word and FrameMaker

    I have a client who has all their documentation in FrameMaker, but needs to export to MS Word to distribute files for editing by various parties. Once edited, my client needs to bring the updated text back into Frame, ideally without having to re-for

  • Update from 10.6.8 to 10.7.4 -- issues

    I will be honest and say that I know very little-to-nothing about computers. I know I'm not wording this correctly, but my sister had to help me understand how my phone operated -- I knew how to use it, I just had no idea what the sales guy was telli

  • Calculating tax liabilities and report to GREs

    Hi all, Sorry I'v recently learnt "Oracle HRMS", however, How can I calculate tax liabilities and report to GREs, in oracle payroll? Thank You,

  • Dell Latitude D620 Won't boot after install

    I installed Solaris 10 via DVD on my D620. The install goes fine and completes successfully. When I try to boot for the first time, I just see a bunch of memory addresses on the screen only for like half a second. They just blink on the screen for a

  • I can't logon on OTN

    My username in OTN is [email protected], when I try to logon into my account the logon form tells me that password is wrong. I used the "Remind me my password" utility and the password that I receive is the same that I use to try logon on OTN. I've t