Cannot compile a program

Hi,
I have written a project.
it has three packagess model,view,controller.
i.e we have folders like
C:\exercise1\model\view\controller.
and a main file
C:\exercise1\mortgagecalculator.
when i run the project in eclispe workspace it runs fine but when i run this at command prompt it gives me error that import statements in C:\mortgagecalculator are not working.
even import in
C:\model\view
and
C:\model\view\Controller are also not working
the classpath has been set to C:\exercise1
and path="C:\programfiles\java\jdk1.5._02\bin"
please help me in this regard.
Regards,
mallik

The fact that you have a \model\view directory listed both under filesystem root and under \exercise1, and that you spell "controller" also as "Controller", and that you have a directory \model\view\controller when the paradigm really suggests that they should be three parallel, not nested, directories, suggests to me that your code is randomly thrown around or that you're not referring to your packages consistently, or both.
It's hard to say exactly what you've done wrong, since you didn't go into a lot of detail about the error messages.
So just try to be consistent and formal about where you keep your source code and your compiled classes and how you invoke javac.

Similar Messages

  • Help ~~ Cannot compile servlet program

    I have recently written a servlet program. When I compile the program (let's say "HelloWorld.java"), I've got the following error message:
    package javax.servlet does not exist
    I've download the class files and set the classpath already. Have I missed anything?
    Thx!

    I have recently written a servlet program. When I
    compile the program (let's say "HelloWorld.java"),
    I've got the following error message:
    package javax.servlet does not existyou donot have servlet api classes in your classpath
    I've download the class files and set the classpath
    already. Have I missed anything?just check the classpath again and compile.
    say echo CLASSPATH and see

  • Cannot compile servlet program

    I have recently written a servlet program. When I compile the program (let's say "HelloWorld.java"), I've got the following error message:
    package javax.servlet does not exist
    I've download the class files and set the classpath already. Have I missed anything?
    Thx! ^-^

    Maybe you should listen in at
    http://forum.java.sun.com/thread.jsp?forum=45&thread=234654
    He has a similar problem.
    Did you put the servlet.jar in your classpath?

  • Cannot compile java Programs

    hi everyone,
    when i tried to compile a java Program i had created.I got the following Error.
    Error occoured during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object
    I reinstalled the entire thing from the system and when i tried to compile the java Program again it gives like a 1000 errors even on the programs i know that work fine and even the very basic 5 or 10 line Programs.Can someone tell me what is happening??

    Having Deleted a file in the folder that i was executing the javac seem to have fixed the problem.It was called String.java
    and the content of the file were as mentioned under:Any help on why it happened or what the file was doing would be really appreciated.
    The content of the file:-
    ""Java String Examples
    The String class implements immutable character strings, which are read-only once the string object has been created and initialized. All string literals in Java programs, are implemented as instances of String class.
    The easiest way to create a Java String object is using a string literal:
    1.
    String str1 = "I can't be changed once created!";
    A Java string literal is a reference to a String object. Since a String literal is a reference, it can be manipulated like any other String reference. i.e. it can be used to invoke methods of String class.
    For example,
    1.
    int myLenght = "Hello world".length();
    The Java language provides special support for the string concatenation operator (+), which has been overloaded for Java Strings objects. String concatenation is implemented through the StringBuffer class and its append method.
    For example,
    1.
    String finalString = "Hello" + "World";
    Would be executed as
    1.
    String finalString = new StringBuffer().append("Hello").append("World").toString();
    The Java compiler optimizes handling of string literals. Only one String object is shared by all strings having same character sequence. Such strings are said to be interned, meaning that they share a unique String object. The Java String class maintains a private pool where such strings are interned.
    For example,
    1.
    String str1="Hello";
    2.
    String str2="Hello";
    3.
    If(str1 == str2)
    4.
    System.out.println("Equal");
    Would print Equal when executed.
    Since the Java String objects are immutable, any operation performed on one String reference will never have any effect on other references denoting the same object.
    String Constructors
    String class provides various types of constructors to create String objects. Some of them are,
    String()
    Creates a new String object whose content is empty i.e. "".
    String(String s)
    Creates a new String object whose content is same as the String object passed as an argument.
    Note: Invoking String constructor creates a new string object, means it does not intern the String. Interned String object reference can be obtained by using intern() method of the String class.
    String also provides constructors that take byte and char array as an argument and returns String object.
    String equality - Compare Java String
    String class overrides the equals() method of the Object class. It compares the content of the two string object and returns the boolean value accordingly.
    For example,
    1.
    String str1="Hello";
    2.
    String str2="Hello";
    3.
    String str3=new String("Hello") //Using constructor.
    4.
    5.
    If(str1 == str2)
    6.
    System.out.println("Equal 1");
    7.
    Else
    8.
    System.out.println("Not Equal 1");
    9.
    10.
    If(str1 == str3)
    11.
    System.out.println("Equal 2");
    12.
    Else
    13.
    System.out.println("I am constructed using constructor, hence not interned");
    14.
    15.
    If( str1.equals(str3) )
    16.
    System.out.println("Equal 3");
    17.
    Else
    18.
    System.out.println("Not Equal 3");
    The output would be,
    Equal 1
    Not Equal 2
    Equal 3
    Note that == compares the references not the actual contents of the String object; Where as equals method compares actual contents of two String objects.
    String class also provides another method equalsIgnoreCase() which ignores the case of contents while comparing.
    Apart from these methods String class also provides compareTo methods.
    int compareTo(String str2)
    This method compares two Strings and returns an int value. It returns
    - value 0, if this string is equal to the string argument
    - a value less than 0, if this string is less than the string argument
    - a value greater than 0, if this string is greater than the string argument
    int compareTo(Object object)
    This method behaves exactly like the first method if the argument object is actually a String object; otherwise, it throws a ClassCastException."""
    Edited by: Gold_y on Oct 30, 2009 4:59 AM

  • Cannot compile with 1.2.2

    On winnt, I cannot compile a program using JDK 1.2.2 and the oracle classes111.zip, either 8.05 or 8i(8.1.5). I get the ff sort of message:
    The method oracle.jdbc2.Clob getClob(int) declared in oracle.jdbc.driver.OracleResultSet cannot override the method of the same signature declared in java.sql.ResultSet. They must have the same return type.
    This same code will compile and runusing version jdk 1.17
    Any help greatly apppreciated,
    emc

    Use classes12.zip to compile with JDK 1.2.X
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ed Colgan ([email protected]):
    On winnt, I cannot compile a program using JDK 1.2.2 and the oracle classes111.zip, either 8.05 or 8i(8.1.5). I get the ff sort of message:
    The method oracle.jdbc2.Clob getClob(int) declared in oracle.jdbc.driver.OracleResultSet cannot override the method of the same signature declared in java.sql.ResultSet. They must have the same return type.
    This same code will compile and runusing version jdk 1.17
    Any help greatly apppreciated,
    emc<HR></BLOCKQUOTE>
    null

  • Cannot Compile. Pls. help!

    I cannot compile the following program which calls for another 6 class files from its code. Please note the main program (DiveLog.java)+the other 6 class files are stored in the same directory.
    And also as this involves "package" I tried to compile it as "javac -classpath DiveLog.jav". But I still get the 'cannot resolve symbol' error messages.
    DiveLog.java (Main Program)
    package DiveLog;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class DiveLog
    private JFrame dlframe; //Not assigned yet.
    private JTabbedPane tabbedPane; //Not assigned yet.
    //Begins Constructor
    public DiveLog()
    // Create a frame object to add the application GUI components to.
    dlframe = new JFrame("A Java(TM) Technology Dive Log");
    // Closes from title bar and from menu
    dlframe.addWindowListener(new WindowAdapter()
    public void windowClosing(WindowEvent e)
    System.exit(0);
    // Tabbed pane with panels for Jcomponents
    // Instantiate JTabbedPane with keyword new
    tabbedPane = new JTabbedPane(SwingConstants.LEFT);
    // Calls method to set color
    tabbedPane.setBackground(Color.blue);
    tabbedPane.setForeground(Color.white);
    populateTabbedPane();
    //Calls the method that builds the menu
    buildMenu();
    dlframe.getContentPane().add(tabbedPane);
    dlframe.pack();
    dlframe.setSize(765, 690);
    dlframe.setBackground(Color.white);
    dlframe.setVisible(true);
    }// Ends Constructor
    private void populateTabbedPane()
    // Create tabs with titles
    tabbedPane.addTab("Welcome", null, new Welcome(), "Welcome to the Dive Log");
    tabbedPane.addTab("Diver Data", null, new Diver(), "Click here to enter diver data");
    tabbedPane.addTab("Log Dives", null, new Dives(),
    "Click here to enter dives");
    tabbedPane.addTab("Statistics", null, new Statistics(),
    "Click here to calculate" + " dive statistics");
    tabbedPane.addTab("Favorite Web Site", null, new Website(),
    "Click here to see a web site");
    tabbedPane.addTab("Resources", null, new Resources(),
    "Click here to see a list of resources");
    } //Ends populateTabbedPane method
    // Method header
    private void buildMenu()
    // Instantiates JMenuBar, JMenu,
    // and JMenuItem.
    JMenuBar mb = new JMenuBar();
    JMenu menu = new JMenu("File");
    JMenuItem item = new JMenuItem("Exit");
    //Closes the application from the Exit menu item.
    item.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    System.exit(0);
    } // Closes actionPerformed method
    }); // Closes addActionListener method
    //Adds the item to the menu object
    menu.add(item);
    //Adds the menu object with item onto the menu bar
    mb.add(menu);
    //Sets the menu bar in the frame
    dlframe.setJMenuBar(mb);
    } //Ends buildMenu method
    public static void main(String[] args)
    DiveLog dl = new DiveLog();
    } //Ends Class
    ===========================================
    Welcome.class (one of the 6 class files.The other 5 are identical to this.)
    package divelog;
    * This class creates the content on the
    * Welcome tabbed pane in the Dive Log
    * application.
    * @version 1.0
    //import for buttons, labels, and images
    import javax.swing.*;
    //import for layout manager
    import java.awt.*;
    public class Welcome extends JPanel
    { //Opens class
    }//Closes class
    =========================================================

    Might be a typo when you posted, but your DiveLog class is in package DiveLog, whereas your Welcome class is in package divelog (note the capitalization differences).
    And even though they're in the same package, i'm always a fan of importing all the files you're going to need explicitly, such as
    import divelog.Welcome
    this applies to using the wildcard character too (as in, you shouldn't) to import files. Explicitly listing all imports allows you, and any other developer, to quickly see a list of all classes used.

  • I cannot compile anything

    I have a problem with my setup. My labview project has been running perfectly till today, when I cannot compile any project. My project works perfectly in another computer. Same with "simpler" projects that I have. I cannot compile. I have tried to compile an empty vi, but the problem is the same. 
    I decided to remove all labview components from my host computer. I removed everything from the host (NI-MAX/my-computer/sofware, all programs selected) and reinstalled Labview 2013. After doing that, the problem still happens. Attached you have a picture where you can check which error appears. It even happens with empty fpga VI.
    I am running Labview 2013 in an Windows 7 64bit. Xilinx 14.4 13.0.0
    My software package worked perfectly till today. Maybe something got corrupted...
    Any suggestion? Thanks in advance
    Pablo
    Attachments:
    Labview error before compilation.png ‏24 KB

    You've re-installed NI things.  Butm did you try re-installing the compiler as that sounds like the source of your problems?
    For future reference, you should bring up FPGA in the subject, in the first sentence, or pretty much anywhere other than the end of your post.  It helps others understand your issue to know what we are looking at from the start.

  • Cannot compile Java3D

    I have a problem when compiling Java3D programs. It seems the classes that come with this API cannot be found by Java. Programs not using Java3D compile fine. Installation went correctly as far as I know, the src file is located in the sdk directory, path is set correctly etc. I also import all the correct files (the program compiles fine at school, so that's not the problem). Any ideas?
    Jappie

    Java 3D appears to be a separately downloadable compoent, check out the link below:
    http://java.sun.com/products/java-media/3D/
    V.V.

  • Cannot Compile....please help

    I am trying to compile the program below. I have set my class path, but this is the first time I have tried to import files. The attached program is in a folder called C:\csci3753
    My import files are in subdirectories of C:\jdk1.3.1_02
    I get the following error:
    C:\csci3753>javac -sourcepath . MultipleSelection.java
    error: cannot read: MultipleSelection.java
    1 error
    I attached the code, I think it is the way I am setting up my compile line...please help.
    // Multiple-Selection Lists
    // Copying items from one list to another.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public static void main(String[] args)
              MultipleSelection ms = new MultipleSelection();
              ms.addWindowListener(
                   new WindowAdapter() {
                        public void windowClosing(WindowEvent e)
                             System.exit(0);
    public class MultipleSelection extends JFrame
         private JList colorList, copyList;
         private JButton copy;
         private String colorName[] = {"Black", "Blue", "Cyan","Dark Gray","Gray",
         "Green","Light Gray","Magenta","Orange",
                        "Pink","Red","White","Yello","White"};
    public MultipleSelection()
              super("Multiple Selection List");
              Container c = getContentPane();
              c.setLayout(new FlowLayout());
              colorList = new JList(colorName);
              colorList.setVisibleRowCount(5);
              colorList.setFixedCellHeight(15);
                        colorList.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
              c.add(new JScrollPane(colorList));
              copy = new JButton("Copy >>>");
              copy.addActionListener(
                   new ActionListener() {
                        public void actionPerformed(ActionEvent e)
                             copyList.setListData(colorList.getSelectedValues());
              c.add(copy);
              copyList = new JList();
              copyList.setVisibleRowCount(5);
              copyList.setFixedCellWidth(100);
              copyList.setFixedCellHeight(15);
              copyList.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
              c.add(new JScrollPane(copyList));
              setSize(300, 120);
              show();

    If you are compiling from the same directory as the source file, then you don't need a sourcepath. Just type:
    javac MultipleSelection.javaThe import files will be found as long as you have the C:\jdk1.3.1_02\bin directory in your command path.
    By the way, you will need to move the 'main' method into the MultipleSelection class to compile correctly.
    Hope this helps.
    Jeff Hurt

  • Error When Compiling MailTest  Program ?

    HI. Guys. I am getting this error when i try to compile a program which send an email.
    Compiling 1 source file to F:\Projects\JavaMail\war\WEB-INF\classes
    [javac] F:\Projects\POC\JavaMail\src\SendMailBean.java:3: package javax.mail does not exist
    [javac] import javax.mail.*; //JavaMail packages
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:4: package javax.mail.internet does not exist
    [javac] import javax.mail.internet.*; //JavaMail Internet packages
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:24: cannot find symbol
    [javac] symbol : class Session
    [javac] location: class SendMailBean
    [javac] Session l_session = Session.getDefaultInstance(l_props, null);
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:24: cannot find symbol
    [javac] symbol : variable Session
    [javac] location: class SendMailBean
    [javac] Session l_session = Session.getDefaultInstance(l_props, null);
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:29: cannot find symbol
    [javac] symbol : class MimeMessage
    [javac] location: class SendMailBean
    [javac] MimeMessage l_msg = new MimeMessage(l_session); // Create a New message
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:29: cannot find symbol
    [javac] symbol : class MimeMessage
    [javac] location: class SendMailBean
    [javac] MimeMessage l_msg = new MimeMessage(l_session); // Create a New message
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:31: cannot find symbol
    [javac] symbol : class InternetAddress
    [javac] location: class SendMailBean
    [javac] l_msg.setFrom(new InternetAddress(p_from)); // Set the From address
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:34: package Message does not exist
    [javac] l_msg.setRecipients(Message.RecipientType.TO,
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:35: cannot find symbol
    [javac] symbol : variable InternetAddress
    [javac] location: class SendMailBean
    [javac] InternetAddress.parse(p_to, false));
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:38: package Message does not exist
    [javac] l_msg.setRecipients(Message.RecipientType.CC,
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:39: cannot find symbol
    [javac] symbol : variable InternetAddress
    [javac] location: class SendMailBean
    [javac] InternetAddress.parse(p_cc, false));
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:43: package Message does not exist
    [javac] l_msg.setRecipients(Message.RecipientType.BCC,
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:44: cannot find symbol
    [javac] symbol : variable InternetAddress
    [javac] location: class SendMailBean
    [javac] InternetAddress.parse(p_bcc, false));
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:49: cannot find symbol
    [javac] symbol : class MimeBodyPart
    [javac] location: class SendMailBean
    [javac] MimeBodyPart l_mbp = new MimeBodyPart();
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:49: cannot find symbol
    [javac] symbol : class MimeBodyPart
    [javac] location: class SendMailBean
    [javac] MimeBodyPart l_mbp = new MimeBodyPart();
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:53: cannot find symbol
    [javac] symbol : class Multipart
    [javac] location: class SendMailBean
    [javac] Multipart l_mp = new MimeMultipart();
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:53: cannot find symbol
    [javac] symbol : class MimeMultipart
    [javac] location: class SendMailBean
    [javac] Multipart l_mp = new MimeMultipart();
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:64: cannot find symbol
    [javac] symbol : variable Transport
    [javac] location: class SendMailBean
    [javac] Transport.send(l_msg);
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:79: cannot find symbol
    [javac] symbol : class MessagingException
    [javac] location: class SendMailBean
    [javac] } catch (MessagingException mex) { // Trap the MessagingException Error
    [javac] ^
    [javac] 19 errors

    Looks like you're using ant. You need to configure your ant build.xml file
    so that mail.jar (and activation.jar unless you're using JDK 6) is in your
    classpath when you compile (and run, of course).

  • JAAS - problem in compiling the program

    Hi,
    I am working on JAAS .
    I tried the Authorization example given in this link of sun site.
    http://java.sun.com/javase/6/docs/technotes/guides/security/jaas/tutorials/GeneralAcnAndAzn.html
    I was trying to compile that program but SamplAzn.java..is not compiling.
    when I try it given the error below :
    --------------------Configurat
    ion: <Default>--------------------
    D:\AZN\sample\SampleAzn.java:135: cannot find symbol
    symbol : class SampleAction
    location: class sample.SampleAzn
    PrivilegedAction action = new SampleAction();
    ^
    Note: D:\AZN\sample\SampleAzn.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    Process completed.
    --------------------------------------------------------------------------------So,What should I do ?
    Thankx..

    Yes , I created the directory structure as given in the link.
    I can compile all other ".java" file.
    But I don't know why I can't compile SampleAzn.java file.

  • Cannot Compile when using FileInputStream

    I am trying to read data from a file...
    I cannot compile this and I have tried importing all of the java.io.* classes and it still does not compile.
    Help!
    I have the following imports:
    import net.rim.device.api.ui.*;
    import net.rim.device.api.system.Application;
    import javax.microedition.io.*;
    import javax.microedition.io.file.*;
    import java.io.*;
    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.ui.container.*;
    import net.rim.device.api.system.Bitmap;
    import net.rim.device.api.system.*;
    import JavaProjects.JDE42.EmergInfo.Resource.*;
    import net.rim.device.api.i18n.*;
    And the code snippet:
    private void ReadDataFile()
    try {
    FileInputStream fstream = new FileInputStream(_resources.getString(EmergInfoResResource.DWI_DATAFILE));
    DataInputStream in = new DataInputStream(fstream);
    BufferedReader br = new BufferedReader(new InputStreamReader(in));
    String strLine;
    //Read File Line By Line
    while ((strLine = br.readLine()) != null) {
    // Print the content on the console
    System.out.println (strLine);
    //Close the input stream
    in.close();
    }catch (Exception e){//Catch exception if any
    System.err.println("Error: " + e.getMessage());
    On compile, I get the following errors:
    Building EmergInfo_DWI
    C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0\bin\rapc.exe -quiet codename=EmergInfo_DWI EmergInfo_DWI.rapc warnkey=0x52424200;0x52525400;0x52435200 import="C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0\lib\net_rim_api.jar" D:\JavaProjects\JDE42\EmergInfo\img\DWI_Main.jpg D:\JavaProjects\JDE42\EmergInfo\img\DWI_Main_bw.jpg D:\JavaProjects\JDE42\EmergInfo\Resource\EmergInfoRes.rrc D:\JavaProjects\JDE42\EmergInfo\Resource\EmergInfoRes.rrh D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main_Screen.java
    D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java:68: cannot find symbol
    symbol : class FileInputStream
    location: class Source.DWI_Main
    FileInputStream fstream = new FileInputStream(_resources.getString(EmergInfoResResource.DWI_DATAFILE));
    ^
    D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java:68: cannot find symbol
    symbol : class FileInputStream
    location: class Source.DWI_Main
    FileInputStream fstream = new FileInputStream(_resources.getString(EmergInfoResResource.DWI_DATAFILE));
    ^
    D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java:72: cannot find symbol
    symbol : class BufferedReader
    location: class Source.DWI_Main
    BufferedReader br = new BufferedReader(new InputStreamReader(in));
    ^
    D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java:72: cannot find symbol
    symbol : class BufferedReader
    location: class Source.DWI_Main
    BufferedReader br = new BufferedReader(new InputStreamReader(in));
    ^
    4 errors

    What I have installed:
    Blackberry JDE 4.2.0
    Blackberry JDE 5.0.0
    Java DB 10.5.3.0
    Java SE Development Kit Update 22
    Java Platform, Enterprise Edition 5 SDK
    Seems I do not have the ME stuff installed...
    Edited by: 802969 on Oct 16, 2010 2:07 PM

  • Cannot compile outside /bin.

    I have set the CLASSPATH to C:\jdk1.3.1_02\bin;.C:\jdk1.3.1_02\myclasses;.C:\jdk1.3.1_02\ but I cannot compile outside the bin/ directory, I can type java and run a program anywhere on my system (WinXP) but not compile. Help.

    Try type this in your command line:
    c:\>path
    It will list out your paths, see whether your $JDK\bin is there, if not you got to append it to your path, nevertheless, the path you set now will be gone after you reset your computer(if I never remember wrongly). To set it to automatic, you can try edit your autoexec.bat file and add in the $JDK\bin path.

  • Can't find (and possibly don't have) the -lglut -lGLU -lGL libraries... or at least when I try to compile a program, it returns with that error.  Any ideas (I really need to get this popgen program running on Lion)? Thx!

    Hi all,
        I'm trying to compile a population genetic software program onto my Mac Lion.  It was originally compiled to Tiger and worked beautifully.  But now I'm getting an error  'library not found for -lglut', and now I'm trying to figure out how to download the library. I've installed the command line code for Xcode, and am thinking I possibly missed installing the libraries.  I could be very wrong here... all I know is that I'm no longer near the people I would ask to help me with this so I'm asking you!  Thanks in advance for any help!  I guess my questions are: 1) where can I download the glut (potentially OpenGL) libraries (if I don't have them already)? And 2) once downloaded, how do I install it so the makefile will compile my program (in terminal, not Xcode)? Cheers,
    C

    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!

  • I keep getting the message, "Windows cannot find 'c:\Program Files (x86)\Mozilla Firefox\firefox.exe'. Make sure you typed the name correctly, and then try again." I get it when I either try to open it from the Start menu or from the desktop icon.

    I've just installed Firefox on my laptop and keep getting the message, "Windows cannot find 'c:\Program Files (x86)\Mozilla Firefox\firefox.exe'. Make sure you typed the name correctly, and then try again." I get this message whenever I either try to open it from the Start menu or from the desktop icon. I've never gotten it to work and even uninstalled it and then redownloaded it and still cannot get it to open. Any help would be greatly appreciated!!!!

    Are you installing from the official site? http://www.mozilla.com/firefox
    If you use Windows Explorer (My Computer) to check that path, is the Mozilla Firefox folder there? That is the normal installation location, but I think it's worth checking.
    If the folder isn't there or firefox.exe is not in it, I wonder whether some other software might be interfering. You might want to run some supplemental security scans. These two tools are highly regarded:
    Malwarebytes Anti-malware : http://www.malwarebytes.org/products/malwarebytes_free
    SUPERAntiSpyware : http://www.superantispyware.com/

Maybe you are looking for