Set systemwide variable with /etc/launchd.conf does not work in 10.10

Hi,
before i upgraded my system, i set in file /etc/launchd.conf some variables. I need this for the Shell, Eclipse and some other tools.
user@osx10-10:~$ cat /etc/launchd.conf
setenv M2_HOME /opt/maven
setenv MAVEN_OPTS "-Xmx2048m -Dmaven.surefire.debug=-Xmx2048m"
user@osx10-10:~$
With Mavericks there was no problem, since Yosemite no Variables are set.
Also when i try to set it manually with launchctl setting xxxxx xxxx, no variable is set.
Does anyone has a workaround for me?
Regards
Joerg

Alex It should work . by the way your PATH variable should be placed in /etc/paths like this :
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
/Users/alex/Dev/apache-ant-1.9.2/bin
Note after each line there is a return key
As for environment variables open your ~/.bash_profile and place the.
export ANT_HOME = /Users/alex/Dev/apache-ant-1.9.2
launchctl setenv ANT_HOME $ANT_HOME
export ANT_OPTS = -Xmx512M
launchctl setenv ANT_OPTS $ANT_OPTS
make sure you save and restart all applications that need to read environment variables. I faced the same problem with intelliJ accessing M2_HOME
As a side note : consulting the man pages of launchctl(1)
DEPRECATED AND REMOVED FUNCTIONALITY
     launchctl no longer has an interactive mode, nor does it accept commands from stdin. The
     /etc/launchd.conf file is no longer consulted for subcommands to run during early boot time; this func-
     tionality was removed for security considerations. While it was documented that $HOME/.launchd.conf
     would be consulted prior to setting up a user's session, this functionality was never implemented.
     launchd no longer uses Unix domain sockets for communication, so the LAUNCHD_SOCKET environment vari-
     able is no longer relevant and is not set.
     launchd no longer loads configuration files from the network

