Older java for specific applications only

I have 1.5.0 and 1.6.0 java installed on Snow Leopard. If I drag the 32 bit 1.5.0 (aka J2SE 5.0) version to the top of the preferences list for apps, then Fonality HUD works as well as it did before I upgraded to Snow Leopard. If I leave the 64 bit 1.6.0 (aka Java SE 6.0) at the top, it crashes almost immediately. (And the 32 bit 6.0 does not make it work.)
But I don't want to make the downrev version my default java for all applications!
I tried uncommenting the 1.5.0 line in the Info.plist for HUD, per the comments there, but that did not work.
How can I tell this application to use 1.5.0 instead of 1.6.0 without affecting any other java apps I might want to run?
TIA

Apparently it runs 1.5 if you install it, for example http://wiki.oneswarm.org/index.php/OSX_10.6_SnowLeopard, which actually references the very application that I'm trying to make work: HUD.
And it DOES work just fine, following those instructions. I just don't like the idea of running 1.5.0 as my default java for all my applications when most of them will run fine (better!) with the official version of java for Snow Leopard.
Isn't there a way to tell one application to use a specific version of java? Does JAVA_HOME still do this? I tried that and failed, but maybe I did not set it to the correct value - the java command in 1.5.0 or something else?

Similar Messages

  • Change/Set permissions for specific application?!

    I have at least one application that always enables GPS although it isn't needed --> more power consumption, I don't know why it is doing this. Additionally I have some applications I don't want to have access to the internet (at least if I'm not connected to Wifi).
    On the other hand I have a java application that should have access to GPS and mobile data without asking every time for the permission.
    Where/How can I achieve this? Why have some applications always to ask when others have permissions for things they don't need for proper function?
    PS: N8 with Belle

    Hi AUTxRemoteC,
    According to the best of my knowledge you can only access suite settings and change them according to your preferences for certain applications only. To be able to do so, go to Menu> Settings> Installations> Already Installed the open it. From there, you can only change specific application settings and I know mostly java applications use this method. To check on which applications that you can access and change the settings place your finger to the desired application and hold it and when you see suite settings then you can change it settings. Usually when you hold to an application there is view details and delete but when you see the extra option that is suite settings then open suite settings and change them to your preferences.
    I hope that it helps you.
    Ngwangwa - Six Million Ways To Die Choose One

  • [Solved] How to use Oracle Java 6 for specific applications

    I use an IDE called PyCharm. On its download page, it recommends using Java 6 instead of OpenJDK. I currently have jdk7-openjdk installed, and from what I had read in the Arch Wiki on Java, it should be possible to install Oracle Java 6 along side OpenJDK 7.
    However, after installing jdk6-compat and jre6-compat, I still see that I am running OpenJDK 7 when I run the following:
    % java -version
    java version "1.7.0_09"
    OpenJDK Runtime Environment (IcedTea7 2.3.3) (ArchLinux build 7.u9_2.3.3-1-x86_64)
    OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
    ...even after I have set JAVA_HOME and added /opt/java6/bin to my path.
    How can I get PyCharm (or other applications) to use Oracle Java 6 instead of OpenJDK?
    Thanks, and apologies if I've posted in the wrong place.
    Other information that might be helpful:
    Running zsh as default shell
    Using Gnome 3 as DE
    Last edited by Nikorasu (2012-11-17 20:54:33)

    I found the solution.
    For Pycharm, I just needed to add an environment variable PYCHARM_JDK. For running specific applications, I asked this question on the Unix / Linux StackExchange and got an answer there.
    Also, after running PyCharm in Java 6... I would not recommend it. OpenJDK works fine
    Last edited by Nikorasu (2012-11-17 20:55:01)

  • Changing colours in rxvt for specific application

    Was wondering if there is a way to override .Xdefaults for a specific application (mutt specifically)?  Is there a way to load a seperate colour config file for a one off terminal window?

    Yes, there is a way to make one-off terminal windows.  One of the easiest is to simply change the 'name' resource of the terminal.  In this example I have my xterm's normal background color set to a nearly black color and the alternate background set to a dark green.
    ! X resource file example
    ! Normal background
    XTerm*background: rgb:08/08/08
    ! Alternate background
    green*background: rgb:08/16/08
    The normal background is called with the command 'xterm'.  If I want to change to the alternate background, I use this command:
    $ xterm -name green
    Play with and read about the difference between instances and classes in X resources.  You can also set many X resources for most Xlib programs from the command line.  You'll have to RTFM.
    Edit: The example code works when you substitute 'URxvt' or 'Rxvt' for the 'XTerm' class when using rxvt-unicode.
    Last edited by thisoldman (2013-08-08 10:25:19)

  • SPA303 Message Waiting Indicator for specific line only

    I have an SPA303 configured with 2 lines (extensions).
    I want the message waiting indicator to only show for line 2, not line 1.
    I've tried going to Advanced, Voice, Ext1 and setting "Message Waiting" to No
    and for Ext2 setting it to Yes. 
    Hit "Submit All Changes"
    After phone reboots, Ext1 still says Yes, and Ext2 still says No.  I cant seem to change these.
    Is this the correct way to accomplish my request?

    I have no SPA303 here, but it is almost identical hardware and exactly the same firmware (I assume you have the latest) as other SPA[35]0x models. I have no problem to set Message Waiting independently. I can't repeat the behavior you described.
    So either your setting is overwritten by remote provisioning, or it's a complex issue related to overall configuration of phone.
    Can you change setting for one extension only ? Have you provisioning configured ? Can you turn on syslog&debug and capture output ?
    It may or may not help to analyze the issue.
    By the way, wrong forum. Your question have nothing to do with XML application. (Updated: has been moved to the correct one)

  • Can I run 2 versions of firefox? I need to run older version for one application

    My operating system is mac 10.6.8 and I need to be able to run firefox 3.6.19 for one application & the latest version of firefox for other applications. Can I have 2 versions of firefox on my computer and choose which one to run depending on my application?

    You can install the portable Firefox 3.6.19 version to access websites that do not work with Firefox 5+.
    *http://www.freesmug.org/portableapps:firefox#toc1

  • Show N/A for for particular combination and show value for specific combination only

    I have following cube Structure:
    Measure
         Value
    DimTime
        Fiscal Month
    DimTable
       Table Name
       Row Name
       Column Name
    DimGeography
       GeographyLevelName
       GeographyName
    Questions:
    1) I want to show N/A when only measure value is selected
    2) I want to show N/A when I slice measure value w.r.t to GeographyLevelName, GeographyName, FiscalMonth, TableName, Row Name
    3) I want to show measure value for this combination only FiscalMonth, GeographyLevelName, GeographyName, FiscalMonth, TableName, Row Name, Column Name and Value (measure)
    Option tried:
    I used Scope to achieve this but not able to do for all scenarios:
    SCOPE(Measure.[Value]);
         SCOPE(Root());
               SCOPE(Measure.[Value], DimTime.[Fiscal Month].MEMBERS, DimTable.[Table Name].MEMBERS,
                      DimTable.[Row Name].MEMBERS, DimTable.[Column Name].MEMBERS,
                      DimGeography.[GeographyLevelName].MEMBERS,   
                      DimGeography.[GeographyName].MEMBERS);
                      THIS = 'N/A';
            END SCOPE;
         END SCOPE;
    END SCOPE;
    Any suggestion is appreciated :) :D

    SCOPE(
              [Measures].[Metric Value]
            , [Dim Time].[Fiscal Month Name].MEMBERS        
            , [Dim Geography].[Geography Name].MEMBERS
            , [Dim Metric].[Row Name].MEMBERS
            , [Dim Metric].[Column Name].MEMBERS
        THIS = IIF (
                    [Dim Metric].[Row Name].CurrentMember 
    IS [Dim Metric].[Row Name].[All]
    OR [Dim Metric].[Column Name].CurrentMember 
    IS [Dim Metric].[Column Name].[All]
    OR [Dim Time].[Fiscal Month Name].CurrentMember 
    IS [Dim Time].[Fiscal Month Name].[All]
    OR [Dim Geography].[Geography Name].CurrentMember 
    IS [Dim Geography].[Geography Name].[All] 
            , "Error: Check the Dimension selected"  
            , IIF (
                          //Enter your combination                        
    [Dim Metric].[Row Name].CurrentMember IS 
    [Dim Metric].[Row Name].&[MPS]  
    AND  [Dim Metric].[Column Name].CurrentMember 
    IS [Dim Metric].[Column Name].&[YoYASP]
    OR 
                     [Dim Metric].[Row Name].CurrentMember 
    IS [Dim Metric].[Row Name].&[ASP] 
                     AND  [Dim Metric].[Column Name].CurrentMember 
    IS [Dim Metric].[Column Name].&[% PTR]
                  , "N/A"
                  , IIF (
                            ISEMPTY([Measures].[Metric Value])
                           , "No Data"
                           ,[Measures].[Metric Value] 
    END SCOPE;

  • How to enable some DFF segments on AR Trx form for specific context only

    I have a requirement to enable 3 of many DFF segments on AR Transactions line DFF for particular context only. I am not able to figure out how to achieve it.
    When we query for an Invoice and navigate to lines DFF I want these fields to be allowed to update. Currently they appear as read-only. These are interface line attributes used across many different contexts but I need them as update allowed only for few contexts.
    I went through different forum topics and was trying to use security rules but these segments do not have the security enabled flag checked under DFF segments and when I try to check it it throws an error as to update not allowed.
    Form personalization doesn't work on DFF, so that is out too.
    Any help would be appreciated.
    Thanks.
    Shivang

    Hi,
    My requirement is a little different. We already have context and reference setup when we implemented Oracle 3 yrs back but what I need is to enable few segments / attributes inside a context that too when the invoice is queried for not when it is being created manually. The same attributes are being used by different contexts but I need to enable only for a few and not all contexts.
    Appreciate if you are able to help on this.
    Thanks.

  • Customizing "Disabled" color for specific components only

    Hello,
    when uncommenting the "UIManager.put(...)" line in the following code all combos display their text ungreyed when disabled. But how to proceed, if you want to give this feature only to specific combos? Setting the foreground colour, even when done in an own renderer, doesn't work.
    There has been a discussion of the same problem in
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=276411
    but it always comes back to the overall solution with the UIManager.
    If the solution should be to write an own ComboUI, does anybody have an example, for my own attempt badly failed.
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.plaf.*;
    public class TextColor extends javax.swing.JFrame {
      public TextColor() {
        setSize(350,300);
        setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        Container cp= getContentPane();
        cp.setLayout(null);
        JComboBox cmb1 = new JComboBox();
        cmb1.addItem("Normal");
        cmb1.setBounds(100,50,100,20);
        JComboBox cmb2 = new JComboBox();
        cmb2.addItem("Disabled");
        cmb2.setBounds(100,100,100,20);
        cmb2.setEnabled(false);
        cmb2.setForeground(Color.BLACK);
        JTextField tf = (JTextField)cmb2.getEditor().getEditorComponent();
        tf.setForeground(Color.BLACK);
        cp.add(cmb1);
        cp.add(cmb2);
        setVisible(true);
        cp.requestFocusInWindow();
      public static void main(String arg[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
          public void run() {
    //     UIManager.put("ComboBox.disabledForeground", new ColorUIResource(0,0,0));
         new TextColor();
    }

    Thanks from me too, camickr, it's always a good feeling to learn and understand something new.
    When I extended MetalComboBoxUI, the borders and the button were back to normal, but the JComboBox background remained dark. After some trial and error, this is the solution I've come up with:
    MyComboBoxUI.javapackage joerg22;
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.Graphics;
    import java.awt.Rectangle;
    import javax.swing.JComboBox;
    import javax.swing.ListCellRenderer;
    import javax.swing.plaf.metal.MetalComboBoxUI;
    public class MyComboBoxUI extends MetalComboBoxUI {
        public void paintCurrentValue (Graphics g,
                Rectangle bounds,boolean hasFocus) {
            super.paintCurrentValue (g, bounds, hasFocus);
            ListCellRenderer renderer = comboBox.getRenderer ();
            Component c;
            c = renderer.getListCellRendererComponent ( listBox,
                    comboBox.getSelectedItem (),
                    -1,
                    true,
                    false );
            c.setForeground (Color.BLACK);
            // Uncomment the next line for dark b/g when disabled
            //if (comboBox.isEnabled ())
                c.setBackground (comboBox.getBackground ());
            currentValuePane.paintComponent (g, c,
                    comboBox, bounds.x, bounds.y,
                    bounds.width, bounds.height); //, shouldValidate);
        public void paintCurrentValueBackground (Graphics g,
                Rectangle bounds,boolean hasFocus) {
            super.paintCurrentValueBackground (g, bounds, hasFocus);
            Color t = g.getColor ();
            // Uncomment the next line for dark b/g when disabled
            //if ( comboBox.isEnabled () )
                g.setColor (comboBox.getBackground ());
                g.fillRect (bounds.x + 1, bounds.y + 1,
                        bounds.width - 2, bounds.height - 2);
            g.setColor (t);
    }TestUI.javapackage joerg22;
    import java.awt.Container;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JComboBox;
    import javax.swing.WindowConstants;
    public class TestUI extends javax.swing.JFrame {
        public TestUI () {
            setSize (200,150);
            setDefaultCloseOperation (WindowConstants.EXIT_ON_CLOSE);
            Container cp= getContentPane ();
            cp.setLayout (null);
            final JComboBox cmb1 = new JComboBox ();
            cmb1.addItem ("Normal");
            cmb1.setBounds (50,25,100,20);
            final JComboBox cmb2 = new JComboBox ();
            cmb2.addItem ("Custom");
            cmb2.setBounds (50,50,100,20);
            cmb2.setEnabled (false);
            cmb2.setUI (new MyComboBoxUI ());
            final JButton btn1 = new JButton ("Toggle");
            btn1.addActionListener (new ActionListener () {
                public void actionPerformed (ActionEvent e) {
                    cmb1.setEnabled (!cmb1.isEnabled ());
                    cmb2.setEnabled (!cmb1.isEnabled ());
            btn1.setBounds (50, 75, 100, 20);
            cp.add (cmb1);
            cp.add (cmb2);
            cp.add (btn1);
            setVisible (true);
            cp.requestFocusInWindow ();
        public static void main (String arg[]) {
            java.awt.EventQueue.invokeLater (new Runnable () {
                public void run () {
                    new TestUI ();
    }This can probably be improved further, but I'm outta here... shall check back later.
    Darryl
    Edited by: Darryl.Burke -- to remove some really stupid redundancies in the code I'd just posted.

  • Set Output Type for specific Vendors Only

    Hi,
    I have created an output type to send external mail for PO. I want to restrict it to send the email to only a specific number of users. So I created consition records based on Companycode/vendor num/doc type.
    I entered the records for say x and y vendor only .
    But , Still when i test it with some other vendor whose record is not maintained it still sends the email?
    Is it the rt path I am on ? Is it the rt way to do this ? Based on the info available online and sdn i tried these steps ...I m not sure if thats correct.
    Pls let me know how to achieve this restriction ?
    Thanks,
    Shilpi

    Hi
    You check the access sequence for purchase order output type. Access sequence will determine which condition record to be checked first. If any other condition table with records has priority (defined in access sequence) then your condition record will not be taken into account for output type.
    Bala
    Note: Award points if helpful

  • Compilation error in java for struts application.

    Hello,
    I'm a newbie in java and struts, i was trying a simple struts application given in "struts complete reference".This is my code of its Controller class(Action class):-
    package com.jamesholmes.struts;
    import java.util.ArrayList;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public final class SearchAction extends Action
    public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
    throws Exception
    EmployeeSearchService service = new EmployeeSearchService();
    ArrayList results;
    SearchForm searchForm = (SearchForm) form;
    //Perform employee search based on what criteria was entered.
    String name = searchForm.getName();
    if(name != null && name.trim().length() > 0)
    results = service.searchByName(name);
    else
    results = service.searchBySsNum(searchForm.getSsNum().trim());
    //place search results in SearchForm for access by jsp.
    searchForm.setResults(results);
    //Forward control to this Action's input page.
    return mapping.getInputForward();
    Now problem is when i'm compiling this java file i'm getting error"can not resolve symbol" for the instances i'm creating for SearchForm(view class) and EmployeeSearchService(model class).can any one help me how to resolve this error. I've tried importing those classes explicitly also, but error gets increased this way.

    Tht problem is solved, it was a mistake frm my side in compilation precedure.Anyway, now the real error-After i compiled and created the war file of application, i was running it in tomcat and got this Error, it is i guess a server sprcific error which i am unable to understand., can any one now help me solving this out?????Error is this :-
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.NullPointerException
         org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:521)
         org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:436)
         org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:495)
         org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:353)
         org.apache.jsp.index_jsp._jspx_meth_html_link_0(index_jsp.java:96)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:69)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.27 logs.
    Apache Tomcat/5.0.27

  • PHP - create room for specific application

    Hi!
    I am creating room using PHP library and can not figure how to specify application for this room.
    Now I have a default appliaction and MyFirstApp paid application, how i can specify "MyFirstApp" for new room?

    Hi,
    So, when you create a room, you specify the roomName and the template/application name from which you want to create the room. So, to create a room with MyFirstApp application template, you should do something like
    accountManager.createRoom("roomName","MyFirstApp") ; // this is for java, convert in php
    If you don't specify anything in the second parameter, it will be created from default template, which is empty of any collectionnodes/nodes. Please go through Room Provisioning section in our Developer Guide for more details.
    Hope this helps
    Thanks
    Hironmay Basu

  • How can I distribute an app for specific customers only

    I have developed an app that our customers can take to a remote site, input data at the site, then return to the office and upload their data to software that they purchased from us.  This app would be useless to anybody that does not have our software.
     We could put it in the App Store but anybody could download it (not that it would do them any good).  We would like to have an easy way for our customers to obtain the app (like the Store), but not just make it available to anybody.  It is
    free to our customers since they already have a license for our software.   
    I am aware of the enterprise sideloading option but that seems problematic as well and your own documentation says to use the store if you are deploying to users outside your company: "Enterprise
    apps usually fall into one of two categories: apps you deploy to users outside of your company (including customers and business partners), and apps you deploy only to users within your company.  If
    you want to make your app available to people outside of your company, your best option is to list the app in the Windows Store. "
    In addition, with enterprise sideloading, there seems to be some sort of licensing requirement and you have to purchase 100 of them?  Why is there a licensing fee if you can upload your app to the store and customers can get it for free?  Our customers
    are not going to want to purchase 100 licenses since they only need a handful and we are not going to provide them either.  So, back to the Windows Store.
    There should be some sort of Store option that maybe requires a password to access and download the app, plus provides a category that is actually suitable for enterprise apps (the categories in the store are very limited and none seem applicable).  
    Anyhow, I'm hoping you can help clear this up for us.
    Thank you,
    Karen Healey

    Hi Juan,
    Please see the link below mentioned for Adobe Story Plus.
    https://creative.adobe.com/products/story-plus?promoid=KLXKW
    Let me know if you need any assistance.
    Thanks!
    Eshant

  • We need to restict doc.type sa for specific users only

    Hi,
    we need to Restrict document type SA for Particular users i.e
    1. they Should not allow to post SA document types .
    2. But they allow to view the documents(SA types only)
    Regards
    Ganesh

    Dear Tarimela,
    1. In transaction OBA7, you should fill up the field for all the
       document types which you want to control.  If it is left blank, then
       all the users will be able to post document with that document type.
       Hence, if user A is authorised to post to document type X and in
       the configuration of document type Y field authorisation group is
       left blank, then user A will be able to post document with document
       type Y.
    2. Also you need to enable authorisation check in transaction PFCG and
    need to assign the authorisation group in the profile.
    3. I would recommend you to go through SAP notes 198238 and 150496 for the
       purpose of your information.
    I hope this can help.
    Mauri

  • Runtime - Web AS ABAP vs Java for UI5 applications

    Hello all,
    We are going to develope a new solution based on the SAP UI5 on the SAP backend -7.31,SAP portal 7.31.
    I need the recomendation on the Runtime for depploying/running of the SAP UI5 applications which are build on Eclipse Juno & sap NW gateway .
    We have both environments ready for the deploying the UI5 applications but which is best runtime interms of performance,integration to portal,integration with SAP backend where we are developingall the Business logic .
    How can we do the life cycle managment of the SAP UI5 applications (Code verstioning ,transports across system ..etc) .Right now i can see that it is like a PAR file development i.e. without any source code versioning facility ..
    Please provide your recommendations .
    Regards,
    Govindu

    This discussion thread belongs to the UI Development Toolkit for HTML5 Developer Center space. To meet all of your requirements, I would suggest you use AS ABAP for SAPUI5 development.

Maybe you are looking for