GNU S tells me: "JAVA_HOME is not set"

Yes, this is a silly question. I don't understand why GNU S can't find Java. Tomcat knows where it is, and so does everything else. My variable to connect GNU S with the SJava library is proper, but Java is unknown. Help is appreciated. My system is one of those terrible windoze xp boxes. Thank you.

JAVA_HOME is an environment variable that points to your Java install. Not everything needs it.
On Windows XP: open Control Panel; open System; select the Advanced tab; click the Environment Variables button; under the System variables section; click New; enter the Variable name as JAVA_HOME; enter the Variable value as c:\j2sdk1.4.1 (or whatever your Java install directory is); click OK; click OK; click OK; close Control Panel; close and reopen any DOS windows you have running;
NOTE:, You can put the variable under User variables rather than System variables if you want to so that every user of the system can set their own value, but if there is only one Java install on the machine, then you may as well put it under System variables.

Similar Messages

  • Java_home is not set

    dear all
    i have problem i cant install data base of primavera p6 r 8.2 i have new lap with windows 7 when i instal database the commad prompt open and there are massage java_home is not set i checked the path of variable java home by command ( cd %java_home%) and the massage was C:\Program Files\Java\jre7\bin the problem still there what can i do ???????????????????????????????????????????????????????????

    Create three java variables for P6 installation,follow the below procedure.
    I installed java in C:\Java32\ so created the variables like this;
    1) variable name: JAVA_HOME Value: c:\Java32\JRE1.6.0_27
    2) variable name: JRE_Location value: c:\Java32\jdk.1.6.0_27\jre
    3) variable name: p6_java_home value: c:\Java32\jdk.1.6.0_27

  • 'JAVA_HOME is not set' error while running icommand via cront in Linux

    Hi all:
    I'm trying to run icommand to execute .sh, I can execute manually successful but I want to run in automaticlly. so I choose 'cront' command. however, there's an error out while using crontab -e as below:
    ERROR: JAVA_HOME is not set. Please set JAVA_HOME and run this command.
    What strange is, it's OK while running the shell manually but failed via 'cront' command. Does anyone can help me to resolve it?
    Thanks in advance.
    the shell is below:
    #!/bin/sh##
    /fmw/Oracle/Middleware/Oracle_SOA1/bam/bin/icommand -cmd export -name "/LAEH_Core_Framework/Data_Object/laehDataObject" -file "/fmw/bamExport/abc.xml"
    echo "111"

    Let me guess:
    When you export manually you don't do it as root right?
    when you use your scripts via crontab it is possible that a variable (in this case JAVA_HOME) is not set (for the user root).
    So you probably have to check whether JAVA_HOME exists when your logged in as root.
    I hope this helps

  • I took my iMac to be fixed and when i got it back, mail was not set up. I called Apple Support and they helped me set up mail. Then the emails went to trash on the iMac and on the MacBook Pro (same emails). There are no numbers by the 'inbox' to tell how

    I took my iMac to be fixed and when I got it back, mail was not set, so I called Apple and they helped me set up mail. Now the new mail goes to trash and there is no number by the 'inbox' to tell me how many new messages I have. I cannot save a draft to 'drafts.' There is a large number by 'trash' (I think all mail went to trash - including drafts). When I send myself an emai, it goes to trash also. This is on both my iMac (the one taken in) and my MacBook Pro (same emails) which was not taken in.
    I went to 'rules' but have no idea what to do there. There are no rules in the rule box. When I click 'add rule' it puts 'rule 1' in the rule box, but since that was not there when I took it in, I delete it to have an empty rule box.
    Can someone pleasehelp me. I am completely stupid with all this. Do not under stand what is suppose to be set up in 'rules.'
    Thank you so much,
    Arudi

    Now new mail is coming to both computer's inboxes but there is no number on the stamp icon on dock to show number of emails on the iMac. Nor is there a number by either email address under MAILBOXES/inbox (sidebar) on the iMac. This number is showing on MacBook Pro.
    I also can save drafts now on both computers.
    Seems the Pro is fixed and the iMac is only missing the numbers on dock icon and by addresses in inbox.
    Now that the problem is less, I feel i am wasting your time but will continue so maybe I can get those numbers back.
    Two emails > AT&T email and gmail.
    Apple's Mail program for email - yes, and gmail.
    IMAP for both accounts.
    Did not change mail configuration on MacBook.
    The iMac and MacBook Pro have the same mail configuration except in Accounts/mailbox behaviours/store draft messages on the server was not marked on MacBook > it is now.
    'Store junk messages on the server' was marked on one computer for gmail, but is unmarked on both now.
    On the iMac, Accounts/Accounts info/Outgoing mail for gmail is smtpgmail.
    On the MacBook Pro for gmail it is smpt.gmail.com (plus) my email address.
    Rules/Add rule window, on the MacBook third line is 'Any Recipient', on the iMac third line is 'From."
    The last box on that line has my email address on the MacBook.
    The last box on that line has the last address I sent an emil to (last night), on the iMac.
    On the last line on iMac, no box was selicted for 'to mailbox' > I choose 'inbox' because it is on the MacBook Pro.
    Now I have a Rule #1 and am not sure I should have because there was no rules marked when I took the computer in.
    Thank you. I relized I had done the labeling wrong when so much of my question appeared twice and no one else's did. I know how to do it now.
    Thank you so much,
    Arudi

  • JAVA_HOME not set when running a task via CRON

    On my Solaris 11 server I have created an entry in the root user CRON tab to launch a groovy based application every weekend. The application runs fine under a non-root user. When run by CRON however, the following error message gets emited:
    groovy: JAVA_HOME not set and cannot find javac to deduce location, please set JAVA_HOME
    Which is weird, as I have the following lines at the end of my /etc/profile file:
    JAVA_HOME=/usr/jdk/instances/jdk1.7.0
    export JAVA_HOME
    GROOVY_HOME=/usr/local/bin/groovy-2.1.3
    export GROOVY_HOME
    PATH=${PATH}:${GROOVY_HOME}/bin:${JAVA_HOME}/bin
    export PATH
    Please advice me where to look for the cause of this problem.
    Thank you in advance,
    Dusan

    I have the following command
          /usr/local/bin/groovy-2.1.3/bin/groovy /usr/local/bin/backup/prune_old_backups.groovy
    How do I add the JAVA_HOME variable into it?
    Thank you,
    Dusan

  • Java_es-5-websuite-ga-windows-x86 installation issue not setting JAVA_HOME

    looks like the installer from java_es-5-websuite-ga-windows-x86.zip is not setting the JAVA_HOME variable correctly.
    C:\Sun\JavaES5\DSEE\dscc6\bin>dsccsetup.exe initialize
    Failed to create child process ["1/bin/java.exe" -Dsun.directory.clip. [...]

    Sorry for the late response. Do you need the other components provided by JES? If not, I suggest installing DSEE from the zip installer which can be downloaded separately. If you have to use JES and the problem is still not resolved, please log a case with Sun.

  • Unable to start java tools - Error : Environment variable JAVA_HOME not set

    hi all,
    I am not able to start the java tool - Visual Admin, Configtool, etc in the solaris Bash shell.
    I was given authorizations on solaris and i'm able to view the logs and browse in solaris boxes,
    But, when i try to start Visual Admin, it says" ERROR environment variable JAVA_HOME not set "
    Since,my colleagues are using this tool for years, how come the environment variable is not set only for my user profile ?
    Is it like the environment variable has to set seperately for every user profile ?
    Do i need to set it initially for my profile eventhough it is working for others ?
    i am confused..please help.
    Addy

    Nicholls, Thanks for your quick reply.
    Ofcourse, I use my login ID to use java tools and they use their's obviously.I don't use <SID>adm.
    We WRQ reflection for X-Windows and Putty for Command line Solaris Access.
    When i try to use VA through the X-Window tool WRQ reflection, I am not able to start the tool.
    My doubt here is, Do we need to setup the environment variable for every new user initially for the first time ? ( I am a new user for this environment )
    Supposing if i need to setup the environment variable, do i need to set it up for the all the Solaris Boxes i use ?
    I am able to browse through the files.when i try to start the VA by giving ./go i am not able to start it up.
    Appreciate your time and valuable replies.
    Addy

  • How do I finalize the set up of my Adobe Reader?  My bank tells me it is not done.

    How do I finalize the set up of my Adobe Reader? My bank tells me it is not done.

    Can we assume you have installed it?
    What exactly are you trying to do and what happens when you try to do it? What exactly did the bank tell you?

  • JAVA_HOME does not point to the JDK

    Hello !
    I am running one project in Eclipse , but, i am getting some errors while running the project.
    Error is as follows :
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK.
    It is currently set to "C:\Zicom\java\jre1.5.0_04"
    If anybody is knowing the solution please tell me, i need your help badly.
    Thank you very much.

    Aw c'mon, that error message is self-explanatory.
    What's your JDK home directory? Not something ending in jre1.5.0_04, I'll bet.
    My Computer -> right-click -> Properties -> Advanced -> Environment Variables -> JAVA_HOME -> change it to the home directory of your jdk -> run Eclipse -> post back here.
    db
    edit Late, as usual. Anyhow, remove the \bin at the end of your JAVA_HOME and try again.
    Edited by: Darryl.Burke

  • Object reference not set to an instance of an object. Unable to finish the SQL 2012 installation on a VM Machine

    Hi, My name is Leonard and I am studying SQL. I have downloaded the newest MS SQL 2012 and also MS 2012 Hyper-V. I have set a MS 2012 Hyper-V on a laptop with AMD Turion 64 X2 and 3G of RAM (Planing
    to add more to max at 8G).
    Following the instructions in the free online
    Administering Microsoft SQL Server 2012 Databases” Training Kit, I have set 6 virtual machines as instructed in the Training Kit. While the installation of the MS Server Core 2008 R2 SP1 completed with no
    problem, the same cannot be said for the SQL Server 2012 installation. I have encountered an error that I have not seen anyone address in any of the SQL web forums.
    After running the unattended setup instruction (Setup.exe /qs /ACTION=Install /FEATURES=SQLEngine /INSTANCENAME=MSSQLSERVER
    /SQLSVCACCOUNT="Njowa\Pa$$worD>" /SQLSVCPASSWORD=" Pa$$worD” /SQLSYSADMINACCOUNTS="Njowa\lenny#4!@" /AGTSVCACCOUNT="NT AUTHORITY\Network Service"
     /IACCEPTSQLSERVERLICENSETERMS) this is what I get after a series SQL setup
     initiation windows popups then disappears.
    The following error occurred:
    Object reference not set to an instance of an object.
    Error result: -2147467261
    Result facility Code: 0
    Result error Code: 16387
    Please review the summary.txt log for further details
    My question is: What instance of an object is not properly initialize in the Setup instructions

    Hello,
    Please note that SQL Server requires at least 1 GB of RAM. The operating system (Windows Server) requires 2 GB of RAM (recommended) or 512 MB (minimum). This means any virtual machine that will receive the installation of a SQL Server instance requires 1.5
    or 2 GB at least.
    The behavior of SQL Server setup tells me that the virtual machine does not have enough memory assigned or .NET Framework 3.5 was not enable on Control Panel->Program
    and Features before trying to install SQL Server.
    The following thread is about another possible cause of this error:
    http://social.msdn.microsoft.com/Forums/mr-IN/sqlsetupandupgrade/thread/575d3025-69f5-4152-a473-44496b008811
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Object reference not set to an instance of an object error when generating a schema using flat file schema wizard.

    I have a csv file that I need to generate a schema for. I am trying to generate a schema using flat file schema wizard but I keep getting "Object reference not set to an instance of an object." error when I am clicking on the Next button after
    specifying properties of the child elements on the wizard. At the end I get schema file generated but it contains an empty root record with no child elements.
    I thought may be this is because I didn't have my project checked out from the Visual SourceSafe db first but I tried again with the project checked out and got the same error.
    I also tried creating a brand new project and generating a schema for it but got the same error.
    I am not sure what is causing Null Reference exception to be thrown and there is nothing in the Windows event log that would tell me more about the problem.
    I am using Visual Studio 2008 for my BizTalk development.
    I would appreciate if some has any insides on this issue.

    Hi,
    To test your environment, create a new BizTalk project outside of source control.
    Create a simple csv file on the file system.
    Name,City,State
    Bob,New York,NY
    Use the Flat file schema Wizard to create the flat file schema from your simple csv instance.
    Validate the schema.
    Test the schema using your csv instance.
    This will help you determine if everything is ok with you environment.
    Thanks,
    William

  • WRT160N - LELA FAILED - ERROR - MSG_100_000_003 & Object ref not set to an instance of an object

    First of all I would like to say I'm very disappointed with Cisco/Linksys support. I made 6 phone calls and spent about 3 hours on hold and being connected to someone else over the course of about two weeks. The Tech supportin this particular case was the worst I have ever experienced. Regarding the problem - make sure that you do not have any items in the start up such as Linksys EasyLink Advisor and in particular nmctxth unchecked. Also, check that your Anti-Virus does not have the app blocked. I was instructed to uninstall and reinstall about six different times - which I did. This never solved anything. Then I notice a program named "Pure Networks", this appears to be app associated with LELA. The best I could tell this does not get uninstalled and reinstalled like the rest of the program. So I chased the app down to Documents and Settings\All Users\Application Data\Pure Networks\Setup\PlatformSetupInstaller_0.msi . Executed this program which initiated an install program for the same and selected the REPAIR option from the three options (Repair\Modify\Uninstall). After about two or three minutes the program indicated the Repair had completed and the PC needed to be rebooted. Which I did and now the program (LELA) works with no issues. I think when you uninstall and reinstall the LELA program this never gets executed. So when you manually run the program it actually gets executed. I performed this Repair when the file: PlatformSetupInstaller_0.msi was selected and actually executed. The following error messages were indicated before the issue was resolved:
    Error
    MSG_100_000_003
    Cannot find Platform service, make sure that the service is correctly installed on your machine.
    Error
    Object ref not set to an instance of an object.
    Error
    1628
     These errors occured when various items were selected in LELA and after reboot on reinstall. And by the way LELA would be blank with no Network Map present. If you go through the log files under the Documents and Settings\All Users\Application Data\Pure Networks and C:\Documents and Settings\All Users\Application Data\Linksys\Lela, then search for the word fail, you will turn up these errors in bits and parts. The registry key:  4CDCB1A1-87EE-49AB-9A9F-E270FC5DB823 led me to the Pure Networks program or I might not have figured it all out.
    All of these error messages are related to the log files in either folder indicated above. 
    I hope this helps everyone - again the support was pitiful and I really expected more.

     The Linksys Link Network Advisor (LELA) sometimes works, most of the times does not on our "House-PC"; we have to install the disk again when it gets stuck to make it work. Also, in order to make changes to our network, we can do it easily on its web site, but the LELA will not synchronize it sometimes; so we have to go again and put the disk in to re-install LELA and "synchronize" it; though in reality, it is as if we are installing LELA for the first time, everytime we want to make changes to our network, by the way, a real pain!! After reading the advice above, I also installed Sisco's (the Linksys parent company) Network Magic software and now all my computers in my network work seamessly, and perfectly well. I can even share my printers now!! Thanks for this advice; very helpful indeed.
    a happy network administrator

  • GPM Custom GPO-Settings: An error occurred while generating report: Object reference not set to an instance of an object.

    Hello,
    As you can tell from the title of this question, I am no expert with GPO's.  Before I begin, I spent a few minutes to an hour searching and reading in hopes of finding the solution and avoid putting myself out there as a "GPO Newb".  While
    I found several posts and answers that were similar and were related, the questions and answers were more advanced and did present the solutions providing the person had initial knowledge already.  That is not necessarily my case and I would ask for a
    little patience and a bit of 'hand-holding' for what I need.
    I run SBS 2011, and in Group Policy Management I have a custom GPO.  In this GPO I define all my settings.  I understand this may not be the best or most practical method of applying policies, but I am not very strict and have few settings.  This
    policy existed prior to my joining the company, and was migrated in to this SBS '11 from SBS '03.  That may be the issue, but before making any changes I am seeking expert advice.
    When I select that GPO, named "Main GPO", and click on the tab at the top "Settings" I see the error: "An error occurred while generating report: Object reference not set to an instance of an object."
    I saw that when I right click the GPO > View > Options and select the tab "Reporting" that it states that for reporting to work the location of the .adm files must be specified.  I see that my option for the location is set to "Default"
    which by my guessing would be located in the C:\Windows\sysvol directory.  Below is what I see there:
    C:\Windows\sysvol\domain
    C:\Windows\sysvol\staging
    C:\Windows\sysvol\staging areas
    C:\Windows\sysvol\sysvol
    I think the problem is that my custom GPO are not inside the default location, which I speculate is: C:\Windows\sysvol\domain\policies (which I do see some objects there).
    But instead I also see items in this folder: C:\Windows\sysvol\sysvol\JOHN.LOCAL\policies (while where I just typed 'JOHN.LOCAL' is my actual local domain).
    To further this, when I edit that custom GPO, then at the very top of the tree I right click on it and select Properties, I see a Unique Name listed there as a long string of numbers and letters, similar to a registry entry.  I searched my server for
    that same Unique Name and found it listed inside the folder: C:\Windows\sysvol\domain\policies
    If I am correct with my assumption and basic knowledge, I should move all objects as follows:
    -Move FROM: C:\Windows\sysvol\domain\policies
    -Move TO: C:\Windows\sysvol\sysvol\JOHN.LOCAL\policies
    My concerns are that I am not correct at all, that I will break something, that there may be an easier fix than moving anything, or that I am overlooking something causing this error altogether. 
    Thank you for anyone's help and time with assisting me with this request.
    John Fester

    > top "Settings" I see the error: "An error occurred while generating
    > report: Object reference not set to an instance of an object."
    That's due to a security setting (most possibly) your current OS does
    not understand. Hard to find out wich exact setting it is... To resolve
    this issue, we need the gtpptmpl.inf file residing in the policiy's
    sysvol folder. To open this folder, edit the policy, move to computer
    settings - policies - windows settings - scripts - startup, press "show
    files". Then move two folders upwards and back down to
    .\microsoft\windows nt\secedit. There you'll see the gpttmpl.inf - post
    its contents and we'll have a look at it.
    > location, which I speculate is: C:\Windows\sysvol\domain\policies (which
    > folder: C:\Windows\sysvol\sysvol\JOHN.LOCAL\policies (while where I just
    That's perfectly ok - JOHN.LOCAL in fact is a symlink pointing to "domain".
    > all objects as follows:
    > -Move FROM: C:\Windows\sysvol\domain\policies
    > -Move TO: C:\Windows\sysvol\sysvol\JOHN.LOCAL\policies
    No.
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • TS4062 my iphone 4 has mild water damage and will not sync with cable.I want to sync it over wifi to reload data I deleted during my troubleshooting, but I did not set up for wifi sync before the damage. Is there a way that this can be done now ?

    My iphone 4 has mild water damage. As a result, it will not sync with it's former XP computer with the cable. I deleted the phone's data in the troubleshooting process. I want to get it back by syncing over wifi, but I did not set up this capability before the damage occured.is there another way to initiate this feature ? I can tell that they are connecting in the cloud because an app I just downloaded on the phone is showing up in itunes on the computer.

    You don't need to access your e-mail account, just get into your Apple account and change the e-mail address. If you can't access your Apple account, then you have a bigger issue to contend with.

  • DataadapObject reference not set to an instance of an object in VB,NET 2003

    Huge problem, please help!
    Just installed ODT 10.1.4 and must have done something wrong. Don't know enough to be able to correct on my own.
    In VB, after install, new OracleDataAdapter, OracleConnection, OracleCommandBuilder and OracleCommand items appeared in toolbox. Tried dropping an OracleDataAdapter on the form. Immediate error in Microsoft Development Environment dialog box: Object reference not set to an instance of an object. I've tried the following:
    Updated References to include Oracle.DataAccess
    Updated Imports list to include Oracle.DataAccess and Oracle.DataAccess.Client

    Sorry, pressed wrong button. To continue:
    I've tried to drop on an existing form with an MS OracleDataAdapter already on it and a fresh form with nothing on it. The form designer will handle the other three objects (connection, commandbuilder and command) without complaint.
    Though I haven't tried to execute, adding an oracledataadapter in code seems to work -- at least no errors, and code completion does what is expected.
    What am I missing? I need that data adapter (unless someone can tell me how to get past the bug in the MS provider that produces data overflow when trying to handle Oracle type NUMBER) and am on a very very very tight deadline.
    HELP!!!!
    Thanks for anything that might work.
    Eric

Maybe you are looking for

  • Error while invoking web service from PDK

    Hi, I had written code to invoke a sample web service which is generated through WSDL file. Started the web service and followed the sequence of steps that are described in this blog: https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2947. [origi

  • ABAP Query Layout

    I am asked to change existing abap query. I need to add some more fields in output display layout. How can i select fields for display.

  • Reg Radio Buttons configured as a group

    Hi, I have 5 search regions and 5 radio buttons on a page.I have configured 5 radio buttons as a group.I have done a PPR on radio buttons whereby based on the radio button clicked the corresponding Search region(OAF Query region) is rendered on the p

  • MAGIC_CHECK returned incorrect for C$SEQ_CLIENTS

    Hi, Im getting "MAGIC_CHECK returned incorrect for C$SEQ_CLIENTS" while sync with the server. (Lite 10g) This happens only for one client and rest are working fine. Any help is apprciated. Thanks

  • Preferences and logging

    The Javadocs for java.util.logging.LogManager says; <Q> In addition, the LogManager uses two optional system properties that allow more control over reading the initial configuration: * "java.util.logging.config.class" * "java.util.logging.config.fil