Similar Messages

  • Hi! I am having a problem with my dictation. It works fine with Greek but it does not work at all with English. Anyone knows why?

    hi! I am having a problem with my dictation. It works fine with Greek but it does not work at all with English. Anyone knows why?

    Have you changed the system voice to an English one in system preferences?

  • TS1292 How do I redeem a card with a code that does not work?  The support store takes me in circles?

    Help and support sends you in circles and does not help redeem a card with a code that does not work.

    Well, they have a website, but here is a link to their information about unlocking iPhones.
    http://www.att.com/esupport/article.jsp?sid=KB414532&cv=820#fbid=6d7EKuCF_dr
    You may not qualify for an unlock though.

  • [svn:fx-trunk] 5019: ASDoc updates to indicate that some Halo containers do not work with the Spark equiv (ControlBar does not work with Spark Panel/ AppControlBar does not work with Spark Application), and indicate that Canvas, Box, Tile, Panel have Spa

    Revision: 5019
    Author: [email protected]
    Date: 2009-02-19 13:17:21 -0800 (Thu, 19 Feb 2009)
    Log Message:
    ASDoc updates to indicate that some Halo containers do not work with the Spark equiv (ControlBar does not work with Spark Panel/AppControlBar does not work with Spark Application), and indicate that Canvas, Box, Tile, Panel have Spark equivs
    QE Notes: None
    Doc Notes: None
    Bugs: -
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as

    Hi DST
    This is a great effort and gesture. thank you on behalf of all the newbies.
    PJ

  • You must have connected the Time Capsule with a router that does not work with my direct cable from my ISP

    you must have connected the Time Capsule with a router that does not work with my direct cable from my ISP

    I tried to answer in your other post.. please stick to one thread ..
    What method of internet do you have.. is this fibre install.. if so the TC should just plug in and use dhcp in router mode.. press and hold the reset and it will go back to router mode by default.

  • Firefox insists on downloading a zip file with an application. Options is set to ask for download loaction but does not work

    When downloading a ZIP file I get a 'Launch Application' window.
    In Options I have set download to ask for a location and use the download window but this does not work.
    cannot find any way of changing this and there is no option for using an application.
    If I down load in IE I have no problems so it must be FireFox and not a system problem.

    I have found the problem.
    A download manager had been installed for a specific website and it was butting in all the time. Even after removing it with 'Add or remove software' it still had its hooks into the system and it was impossible to download anything as it now would not run.
    Had to do an XP 'System restore' before I could get rid of it.
    The offending program was MD_setup.exe size 3,045KB from the themediadownloader.com

  • Linking Keynote on iPod-Touch with Keynote on MacBookPro does not work.

    I purchased Keynote 5.0.5(942) for my MacBookPro (MacOS 10.6.7), and
    KeynoteRemote 1.2 (53) for my iPod-Touch 4th generation.
    I am trying to link KeynoteRemote on the iPodTouch with Keynote on MacBook Pro.
    KeynoteRemote gives me a Passcode, which I enter in the preferences panel on Keynote for MacBookPro.
    Verification does not work. Nothing happens, and after sometime an error message appears that
    verification has failed.
    I have tried to do all combinations of setting the firewall on or off, and checked out all linkage and network settings.
    Does anybody know what the tricks are to get KeynoteRemote to work with Keynote on MacBookPro?
    Or does KeynotePro not work at all?

    thanks, David. it works now. I think the problem was the firewall. I fixed it now.

  • Personalized Simple Search with new messageLovInput - Search does not work

    I have currently set an Message LOV Input into a Simple Search Panel for IcxPorRcvSrchPG.
    I have got the LOV bringing back the correct values, but when I hit the GO button the Search does not work.
    Can someome please help me on how I am able to get the search working in the Simple Search Panel.
    Details of VO's are as follows:
    xxReceiveItemsDueVO (extended from ReceiveItemsDueVO)
    xxReceiveMyItemsVO (extended from ReceiveMyItemsVO )
    xxReceivePurchaseItemsVO (extended from ReceivePurchaseItemsVO)
    xxReceiveReqItemsVO (extended from ReceiveReqItemsVO)
    Extended Attribute I am looking to search with is xxWono.
    Current search items are working 100% with extended VO's, but when I try and search with new item, I am having no luck. The search is acting as though the new item has not even been created.
    Additional Lov Details are as follows:
    Level: Site
    Item Style: Message Lov Input
    ID: xxWONumSearch
    Data Type: VARCHAR2
    External LOV: /oracle/apps/icx/lov/webui/WorkOrderLovRN
    Prompt: Work Order Number
    Search Allowed: False
    Search Criteria: False
    Lov Map
    ID: xxWipEntityName
    Criteria Item: xxWONumSearch
    LOV Region: WipEntityName
    Programmatic Query: False
    Required: False
    Return Item: xxWONumSearch
    Framework version: 11.5.10.6RUP
    Is there a way of doing this through Personalization?
    With the version of framework I am not able to add a simpleSearchMapping through Personalization.
    Can someone please advise?
    Thanks
    Lee

    When I generate and then view the help, it looks perfect!  I changed the name of the project folder since the information is proprietary.  I have several pictures including the parent folder and the only 3 folders that are generated.  I cannot find the Webhelp output folder.  I think this is what you need to see.

  • Converting .docx with chart to .pdf does not work correctly

    I have a docx file with an excel chart and a hyperlink in it. The chart is a line chart with data makers on the lines. One set of data markers are circles. The chart is simply copied from excel and pasted into word. I am using word and excel 2007 and adobe acrobat 8 standard on windows XP SP2. all software is fully updated.
    When I convert this doxc file to pdf, the circle data markers from the chart are greatly enlarged and obscure the text and chart. The hyperlink works fine. This occurs when I use the acrobat plug-in within word to create a "quick and simple" pdf. this also occurs when I open adobe and choose create pdf from file. I cannot use the word plug-in to create a "fully functional" pdf. This feature simply does not work.
    When I convert the file to a pdf using the adobe printer/distiller, the circle data markers on the chart are fine, but the hyperlink no longer functions.
    I can copy the chart from excel and paste it into powerpoint and publisher and the conversion to pdf works fine. i can also create a pdf of the chart from excel to pdf without problems, so it appears to be a word to pdf issue.

    Thanks Bill
    Perhaps I was not clear enough though. I am not really concerned with the hyperlinks.
    The main problem is the excel chart. When I use PDF Maker the circle data markers from the chart are greatly enlarged and obscure the text and chart. The only way to make the chart look normal is to use the distiller, which kills the hyperlinks. I would rather use PDF Maker, keep the functionality of the hyperlinks, and have the excel chart look normal. The PDF Maker distorts the circle data markers on the chart and makes the page unreadable. That is what I need to fix.
    I realize the simple solution is to use something other that circles for data makers, but I have a lot of charts and don't want to spend the time remaking them all.

  • How can i make a soft return with pages shift enter does not work!

    how can i make a soft return with pages shift plus enter does not work!!

    On full keyboards with a numeric keypad, the key above the right shift is "return" & the one on the numeric section is "enter." On a Mac (or Apple IIgs ) they do have separate functions. On the "mini" keyboards, both names are on the same key, but "enter" is written in smaller letters. I'll have to check to see how that works on another Mac later today.

  • TOC link with a subscript character does not work in PDF

    Hi,
    has anyone come across with this? A heading has a subscript character and when you generate a PDF, the TOC page has no link. Other TOC heading links work out just fine, but all these that have subscript, these do not.
    I have used Save As PDF and selected even create named destinations for all Paragraphs. Usually the TOC works fine even if that is not selected. A link with subscript does not work in either case.
    I appreciate any help with this, thanks

    > The link is always terminated before any change in the character format. That's not a bug.
    In user-authored manually-created hypertext links, sure. And in that case, we know that we have to re-apply the Marker to the various fragments of the desired text. I would not expect this behavior for a generated file where we have limited control over the auto-tagging.
    > Therefore if you have subscript or superscript applied, the link starts at the beginning of the paragraph and ends before the character format change (sub-/superscript).
    It's not just format changes in body <$paratext> that break this. If you so much as apply a different format to the elements on the TOC Reference Page TOC (such as making the page number a different font), that breaks the HT of the page number in the PDF.
    > As far as I know Rick Quatro offers a FrameScript script for this problem.
    Well, Adobe might consider this to be an Enhancement Request item, but I consider it to be a defect.
    Is there anyone who would object if the TOC entries had functional full-string HT links by default? If so, Adobe could fix the problem, and have an Update tickbox to revert to legacy broken behavior.
    In any case, the Unicode solution is not really a "work-around", even though I put it that way. For anything where Unicode has a glyph that you would otherwise implement as FrameRoman with a Character Format, use Unicode.

  • Flash video with cuepoints and skin does not work

    Hi guys, i created a SWF file based on the template available
    here
    http://www.adobe.com/devnet/flash/articles/vidtemplate_mediapreso_04.html
    Basically the movie has navigation buttons on the left side
    of the video display to enable users to jump to predefined sections
    (topics) within the video. It also has the video controls under the
    video.
    I imported my video as well as the sample provided in the
    webpage above and the clip does not work in Presenter. I can see
    the skin but the buttons flash and we cannot see the video. I'm not
    a Flash or Presenter expert. Just wondering if anyone can help
    troubleshoot this. We would really like to embed a swf with
    navigation buttons into Presenter. is this possible? ideas
    appreciated.
    Thanks

    I'm sure someone will post a workaround for you (there are about 4 or 5 different workarounds people have posted at various times). But I wanted to thank you for your post. My experience as a very recent PC to Mac convert has been frustrating, mostly due to Keynote. When I first started using Keynote I was amazed at what it could do. I spent a lot of time working on a project (several days) only to spend another several days trying to figure out why it wouldn't Export. I finally logged onto the forums and see that people have been posting about this problem for MONTHS. It's been very frustrating to say the least and is a major flaw.
    Your note is the first indication I received that Apple is truly working on this issue. I feel for people who posted months ago waiting for an update every day. Like them, I sent a support email (not answered).Your note shows both hope and progress. Apple could really convert a lot of people if it got software like Keynote to work correctly. I'm still blown away by its power. But it's like owning a Ferrari with now wheels. It has a lot of power, but there's nothing you can do with it until you get wheels.
    Cheers!

  • Cluster Example shipped with 7.0 SP4 does not work !!!

              I have tried and tried to setup a cluster example using the instructions shipped
              in the cluster example and it does not work. When I call the Session.jsp via
              the proxy URL I get the following output in the proxy log.
              <Mon Apr 26 08:49:39 BST 2004>: Start connection timeout scheduler
              <Mon Apr 26 08:49:39 BST 2004>: GenericProxyServelt: init()
              <Mon Apr 26 08:49:39 BST 2004>: HttpClusterServlet:init()
              <Mon Apr 26 08:49:43 BST 2004>: ===New Request===GET /ClusterTest/Session.jsp
              HT
              TP/1.1
              <Mon Apr 26 08:49:43 BST 2004>: Found session from url: null
              <Mon Apr 26 08:49:43 BST 2004>: attempt #0 out of a max of 5
              <Mon Apr 26 08:49:43 BST 2004>: #### Trying to connect with server cl1!9001!443
              <Mon Apr 26 08:49:43 BST 2004>: Failed to connect: cl1!9001!443
              <Mon Apr 26 08:49:43 BST 2004>: marked bad: cl1!9001!443
              <Mon Apr 26 08:49:43 BST 2004>: attempt #0 out of a max of 5
              <Mon Apr 26 08:49:43 BST 2004>: #### Trying to connect with server cl2!9002!443
              <Mon Apr 26 08:49:43 BST 2004>: Failed to connect: cl2!9002!443
              <Mon Apr 26 08:49:43 BST 2004>: marked bad: cl2!9002!443
              <Mon Apr 26 08:49:43 BST 2004>: attempt #0 out of a max of 5
              <Mon Apr 26 08:49:43 BST 2004>: === whole list is bad, reverting to the all serv
              ers list ===
              <Mon Apr 26 08:49:43 BST 2004>: #### Trying to connect with server cl1!9001!443
              <Mon Apr 26 08:49:43 BST 2004>: Failed to connect: cl1!9001!443
              <Mon Apr 26 08:49:43 BST 2004>: marked bad: cl1!9001!443
              <Mon Apr 26 08:49:43 BST 2004>: Sleeping for 2 secs .....
              <Mon Apr 26 08:49:45 BST 2004>: attempt #1 out of a max of 5
              <Mon Apr 26 08:49:45 BST 2004>: #### Trying to connect with server cl2!9002!443
              <Mon Apr 26 08:49:45 BST 2004>: Failed to connect: cl2!9002!443
              <Mon Apr 26 08:49:45 BST 2004>: marked bad: cl2!9002!443
              <Mon Apr 26 08:49:45 BST 2004>: Sleeping for 2 secs .....
              <Mon Apr 26 08:49:47 BST 2004>: attempt #2 out of a max of 5
              <Mon Apr 26 08:49:47 BST 2004>: === whole list is bad, reverting to the all serv
              ers list ===
              <Mon Apr 26 08:49:47 BST 2004>: #### Trying to connect with server cl2!9002!443
              <Mon Apr 26 08:49:47 BST 2004>: Failed to connect: cl2!9002!443
              <Mon Apr 26 08:49:47 BST 2004>: marked bad: cl2!9002!443
              <Mon Apr 26 08:49:47 BST 2004>: Sleeping for 2 secs .....
              <Mon Apr 26 08:49:49 BST 2004>: attempt #3 out of a max of 5
              <Mon Apr 26 08:49:49 BST 2004>: #### Trying to connect with server cl1!9001!443
              <Mon Apr 26 08:49:49 BST 2004>: Failed to connect: cl1!9001!443
              <Mon Apr 26 08:49:49 BST 2004>: marked bad: cl1!9001!443
              <Mon Apr 26 08:49:49 BST 2004>: Sleeping for 2 secs .....
              <Mon Apr 26 08:49:51 BST 2004>: attempt #4 out of a max of 5
              <Mon Apr 26 08:50:17 BST 2004>: #### Trying to connect with server cl2!9002!443
              <Mon Apr 26 08:50:17 BST 2004>: Failed to connect: cl2!9002!443
              <Mon Apr 26 08:50:17 BST 2004>: marked bad: cl2!9002!443
              <Mon Apr 26 08:50:17 BST 2004>: Sleeping for 2 secs .....
              <Mon Apr 26 08:50:19 BST 2004>: attempt #5 out of a max of 5
              <Mon Apr 26 08:50:19 BST 2004>: #### Trying to connect with server cl1!9001!443
              <Mon Apr 26 08:50:19 BST 2004>: Failed to connect: cl1!9001!443
              <Mon Apr 26 08:50:19 BST 2004>: marked bad: cl1!9001!443
              <Mon Apr 26 08:50:19 BST 2004>: Tried all servers but didn't succeed
              Any ideas ?
              For starters I think the documentation is wrong.
              It states
              servlet weblogic.servlet.internal.HttpClusterServlet
              yet in the weblogic upgrade 6.0 to 7.0 documentation it says replace this with
              weblogic.servlet.proxy.HttpClusterServlet
              Thanks
              Justin
              

    Have you tried deleting the iDVD preference file, com.apple. iDVD.plist, that resides in your User/Library/Preferences folder?
    OT

  • FM LDB_PROCESS with PNP or PNPCE does not work...

    This is the code. This do nothing, no errors, no results.(The system have employees.)Please help with some advice.
    José.
    TABLES: PERNR.
    TYPE-POOLS: RSDS, RSFS.
    DATA: CALLBACK TYPE TABLE OF LDBCB,
          CALLBACK_WA LIKE LINE OF CALLBACK.
    DATA: SELTAB TYPE TABLE OF RSPARAMS,
          SELTAB_WA LIKE LINE OF SELTAB.
    DATA: TEXPR TYPE RSDS_TEXPR,
          FSEL  TYPE RSFS_FIELDS.
    Refresh: Callback.
    Clear: Callback.
    CALLBACK_WA-LDBNODE     = 'PERNR'.
    CALLBACK_WA-GET         = 'X'.
    *CALLBACK_WA-GET_LATE    = ' '.
    CALLBACK_WA-CB_PROG     = SY-REPID.
    CALLBACK_WA-CB_FORM     = 'PROG_PERNR'.
    APPEND CALLBACK_WA TO CALLBACK.
    Refresh: Seltab.
    Clear: Seltab.
    SELTAB_WA-SELNAME = 'PERNR'.
    SELTAB_WA-SIGN    = 'I'.
    SELTAB_WA-KIND    = 'P'.
    SELTAB_WA-OPTION  = 'EQ'.
    CLEAR SELTAB_WA-LOW.
    CLEAR SELTAB_WA-HIGH.
    APPEND SELTAB_WA TO SELTAB.
    Refresh: TEXPR, FSEL.
    Clear: TEXPR, FSEL.
    CALL FUNCTION 'LDB_PROCESS'
      EXPORTING
        LDBNAME                     = 'PNP'
        EXPRESSIONS                 = TEXPR[]
        FIELD_SELECTION             = FSEL[]
      TABLES
        CALLBACK                    = CALLBACK
        SELECTIONS                  = SELTAB
      EXCEPTIONS
        LDB_NOT_REENTRANT           = 1
        LDB_INCORRECT               = 2
        LDB_ALREADY_RUNNING         = 3
        LDB_ERROR                   = 4
        LDB_SELECTIONS_ERROR        = 5
        LDB_SELECTIONS_NOT_ACCEPTED = 6
        VARIANT_NOT_EXISTENT        = 7
        VARIANT_OBSOLETE            = 8
        VARIANT_ERROR               = 9
        FREE_SELECTIONS_ERROR       = 10
        CALLBACK_NO_EVENT           = 11
        CALLBACK_NODE_DUPLICATE     = 12
        OTHERS                      = 13.
       case sy-subrc.
          when 1.  raise ldb_not_reentrant.
          when 2.  raise ldb_incorrect.
          when 3.  raise ldb_already_running.
          when 4.  raise ldb_error.
          when 5.  raise ldb_selections_error.
          when 6.  raise ldb_selections_not_accepted.
          when 7.  raise variant_not_existent.
          when 8.  raise variant_obsolete.
          when 9.  raise variant_error.
          when 10. raise free_selections_error.
          when 11. raise callback_no_event.
          when 12. raise callback_node_duplicate.
        endcase.
      if sy-subrc ne 0.
          message id sy-msgid type sy-msgty number sy-msgno
               with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    *&      Form  PROG_PERNR
    *       text
    *      -->NAME       text
    *      -->WA         text
    *      -->EVT        text
    *      -->CHECK      text
    FORM PROG_PERNR USING NAME  TYPE LDBN-LDBNODE
                          WA    TYPE PERNR
                          EVT   TYPE C
                          CHECK TYPE C.
        message id sy-msgid type sy-msgty number sy-msgno
               with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      CASE EVT.
        WHEN 'G'.
          WRITE: / WA-PERNR.
          ULINE.
        WHEN 'L'.
      ENDCASE.
    ENDFORM.                    "PROG_PERNR

    Yes, this is the best way of fill out these tables. But my problem is different, I'm trying to get the infotypes info through a BADI or function module.
    I received a response from SAP about how to resolve this issue. I need to use the old way:
    SUBMIT...RETURN to call another report with the PNP/PNPCE Logical Database.
    That's the reason for use the LDB_PROCESS function module. (SUBMIT...RETURN uses too many memory and processor resources) Now I know that this function module does not work with HR Logical Databases because the Infotypes structures. 
    Thank you by your quick reponse.
    José

  • My cannon printer worked with snow leopard but does not work with Lion

    My Mf 4350d printer does not work with lion Mac OS X Lion 10.7.2., it worked with Snow leopard no problem. I am a novice with apple so can you tell me how to do any changes carefully.

    Have you downloaded and installed the latest Canon printer drivers?
    http://support.apple.com/kb/DL899

