Program can't find Java in Linux

Even though I installed Java, a program that needs it cannot find it. I think it might have had a different version on my computer before. I saw a post relating to this on here earlier but now I can't find it. It had something to do with editing a config file or something like that.
Thanks

Ah, I see. The solution is ... or something like that.
That's about as specific an answer as is possible, given the lack of specificity of the question. If you wish assistance, please state the details of the problem that you're having. The more information you give, the better the responses...

Similar Messages

  • Java error message 'Can't find Java Home'

    While Installing an application, I can see the error popup window 'Can't find Java Home'. Why it occur the error message only most newer PC. Please advise me
    Thanks in Advance,
    Ponmuthu

    Well, hi again!
    My problem is not solved, when I tried to start Tomcat today it fails with the same message as earlier, namely
    C:\jakarta-tomcat-4.1.12-LE-jdk14\bin>catalina start
    The JAVA_HOME environment variable is not defined correctly
    This environment variable is needed to run this program
    Using CATALINA_BASE: C:\jakarta-tomcat-4.1.12-LE-jdk14
    Using CATALINA_HOME: C:\jakarta-tomcat-4.1.12-LE-jdk14
    Using CATALINA_TMPDIR: C:\jakarta-tomcat-4.1.12-LE-jdk14\temp
    Using JAVA_HOME: C:\j2sdk1.4.1_01
    Det g�r inte att hitta filen -Djava.endorsed.dirs=. (Could find the file -DJAVA.endorsed.dirs=...............
    And JAVA_HOME, CATALINA_HOME, TOMCAT_HOME is:
    C:\jakarta-tomcat-4.1.12-LE-jdk14\bin>echo %JAVA_HOME%
    C:\j2sdk1.4.1_01
    C:\jakarta-tomcat-4.1.12-LE-jdk14\bin>echo %TOMCAT_HOME%
    C:\jakarta-tomcat-4.1.12_LE-jdk14
    C:\jakarta-tomcat-4.1.12-LE-jdk14\bin>echo %CATALINA_HOME%
    C:\jakarta-tomcat-4.1.12-LE-jdk14
    Any more suggestions of why it's not working?

  • Where can I find Java for Mac OS X 10.6.8?

    Where can I find Java for Mac OS X 10.6.8?

    fixie84 wrote:
    I can't find it on my imac. I searched for it in the finder.
    It should be in /System/Library/Frameworks/
    10.6 update 3 deprecated that path, and since that Java update (if you've installed it) it would be
    /Library/Java/JavaVirtualMachines/
    and
    /System/Library/Java/JavaVirtualMachines/

  • How can i find java preferences on MAC 10.8.2

    I recently upgraded to the new Mountain Lion OS X 10.8.2 but I can't find Java preferences anymore. I need to go onto an online banking page but it needs me to adjust some settings through Java Preferences, kindly please inform where can I get to the Java Preferences page?

    The last Java update disabled Java plug-in and removed Java Preferences.app from your Utilities folder.
    You can re-enable Java by follwing this support article
    http://support.apple.com/kb/HT5559
    Or, you can update to Oracle's Java 7 here
    http://www.java.com/en/download/mac_download.jsp?locale=en

  • I find I am unable to print any photo because the program "Can't find a theme and the Print command wont work without at least one theme. How can I overcome this problem?

    I find I am unable to print any photo because the program "Can't find a theme and the Print command wont work without at least one theme. How can I overcome this problem?

    reinstall iPhoto
    see this discussion down a few from your post
    https://discussions.apple.com/thread/5426566?tstart=0
    LN

  • Where can I find Java 1.5 ?

    The tools are launched over the network via the WebStart application that is part of the Java 1.5 installation. You have to download Java 1.5 (JRE 5.0 or J2SEE 5.0)from the Sun Developer Network (WebStart is included).

    > Thanks a lot. But I can not find Java 1.5
    Ah. Sun's marketing gremlins strike again. Java 1.5 and Java SE 5 are the same product.
    ~

  • Where can I find java on my iPad?

    Where can I find java on iPad?

    Welcome to Apple Communities
    The iPad isn't compatible with Java and other propietary plugins like Flash

  • Where can I find Java for my iMac OS X 10.7.2? I would like to print coupons....

    Where can I find Java for my iMac OS X 10.7.2? I'd like to print coupons and the pop-up says that Apple has their own version of Java. I don't even know what it's called!

    download from here: http://mac.softpedia.com/get/System-Utilities/Java.shtml.  Only click this download button
    ignore all the other ones.

  • Can't find Java Class of a standard UI Command

    Hello everybody,
    Where can i find Java classe source and Bundle file of a standard UI Command "AppDetails"
    for example ?
    Thanks & Regards,
    Hassan Mounim

    Hi Hassan,
    You can find the UIDetailsCommand class here:
    ..\WEB_INF\portal\portalapps\com.sap.km.cm.ui.flex\private\lib\km.appl.ui.flex.uicommand_core.jar
    And the bundle file UIConst here:
    ..\WEB_INF\portal\portalapps\com.sap.km.cm.ui.flex\lib\km.shared.ui.flex.uicommand_api.jar
    Hope this helps,
    Robert

  • Why can not find Java VM when Install JWSDP 1.6?

    I am using winXP.I have installed J2SE 5.0 by default.I want to install JWSDP 1.6 but when I runned JWSDP 1.6. install script, there is always a message error that it can not find Java VM.
    I have tried in command prompt
    jwsdp-1_6-windows-i586.exe -is:javahome c:\Sun\AppServer
    jwsdp-1_6-windows-i586.exe -is:javahome c:\Sun\AppServer\jdk
    jwsdp-1_6-windows-i586.exe -is:javahome c:\Sun\AppServer\jdk\bin
    but nothing worked. What sould I do?
    Thanks,

    I am using winXP.I have installed J2SE 5.0 by
    default.I want to install JWSDP 1.6 but when I runned
    JWSDP 1.6. install script, there is always a message
    error that it can not find Java VM.
    I have tried in command prompt
    jwsdp-1_6-windows-i586.exe -is:javahome
    c:\Sun\AppServer
    jwsdp-1_6-windows-i586.exe -is:javahome
    c:\Sun\AppServer\jdk
    jwsdp-1_6-windows-i586.exe -is:javahome
    c:\Sun\AppServer\jdk\bin
    but nothing worked. What sould I do?
    Thanks,I really don't quite follow what your problem is But:
    Are you sure it's { the script } is not looking for JAVA_HOME environmental Variable?
    You could try: Control Panel - System - Advanced - Environment Variables
    and see if it has an Entry for "JAVA_HOME"
    if it does ensure it is pointing to the correct directory:
    ie the one that has the directories bin, jre, lib
    in it. for me that is C:\Java\jdk1.5
    for you it's probaly C:\Java1-5-05 or whatever
    If it doesn't add a new entry for it.
    in my case:
    JAVA_HOME C:\Java\jdk1.5
    Normally I just double click on those .exe's and they install fine.........

  • Netbeans 6.7.1 & JavaFX Can't Find java.util.* at Runtime

    h1. Problem
    Netbeans 6.7.1 & JavaFX Can't Find the JRE classes (i.e. java.util.*) when the project is run (in Netbeans 6.7.1).
    h1. Reproduce
    Right Click Project_, then Run Project_
    init:
    deps-jar:
    C:\MyJavaFXProject\Source\Java\com\acme\Blah.java:4: cannot find symbol
    symbol : class ArrayDeque
    location: package java.util
    import java.util.ArrayDeque;h1. Workaround
    Add all the jar's found in JAVA_HOME. This is VERY BAD - because netbeans projects are no longer portable!
    h1. Does anyone else have this problem?
    Can you post a link if this problem is already on the forum or is in an Issue/Bug trackers somewhere please.
    Thanks for Reading.

    Thanks for the reply, evidently you are onto something!
    My NetBeans 6.7.1 JavaFX project is using the "JavaFX SDK on Java 1.6 (Default)" Platform.When I take a look inside this (using Manage Platforms) I can see that the following is in the list of platform classes:
    C:\Program Files\NetBeans 6.7.1\javafx2\javafx-sdk\lib\desktop\rt15.jarI'm assuming that rt15.jar is the java runtime @ version 1.5, and indeed this does NOT contain the Java 6 ArrayDeque ('_Array Deck_') class.
    ahhughes@machine-114 /cygdrive/c/Program Files/NetBeans 6.7.1/javafx2/javafx-sdk/lib/desktop
    $ jar -tvf rt15.jar | grep "ArrayDeque"
    ahhughes@machine-114 /cygdrive/c/Program Files/NetBeans 6.7.1/javafx2/javafx-sdk/lib/desktop
    $So my question is, why? If this is the "_NetBeans JavaFX SDK on Java 1.6 (Default)_", then why is it using the 1.5 runtime? It's obviously using 1.6 at compile time... this just seems busted to me.

  • Where can i find java book which help to improve performance?

    Hi,experts . now i want to improve my java program which is writed in JDK 1.3.1,and i want to know the base instruction cost,such as Int increment: i++,Object creation: new Object(). where can i find this book or resource url.
    thank you!

    Try this:
    http://www.amazon.com/exec/obidos/ASIN/0596000154/qid=1027329597/sr=2-2/ref=sr_2_2/002-4043725-1699267

  • Where can I find Java VM?

    Where can I find a download of Java VM?

    JVM is a part of any JRE or JDK
    when you run java program then you are getting running JVM
    download any JDK or JRE

  • Can't find JAVA preferences in Finder

    For a Realtor program I want to use it tells me to go to Finder-GO-Utilities-JAVA preferences. I am then supposed to change a prefence. The problem is I can'f find it under Utilities. Can anyone help me?

    MadMAC0 posted at https://discussions.apple.com/message/20107182?ac_cid=tw123456#20107182 that:
    Apple has posted (10/22/12) the approved solution for restoring the Java 6 plug-in:
    Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality.

  • My LV program can't find the iak file when the program is loaded from a different PC.

    Hello all,
    My LV vi with Fieldpoint I/O and it's IAK file are stored on the company network.  If I load and run the LV vi from the PC it was developed on, everything is fine.  If I load and run on a different PC (that has an identical install of LV), the LV vi can't find the IAK file (all of the I/O pointers to the file are grayed out.) 
    Also, if I make an EXE out of the vi on the machine that can find the IAK, it won't find it if it's run from the other machine.
    It is not related to whether one machine has different "rights", as they are identical.  It's not related to different installs of LV, as they are identical.   
    I have found that this is related to the network login name/password, and to the machine's network name.  If I login on the second machine and try to run the program, it won't find the IAK.  If I point it to the IAK it will run.  If I save it and log out, and then login as a different user with the same rights on the second machine, it won't find the IAK again, until I re-point it there when I re-run it.  This is true for both the vi and the EXE.
    This problem makes deploying the EXE difficult to different machines, as the first time it's run, the EXE has to be pointed to the IAK.  Pointing the EXE to the IAK is difficult as these installations have no keyboard or mouse.
    Does anyone have any ideas on how to fix this so the LV vi or it's EXE finds the IAK from no matter where it's loaded from?
    Thanks,
    Mike

    Laura,
    I figured I'd continue this thread because it's along he same line..
    I have two Fieldpoint systems. They are identical, except for one thing...one has an AI-110 in position 7...the other has nothing. Both have the same IP address, etc and I swap the ethernet cable between them when I want to select which one I use.  I use a dedicated ethernet card to the FP processor...and it's not the company net.
    There are two IAK files...one for the system with the AI-110, one for the system without the AI-110. The two IAKs are in different paths.
    Before I had the system and the IAK without the AI-110, I made an EXE of the code that woked with the AI-110, and it worked fine.
    But now if I run the EXE after I've used MAX and opened the IAK without the AI-110, the EXE won't read the AI-110!  I have to go back into MAX and open the IAK that has the AI-110 in it, close MAX and restart the EXE for the EXE to see the AI-110.  (Max is NOT SET to "Download Items on Save")
    I looks like the EXE is looking at MAX to get the IAK or a pointer to the IAK.
    Did I build my EXE incorrectly?  Shouldn't an EXE completely ignore MAX once it's made?
    Thanks,
    Mike

Maybe you are looking for