Find the executable

Hi,
I have a slight nuisance. When I install a program from pacman, I sometimes do not know the executable. for instance in the case of gtk2-theme-switch, I had to search different forums to find out that the command is "switch2". And now I want to experiment with gtk-theme-switch, but again I cannot find the executable.
Until a few months ago, there was an option to view the filelist in the packages database, but that option has unfortunately been removed...
Is there another quick way to find the executable of an installed package?

sisco311 wrote:
to list the executables:
for i in `pacman -Ql package-name | awk '{print $2}'`; do if [ -x $i -a ! -d $i ]; then echo $i; fi; done
Even better than my usual 'pacman -Ql foo | grep \/bin'
*steals* Thanks!
Last edited by Ranguvar (2009-01-20 19:15:07)

Similar Messages

  • Trying to launch another profile, get: "Impossible to find the executable file. To fix this, set a valid path in the options window"

    When I try to launch another profile in firefox, I get this message: [JavaScript Application] Impossible to find the executable file. To fix this, set a valid path in the options window.

    Having this problem with FF21 Beta1, add-on version 1.5.0.2 on Win7 immediately after upgrading FF.
    I would try to make a shortcut to the other profile as you suggested, but I honestly don't even know where the file is, if its a separate config or another executable all together.

  • Installed a Game and Can't find the executable

    I installed a game from the Ovi store, it shows as installed in my application manager.. but i can't find the executable or icon anywhere on the phone.. 
    I selected the installation destination as my memory card. 
    Nokia E71, 2gig Kingston Micro SD

    lslwoodley wrote:
    I installed a game from the Ovi store, it shows as installed in my application manager.. but i can't find the executable or icon anywhere on the phone.. 
    I selected the installation destination as my memory card. 
    Nokia E71, 2gig Kingston Micro SD
    Try to remove it (via app manager) and reinstall it in the phone's memory.
    If you want to thank someone, just click on the blue star at the bottom of their post

  • I have just finished installing Yosemite and wanted to backup my dasd. I could not find the "Execute Back uo Now" botton on the desktop anymore. Anyone can help me?

    I have just finished installing Yosemite and wanted to backup my dasd. I could not find the "Execute Back uo Now" botton on the desktop anymore. Anyone can help me?

    Just what is "dasd"
    What backup program are you using?
    Is it compatible with Yosemite?

  • Cannot find the execute button in an alv

    hi to all experts,
    im unable to find the execute button in alv grid im using reuse_alv_grid_display.........

    Hi,  Mozam Khan
    I think you better to place two Radio Button on the Selection Screen
    1. Display Output in ALV
    2. Display Output in Smartform
    in this way according to user selection you can Perform the Form of ALV or Smartform.
    Hope will help you.
    Kind Regards,
    Faisal

  • How to find the Executed time of query

    hi,
       i want to find out the execution time of query like a sales report executed in 10 min. how to find out that? is there is any TC for that or what is the option to use that?
    and how to fing out execution time of Data source to info providers.. or DSOs to IC? like how much time taken to load data?
    regards,
    preety

    Hello Preety,
          Goto RSRT give the query name and see the technical property you will find the query generation time.
    For the time taken for execution Select the execute and debug mode in the options select display statistics.
    Execute the query
    Click back
    You can see the statistics.
    Thanks
    Chandran

  • How to find the executable file /usr/bin/7za in Solarsis?

    Hi All,
    We are trying to install the Oracle 10 g release.Before installation ,it needs some system requirements.In that way ,Using the following command to add the package in Solarsis
    pkgadd -d SUNWi1cs
    However, we got the this type of error,
    # pkgadd -d SUNWi1cs
    Processing package instance <SUNWi1cs> from </mnt/Solaris_10/Product>
    X11 ISO8859-1 Codeset Support(i386) 2.0,REV=2004.10.17.15.04
    Copyright 2004 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    Using </> as the package base directory.
    ## Processing package information.
    ## Processing system information.
    8 package pathnames are already properly installed.
    ## Verifying package dependencies.
    ## Verifying disk space requirements.
    ## Checking for conflicts with packages already installed.
    ## Checking for setuid/setgid programs.
    This package contains scripts which will be executed with super-user
    permission during the process of installing this package.
    Do you want to continue with the installation of <SUNWi1cs> [y,n,?] y
    Installing X11 ISO8859-1 Codeset Support as <SUNWi1cs>
    ## Installing part 1 of 1.
    Cannot find required executable /usr/bin/7za
    pkgadd: ERROR: class action script did not complete successfully
    Installation of <SUNWi1cs> failed.
    How to rectify the above error ?
    Thanks in advance !

    The 7za executable is in the SUNWbzip Solaris 10 package on our systems (Solaris 10 Update 9). It appears that the file may have been in the SUNWp7zip package on some older update releases of Solaris 10 and later moved to SUNWbzip. It isn't clear to me whether or not this executable was available prior to the 5/08 update release. Anyway, I'd check and make sure SUNWbzip is installed. If it is and you don't have 7za you could check and see if SUNWp7zip is installed. If not, install it from you distribution media. If your release is too old to have it at all, you may have to load it from a newer distribution or another source.

  • How to find the executables for OWB Client, Design and Runtime Repositories

    Hi Guys,
    I have installed OWB 10G in the my local desktop (in D Drive). From the start menu, I can see the menu options for OWB Client, OWB Design Repository and OWB Run time Repository. If I want to get that execuatbles from which location can I find out. All the menu options are pointing out into d:\OWB Home \....\bin\launch.exe, but when we hit launch.exe nothing is displayed on the screen. can anyone give their suggestions pls
    Regards
    Kishan

    launch.exe is the executable but if you look at the lnk files in your start menu the launch exe is followed by two parameters where the last one points to a specific cl file (I'm guessing short for command line) in the same bin directory that also contains a number of parameters. Here all the java jar files are listed that are needed to launch the specific component and how much memory the application can/may use.
    So you won't find a classic windows executable if that is what you are looking for. But why are you searching for this in the first place since you can just copy the shortcut/lnk file if you want shortcuts in other places?

  • After upgrading to Lightroom 5.6 I am not able to find the executable to launch the software.

    What is the file name for the executable called and where is the default installation location?

    redownload and install,
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.6| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Where does xcode 5 save the executable files that it creates?

    I already built my console application, and I can run it from xCode as well. Now I'd like to find the executable file it generates. I saw in an old tip in this forum that it's just to right-click the corresponding product item and select Show in Finder in the menu. However that option is disabled, as you can see in the picture below.
    I also tryied the bin\release\debug and it's not there as well.
    What am I doing wrong?
    Tks in advance,
    Mauro Assis

    I checked the Locations and they're default, as you can see below:
    Am I correct?
    Opening the default path in Finder:
    Do you think it should be here? Where?
    Tks again,
    Mauro

  • Execute jar file: "could not find the main class" program will terminate

    Hey,
    I am new to Java. I have started to make a small java program which supposed to help me at my studies to lean the Dominic Memory System. I have used the latest version of Netbeans 5.5.1 to build my program in. I have two problems which I cannot figure out how to solve, please help me.
    The first problem is that the java script I have made works when I compile it in Netbeans, but when I create a Jar file it does not work. I receive a pop up message in windows ?could not find the main class program will terminate? when I execute the jar file.
    The second problem I have is that I need to compare the strings generated by the "numbers" and "TIP" and if the numbers is not identical the numbers in the ?Center? JPanel should be highlighted as red.
    If anyone would like to clean up the code I would be pleased. I have copied quite a lot from anyone because of my one lack of knowledge.
    * GoListener.java
    * Created on 12. september 2007, 21:48
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package grandmaster;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.Vector;
    import java.util.StringTokenizer;
    import java.awt.Color;
    * @author Computer
    public class GoListener implements ActionListener {
    private JTextField viewer;
    private JTextField TIP;
    private JTextField freq;
    private JTextField max_num;
    private Vector numbers;
    public GoListener(JTextField j,JTextField k, JTextField m, JTextField f, Vector n) {
    freq = f;
    max_num = m;
    viewer = j;
    numbers = n;
    TIP = k;
    public void actionPerformed(ActionEvent e){
    int time = Integer.valueOf(max_num.getText());
    int f = Integer.valueOf(freq.getText());
    if (e.getActionCommand() == "GO") {
    for (int i = 0; i< time;++i) {
    int number=0;
    number = (int)Math.floor(100*Math.random());
    while(number>51){
    number = (int)Math.floor(100*Math.random());
    if(number<=9){
    viewer.setText(" "+"0" + String.valueOf(number) + " ");
    } else{
    viewer.setText(" " + String.valueOf(number) + " ");
    viewer.paintImmediately(viewer.getBounds());
    numbers.add(number);
    try {
    Thread.sleep(f*1000);
    } catch (Exception exp) {
    viewer.setText(" XX ");
    viewer.paintImmediately(viewer.getBounds());
    if (e.getActionCommand() == "VIEW") {
    try {
    //int numb = Integer.valueOf( TIP.getText() ).intValue();
    StringTokenizer tokenizer = new StringTokenizer(TIP.getText(), " ");
    String[] split = null;
    int tokenCount = tokenizer.countTokens();
    if (tokenCount > 0) {
    split = new String[tokenCount];
    for (int current = 0; current < tokenCount; current++) {
    split[current] = tokenizer.nextToken();
    viewer.setText(" " + String.valueOf(numbers) + " ");
    // k=numbers(1);
    /*while(c<i){
    String.valueOf(k).equals(split[1]);
    c++;
    TIP.setText(" " + split[2] + " ");
    } catch (Exception exp) {
    try {
    //string testit = numb.toString();
    //String str = "" + numb;
    //viewer.setText(str);
    //viewer.setText(numbers.toString());
    numbers.clear();
    } catch (Exception exp) {
    * Main.java
    * Created on 12. september 2007, 21:07
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package grandmaster;
    import java.util.Vector;
    import javax.swing.*;
    import java.awt.event.*;
    import javax.swing.JButton;
    import java.awt.*;
    import grandmaster.GoListener;
    * @author Computer
    public class Main extends JFrame {
    private JTextField viewer;
    public JTextField TIP;
    // private TextInputPanel TIP;
    private Vector numbers;
    /** Creates a new instance of Main */
    public Main() {
    numbers = new Vector();
    JPanel p = new JPanel(new GridLayout(0,4));
    JButton go = new JButton();
    JButton view_num = new JButton();
    go.setText("Go!");
    go.setVisible(true);
    go.setActionCommand("GO");
    view_num.setText("VIEW");
    view_num.setVisible(true);
    view_num.setActionCommand("VIEW");
    JTextField max_num = new JTextField();
    max_num.setText("5");
    JTextField freq = new JTextField();
    freq.setText("1");
    viewer = new JTextField();
    viewer.setText("XX");
    TIP = new JTextField("");
    p.add(go);
    p.add(max_num);
    p.add(freq);
    p.add(view_num);
    getContentPane().add(p,BorderLayout.NORTH);
    getContentPane().add(viewer,BorderLayout.CENTER);
    getContentPane().add(TIP,BorderLayout.SOUTH);
    setSize(200,200);
    GoListener g = new GoListener(viewer,TIP,max_num, freq, numbers);
    go.addActionListener(g);
    view_num.addActionListener(g);
    * @param args the command line arguments
    public static void main(String[] args) {
    // TODO code application logic here
    Main window = new Main();
    window.setVisible(true);
    }

    NetBeans questions should be posted to the NB site. It has mailing lists and associated forums.
    This tutorial from the NB site addresses running programs outside of NB
    http://www.netbeans.org/kb/articles/javase-deploy.html
    When you compare objects, use ".equals()" and reserve == for comparing values.

  • Executable JAR file: Could not find the main class.

    Hello,
    I have a problem with making an executable JAR file.
    I have written a JAVA program that consists of five different classes of which User.java is the main class and I have saved a text document with Main-Class: User and a blank line after that.
    If I try:
    jar cmf MainClass.txt User.jar User.class Beheerder.class Operator.class Manager.class MaakVisueelSchema.class
    it makes a executable jar file which actually works! :)
    But when the Operator class trys to open the MaakVisueelSchema class the screen stays blank.
    I can run MaakVisueelSchema with java MaakVisueelSchema.
    So I tried to make an executable JAR that consists only of MaakVisueelSchema, the same way as I did for User:
    Main-Class: MaakVisueelSchema
    jar cmf MainClass.txt MaakVisueelSchema.jar MaakVisueelSchema.class
    Then I get the error message:
    Could not find the main class. Program will exit.
    from the Java Virtual Machine Launcher.
    The big difference between MaakVisueelSchema and the other classes is that MaakVisueelSchema contains a PaintComponent method and an ComponentListener. Is it possible that one of those creates the error?
    Can anyone help me with this problem?
    Thanks in advance!
    Bye!

    Yes,
    I tried:
    jar xvf MaakVisueelSchema.jar
    and it returns:
    META-INF/
    META-INF/MANIFEST.MF
    MaakVisueelSchema.classN/G. You need to manually create a manifest file in a text editor, have it point to your main class, and enter it in your jar command as an argument.

  • Executable JAR sometimes could not find the main class.

    I have a little task, that seems to be trivial- but I have no idea how to solve the current problem.
    With a double click on my jar, a message comes up: JVM could not find the main class. Program will exit.
    The executable JAR is an export result from eclipse, with a manifest file that contains the right entry to the main class.
    But the curious thing is, that I have tested the little Swing-Application with 3 JRE versions: 1.4.2._06, 1.4.2_09 and 1.5 on Win2K and XP. Every time it works fine, but on one system it fails. (Normally it requires no external classpath settings, no path-entries to work.)
    The ugly system is Win XP with JRE 1.4.2_06 installed.
    Is there anybody with a good hint?
    Please let me know.
    Christiane

    OK, I ll try to explain it in other words:
    It is an executable jar file, with a manifest file that specifies the Main-Class. No other external files or jars or settings needed. Only a simple JDialog initialized from a parent JFrame.
    I d like to start it with a double click from the Win-Explorer, not from command line!
    As a result a dialog from "Java Virtual machine Launcher" displays
    "Could not find the main class. Programm will exit."
    My Problem is, I don t understand the launching process in depth. But I can reproduce the message with the following command:
    wrong:
    javaw -cp OrderAlertTest.jar OrderAlertParentDialog
    -> Error dialog appears
    correct:
    javaw -cp OrderAlertTest.jar apo.order.OrderAlertParentDialog
    -> OK
    Any idea?
    Christiane

  • Could not find the main class error with executable jar

    Hello,
    I have troubles creating an executable jar file and I ran out of ideas how to solve it so I would appreciate some help.
    I have created a jar file with the export function in eclipse
    the Manifest.MF file contains:
    Manifest-Version: 1.0
    Main-Class: view.AppTennisViewI tried starting the file with a batch file which contains following code:
    @echo off
    javaw -classpath c:\TennisHSQLDB_GC2\tennisApp.jar
    @start javaw -jar tennisApp.jar
    exitthe batch file and the jar are both located in c:\TennisHSQLDB_GC2.
    When i try command line I get the same result.
    I also tried alternate statements such as SET CLASSPATH iso javaw -classpath and including the classpath in the manifest file but no luck. It keeps given me the error: could not find the main class. program will exit
    Anyone any suggestions for my problem?

    nevermind, found it.
    classpath in manifest was incorrect

  • Executable Jar:  Could not find the main class. Program will exit.

    I have a jar which contins the class Main.class.
    Following details are specified in the Manifest file.
    Manifest-Version: 1.0
    Main-Class: Main
    However, when I double click the jar file, I get the error...
    Could not find the main class. Program will exit.
    What could be wrong?
    Thanks in advance
    Sachin

    hi,
    i've got exactly the same problem: double clicking the archive ends with an error (can't find the main class) but working with the command line executes the file!??!
    does anyone know a solution?
    thanks

Maybe you are looking for