Java install on Ubuntu

Hi all,
I downloaded the latest j2se1.4 (test purposes). I have followed the install instructions, i have even added the following to my /etc/profile.
export JAVA_HOME=/opt/j2sdk1.4.2_07
export CLASSPATH=.
export PATH=$PATH:$JAVA_HOME/bin
I am only able to use java when i type the following into a terminal: source /etc/profile
but when i open a new terminal i get unrecognised command
please help!!

Sorry, but this page (http://www.ubuntulinux.org/wiki/DocumentationArea) does'n exist. I had the same problem as u. Can u tell me how do u fix this problem? Everytime I wanna use java, I have to type: source /etc/profile in the terminal. But I don't wanna to do this. Help me, pls.

Similar Messages

  • INSTALL JAVA ME in Ubuntu

    I am Newbie in Java ME, Could all of you tell me , how to Install JAVA ME in UBUNTU....
    maybe have link or PDF file :-)
    THNQ
    David

    you can also try out...
    google "WTK Release" on linux..
    download WTK Release and follow the instruction given, u can find self extractor WTK toolkit

  • Java install won't accept Ok ?? Desperate for help??

    Java install won't accept <Ok>?? Desperate for help??
    I've decided that I'm going to develop my Rails applications in Linux and keep hitting a BRICK WALL every time I try to install NetBeans or Java. I download all of the packages and come to a text screen that says "Package Configuration" and then "Configuring sun-java5-bin" and then it asks you to read the agreement and there's an <Ok> at the bottom. I can't get through this and everytime it fails my 'package manager' goes bonkers and I have to reload the Ubuntu Gutys Gibbon operating system AGAIN!!!
    I push ENTER and type in "yes" and "Ok" and there is no response.
    I've loaded this operating system FIVE TIMES NOW and the bottleneck is very frustrating as I can't program in a graphics environment without Java.
    I joined this forum just to ask this question and would be grateful for a reply at [email protected]
    Thank you,
    Kathleen

    KathysKode wrote:
    Java install won't accept <Ok>?? Desperate for help??Such a poorly worded question.
    I've decided that I'm going to develop my Rails applications in Linux and keep hitting a BRICK WALL every time I try to install NetBeans or Java. I download all of the packages and come to a text screen that says "Package Configuration" and then "Configuring sun-java5-bin" and then it asks you to read the agreement and there's an <Ok> at the bottom. I can't get through this and everytime it fails my 'package manager' goes bonkers and I have to reload the Ubuntu Gutys Gibbon operating system AGAIN!!!
    I push ENTER and type in "yes" and "Ok" and there is no response.Sorry, I haven't downloaded the JDK to Ubuntu. Maybe I'll try it with my VMWare instance and see how it works out.
    I've loaded this operating system FIVE TIMES NOW and the bottleneck is very frustrating as I can't program in a graphics environment without Java.
    I joined this forum just to ask this question and would be grateful for a reply at [email protected]
    Thank you,
    KathleenAnyone so foolish as to post their e-mail in a public forum like this is open to having their competence questioned. Hope you like spam.
    %

  • How do I Use Illustrator CS 6 (16.0.4) on Mac OS 10.9 without Java Installed?

    Greetings!
    I have moved to a new system running Mac OS 10.9, and I am able to run Photoshop CS6 and InDesign CS6 without having Java installed on this system. Sadly, I receive the following error message when I try to start Illustrator CS6 (version 16.0.4, not the Creative Cloud edition).
    To open “Adobe Illustrator CS6,” you need a Java SE 6 runtime. Would you like to install one now?
    I searched the the forums and read that some users can run Illustrator CS6 without Java SE 6 (or Java 7) by removing FXGFileFormat.aip and FXGFileFormatUI.aip from Illustrator’s Plug-ins folder. Removing these plug-ins makes no difference on my system. I am still prompted to installed Java SE 6 after I try to start Illustrator CS6.
    How can you use Adobe Illustrator CS 6 without having Java SE 6 installed?
    Thank you for your help.
    JJJ

    I wish I had an answer...it seems this issue is throughout my CS 6 programs.  I can no longer even start a program.

  • Java Install error 1603 on Java 8u45

    I am having issues getting Java to Install on a Windows 7 Pro PC in a stand alone environment. 
    Error Code 1603.  Java is needed on this PC to be able to print shipping labels from FEDEX.com. I am trying to install using the administrator account. I have removed previous versions of Java. I have  removed the MS updated KB2918614.
    The java uninstall tool doesn't run because Java is required to run the java uninstall tool.  I have run multiple Microsoft Fixit Tools.  This is the second PC I have had this error with in this office. Does anyone have any thing more to offer that
    might assist me. I have "Google'd" this error for 2 weeks now.  Help would be greatly appreciated, Thank You!

    Hi,
    According to official site of Oracle, This is a known issue with Microsoft KB2918614The root causes of these errors are under investigation. If this error still persists after uninstalled this update.
    You could try following zooeyhall’s suggestion to download and install a previous version of Java or try creating a new administrative user account and install Java with the new account.
    https://social.technet.microsoft.com/Forums/windows/en-US/78ac199b-316b-4fbc-8b2b-2c90e5425ff0/java-install-errors
    Regarding to JAVA installation error, I’d suggest that we post at JAVA forum for further support. There you can get more effective suggestion by other experts who familiar with it. Your understanding is highly appreciated.
    Regards,
    D. Wu
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Sneak Preview sp11 Slim Java install hangs on J2EE Startup

    I looked around at the other instances of this type of error, but they seemed to be slightly different issues (or at least, at differenst steps).  Tried what helped them anyway, though it didn't really help.
    My install hangs at the Start J2EE Engine (step 21 of 24 normally).  It seems to retry every 20 seconds, but never gets anywhere and eventually pops up an error.  I've retried from there, stopped and restarted, wiped out the whole install and tried again.  I've repeated this for several versions of Java, the latest being the 1.4.2_08 version.  They all get to the same part and die.
    This is the error right before it gets into full swing on the waiting/retrying.
    WARNING    2005-11-29 11:40:08
               CJSlibModule::writeWarning_impl()
    Execution of the command "C:\usr\sap\J2E\JC00\exe\startsap.exe name=J2E nr=00 SAPDIAHOST=ITLAP" finished with return code -1. Output:
    STARTSAP failed
    Details are written to C:\Program Files\sapinst_instdir\j2ee_wp\installdefault\startJ2E.log
    That files says:
    running C:\usr\sap\J2E\JC00\exe\sapstart.exe name=J2E nr=00 SAPDIAHOST=ITLAP -wait
    SAPSTART finished successfully on ITLAP_J2E_00, but at least one process doesn't run correctly:
    C:\usr\sap\J2E\JC00\exe\sapstart.exe=>sapparam(1c): No Profile used.
    My os is XP, and seems to meet the min system requirements for the slim version.
    Any ideas on getting over this hump?
    Edit:  After talking with someone at the ICC, turns out pretty much that I shouldn't be trying to install the slim version.  So, time to go find a machine that can handle the normal Java install.
    Message was edited by: Cortney Denver

    Looking around at other experiences as well as my own several attempts (just tried an installation on XP several times this evening), none of this stuff works and SAP could not possibly care less.  A clearly deeply flawed installation has been sitting around for 5 months now...  one is left to wonder what highly specific conditions are required for success.
    Good luck to you... I give up.

  • I heard there was a security breach in Java installed in Macs and that there is a patch to fix it.  But that's all I know.  Is there more info available?

    I heard there was a security breach in Java installed in Macs and that there is a patch to fix it, but that's all I know.  Does anyone know how to fix it?

    There isn't a patch for a computer running Leopard .
    Leopard and earlier users see recommendations at: https://discussions.apple.com/thread/3872491

  • Does the Flashback malware have an effect on OS X systems without java installed?

    Does the Flashback malware have an effect on OS X systems without java installed? Just asking since i do not have java installed...

    It's not likely, but better safe than sorry. See
    Helpful Links Regarding Flashback Trojan
    Visit Thomas Reed's site for insight and help: Mac Malware Guide
    A Google search can reveal a variety of alternatives on how the remove the trojan should your computer get infected. This can get you started. However, be careful about what you do as new variants of the malware circumvent the efforts of earlier tools.
    Also see Apple's article About Flashback malware.
    Apple has released Java updates for Snow Leopard and Lion users:
    Java for OS X Lion 2012-003; available only for users of Lion with Java installed.
    Java for Mac OS X 10.6 Update 8; available only for users of Snow Leopard.
    Flashback malware removal tool; available only for users of Lion without Java installed.
    Install whichever shows up in Software Update. It removes the malware (if present), updates Java (if present) and tightens up Java settings for the future.  You may download from Apple's web site instead of using Software Update, but it's important to know which one to get, because the other two won't work for you.
    For the truly paranoid see 10 Simple Tips for Boosting The Security Of Your Mac.

  • Is java installed in  mac os lion?

    Is java installed automatically with os lion?

    No. Use Software Update which should produce the Java update. Or you can find it at support.apple.com/downloads/.

  • To Intel 64bit based Macs (laptops) may installed Linux(Ubuntu lastest 64bi

    To Intel 64bit based Macs (laptops) may installed Linux(Ubuntu lastest 64bit)?

    Yes, you can install 64-bit Ubuntu Linux on an Intel Mac.

  • Several versions of java installed

    hello all,
    i have several versions of Java installed on my PC and its fast becoming a mess.
    how can i completely remove all of them and only then install the latest jsdk?
    thank you

    Version conflicts are a rarity in Java. The latest JRE is usually utilised unless otherwise specified.
    Only one JRE can be used at any one time by one program on Windows anyway. It does get crowded sometimes however - just uninstall as you would any other program with the Control Panel::Add/Remove Programs.
    Personally I keep all of my JREs on my machine for several reasons and I recommend keeping it this way.

  • Script issue,Java install from script, push out to servers.

    this is a non standard install for Java that has to be installed from a script.  basically this script will run against a given amount of servers, stop the required services ( pertains to the application that requires Java on the server), uninstall
    java, install java, configure java with correct parameters and security permissions then lastly output a log file to the server that is running the script (folder) of each server .  each server will have thier own text file.   so two issues first
    java uninstalls but does not install due to a permissions error, and the other  issue that is occuring is there should be a log file for each server the
    log file will have the server name as the file namey, the script will look at the server list and run the code on that server so basically the script
    will run at the same time on all the servers, and create log file for each server and put in the folder i designate.  - this is not occuring based on the Powershell script below. what parameter is missing below. thanks
    $user = Read-Host 'Username:'
    $pass = Read-Host 'Password:'
    $result = "D:\Temp\" + $env:COMPUTERNAME +"_JavaUpdate.log"
    $copyfinal = "\\wsive005pap\d$\BatchFiles\Java_Update\"
    #Stop NCSB and Tomcat Services
    Stop-Service Tomcat7
    Stop-Service "NuanceCSB"
    #Uninstall Java
    Get-WmiObject -Class win32_product | ? {$_.Vendor -like "*Oracle*"} | % {msiexec /x "$($_.IdentifyingNumber)" /qn | Out-Null}
    Start-Sleep -s 120
    "Java 7 Uninstalled" | Out-File $result -append
    #Install Java
    $JRE = "D:\Installations\NVP 4.0 Install\jre-7u76-windows-i586.exe"
    & $JRE /s INSTALLDIR=D:\Apps\Progra~1\Java\jre7\ /l D:\Temp\javainstall.log | Out-Null
    Start-Sleep -s 240
    "Java 7 Installed" | Out-File $result -append
    #Configure Java
    $pattern = "security.provider.10=sun.security.mscapi.SunMSCAPI"
    $javasec = "D:\APPS\Program Files (x86)\Java\jre7\lib\security\java.security"
    $viecore = "security.provider.11=cryptix.provider.Cryptix"
    (Get-Content $javasec) |
        Foreach-Object{
            if($_ -match $pattern)
                $_ 
                $viecore
            } else {
                $_ 
         } | Set-Content $javasec
    "Java Configured" | Out-File $result -append
    #Start NCSB and Tomcat Services
    Start-Service Tomcat7
    Start-Service "NuanceCSB"
    #Updating log files and push to the central server
    $javaver = gci "D:\APPS\Program Files (x86)\Java\jre7\bin\java.exe"
    $tomcatver = "D:\APPS\Program Files (x86)\Apache Software Foundation\Tomcat 7.0_Tomcat7\lib\catalina.jar"
    "*****Check Java and Tomcat Version*****" | Out-File $result -append
    & $javaver -cp $tomcatver org.apache.catalina.util.ServerInfo | Out-File $result -append
    "*****Check Services Started*****" | Out-File $result -append
    Get-Service | Where-Object {$_.Name -eq "NuanceCSB"} | Out-File $result -append
    Get-Service | Where-Object {$_.Name -eq "Tomcat7"} | Out-File $result -append
    "*****Check Java Security File*****" | Out-File $result -append
    Select-String -Path $javasec -Pattern "cryptix" | Out-File $result -append
    "*****Print log file for CTI connections*****" | Out-File $result -append
    Get-Content "D:\APPS\NuanceCSB\logs\stdout.log" | Out-File $result -append
    "*****Print log file for connector*****" | Out-File $result -append
    Get-Content "D:\APPS\NuanceCSB\logs\CSB.log" | Out-File $result -append
    NET USE \\wsive005pap\d$ $pass /user:CORP\$user
    Copy-Item $result $copyfinal
    NET USE \\wsive005pap\d$ /delete

    Hi Gow,
    I would like to know how did you deploy the .ps1 script on remote computers like using task scheduler or something else, please make sure the user account you used to run this script on every server has enough permission.
    According to your script, it will produce a log file under "D:\Temp\" and this file will be copied to the destination
    \\wsive005pap\d$\BatchFiles\Java_Update\, please check the username and the password, and also make sure the folder exist before copy, then test the script below separately:
    $user = Read-Host 'Username:'
    $pass = Read-Host 'Password:'
    $result = "D:\Temp\" + $env:COMPUTERNAME +"_JavaUpdate.log"
    $copyfinal = "\\wsive005pap\d$\BatchFiles\Java_Update\"
    Get-Content "D:\APPS\NuanceCSB\logs\stdout.log" | Out-File $result -append
    Get-Content "D:\APPS\NuanceCSB\logs\CSB.log" | Out-File $result -append
    NET USE \\wsive005pap\d$ $pass /user:CORP\$user
    get-item \\wsive005pap\d$\BatchFiles\Java_Update\
    Copy-Item $result $copyfinal
    NET USE \\wsive005pap\d$ /delete
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Help got tiger but it stalls at java install

    hi just got tiger install disk and it stall at java install and sya the were errors installing the soft ware please try agian . can anyone or has anyone had this problem
    Bryon
    '

    Have you alloted enough space for Boot Camp? Win7 needs at least 60 Gb for an adequate installation. If you burned an iso perhaps you need to do it again at 2x speed.

  • Dreamweaver CC will not launch - Java Installed

    I have installed Java per instructions here http://forums.adobe.com/message/5710379#5710379
    Dreamweaver CC will still not properly launch. I am running  Mac OS 10.9.1. I have to force quit Dreamweaver CC to get it to stop.

    Turned out I did not have Java installed.  Downloaded it here: http://support.apple.com/kb/DL1572
    Found this topic, which led me to my solution:
    http://forums.adobe.com/message/5710379
    Hope this helps others.

  • New install of Ubuntu, Firefox menu bar is missing.

    I have a new machine with a new install of Ubuntu 12.04. In Firefox the menu bar is missing. I have the black border with 3 buttons in the left and the current page title. I also have a tabs bar and toolbars. I've looked in the forum/help and tried the suggestions there, here's what happened:
    If I right-click the tab bar, the only toolbars shown in the drop-down menu are Navigation, Bookmarks and Add-ons, so I can't show the menu bar that way.
    I don't have a Firefox button.
    I've tried creating a new toolbar and moving all buttons except the address field and google search across in case it was a lack of space on the toolbar but that didn't help.
    I can't reset the profile as I don't have a help menu.
    I've re-installed Firefox and there was no change.
    Does anyone have other suggestions please?
    Tim

    Ubuntu 11.xx and later displays window menus in the control bar at the top of the screen with the switch to the Unity window manager.
    * http://en.wikipedia.org/wiki/Ubuntu_Unity
    Click on Bookmarks/Show All Bookmarks then move your mouse to the left upper corner toward Firefox Web Browser.
    You will get pop up menu (Organize, Views and Import and Backup).

Maybe you are looking for

  • Not able to do goods receipt in MIGO

    Hi, While doing goods receipt for process order through MIGO, system gives me an error "The document xxxxxxxxxxx does not contain any selectable item".Suppose if it is MB31 we can solve the problem by tick the "suggest zero lines"but for MIGO what we

  • Problems using an LCD TV with my MBP

    I just bought a Viewsonic LCD TV. I have tried to attach my MBP to it using a monitor cable and the adapter provided by Apple. There is a "PC" input on the back of the TV. I can see my desktop wallpaper on the TV screen, but nothing else. When I star

  • Query on AS01 - Create Asset Master

    Hi, experts, I need use Depreciation run - AFAB to allocate the depreciation every month. But my boss ask me to set up new company in SAP . In the first step, I have 2 queries  in T code AS01- Creat Asset Master. 1) Can I allocate  the monthly deprec

  • Customize menu

    Clicking on the elipses (...) on a document a menu pops up  View properties Edit properties Versions etc... I've been asked to remove "Publish a major version" from this list. Can I customize this in SP2013 designer and if so, how?   Thanks Tom

  • [CS2/CS3] - TreeView frame & ScrollBar roller

    Hello, please could anyone advise me with 2 following probles: 1) Is it possible to insert black frame list f.e. ListBox ? 2) Is it possible to change size of "scroller" of my own ScrollBar for which I use methods SetMaximum() to scroll my panel ? Th