Maybe you are looking for

  • Report background engine show only one report at a time

    Hi My operating system is Xp Developer version is 6I database 10g i am runing report through form with run_product When i run one report its show in background engin Preview i don't want to close this report and i run 2nd report then its show waiting

  • Windows brutally slow on my iMac (Bootcamp)

    Hey guys, first of all I would like to say sry, if my english isn't propper enough and lacks sometimes. I'm from germany...but anyway, here's my problem. ;-) I have an 21,5 inch iMac mid 2011 with an intel i5, 4gb memory, AMD Radeon HD 6750 512 mb an

  • I have purchased musicfrom itunes on my iphone, how do i listen to this music on my computer?

    I have recently purchased some music on my iPhone from itunes, does anybody know how i can then listen to this music from my computer? i have signed into itunes i have also aauthorised the computer to download purchaes from my iphone but when in itun

  • VBA to identify a group of tasks being updated

    Good Afternoon, I have not had much luck with Project questions here, but now that I have dug a little deeper I think I can ask a question that you may be able to help with. If any of you know of a better place to find Project VBA advice, please let

  • My ipod touch wont sync with itunes.

    So my ipod touch is not syncing with itunes. i got it from my sister and connected it with my computer and it did sync and allthings. then i did something, i think i deleted something from ipod and now it wont sync and i cant see my ipod in itunes. h