Cannot Find Package

I am migrating from a single server, database and http server on one machine, to a two server approach, app server (http server) and database. I have a page in Apex that displays a stored PDF file using an iframe. For example:
select
'<iframe src="web_admin_pkg.display_action_pdf?p_doc_id='||:P104_DOC_ID||'" height="600" width="900"></iframe>' pdf
from dual
This works great on my single server environment, but when I try to run this from my app server, I get an error stating:
The requested URL /pls/apex/web_admin_pkg.display_action_pdf was not found on this server.
Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server Server at my_host03 Port 7777
my_host03 is the Application Server
my_host01 is my database server
I have the same permissions on the package in both environments, so I don't think that is the issue.
Any ideas?
Tony

Tony,
Here's a shot in the dark.
Are the Database Access Descriptors defined with 2 different database users? I noticed that the reference to web_admin_pkg.display_action_pdf is not qualified with a package owner, so either it's being accessed:
1) through a public synonym
or
2) it's contained in the schema configured in your DAD
Ensure you have either granted execute to PUBLIC on this procedure, and/or try and fully qualify the package reference, e.g., joedbuser.web_admin_pkg.display_action_pdf.
Joel

Similar Messages

  • Cannot find package/class symbol

    hello. i'm using netveans for the first time. i have a java application with 2 classes... pb.java with public class pb int package svr and cl.java with public class cl in package cli
    that is..
    file class package
    pb pb svr
    cl cl cli
    pb.java compiles properly cl.java gioves error.
    the error is in the following lines of code...
    pb obj1 = new pb();
            pb obj2 = new pb();i'm trying to make an object fo type pb from cl.java. the error i get is...
    cannot find symbol
    class pb
    location cli.cl
    i alse tried puttin svr.pb instead of pb but no use.
    the entire cose is as follows...
    pb.java
    * pb.java
    * Created on December 4, 2006, 8:56 AM
    package svr;
    public class pb
        private double balance;
        private double []lt = new double [10];
        private int i=9;
        public void deposit(double amt)
            if(amt<=0)
                System.out.println("Enter amount greater than 0");
            else
                balance=balance+amt;
                if(i>=0)
                    lt=amt;
    else
    for(int j=9;j>=0;j--)
    lt[i]=lt[i-1];
    lt[0]=amt;
    public void withdraw(double amt)
    if(amt<=0)
    System.out.println("Enter amount greater than 0");
    else
    if(amt>balance)
    System.out.println("Balance lower than amount entered");
    else
    balance=balance-amt;
    if(i>=0)
    lt[i]=-amt;
    else
    for(int j=9;j>=0;j--)
    lt[i]=lt[i-1];
    lt[0]=-amt;
    public void bal()
    System.out.println("Balance: "+balance);
    public void lts()
    System.out.println("Last 10 Transactions");
    for(int j=i;j>10;j++)
    System.out.println(lt[j]);
    public void statement()
    lts();
    bal();
    cl.java
    * cl.java
    * Created on December 4, 2006, 8:58 AM
    package cli;
    class cl
        public static void main(String[] args)
            pb obj1 = new pb();
            pb obj2 = new pb();
            obj1.deposit(100.50);
            obj1.statement();
            obj2.deposit(200.75);
            obj2.statement();
            obj1.withdraw(25.50);
            obj1.statement();
            obj2.withdraw(100.25);
            obj2.statement();

    For a beginner these tools are worst, because they
    hide all the stuff a programmer needs to know to find
    his way around Java. They should spend a few weeks
    with the command line and a good text editor before
    switching.
    Just because an IDE does something for you, it
    doesn't mean you don't need to kno wwhat it does.
    Unless you volunteer to handle all "how do I do X in
    Netbeans/Eclipse/Whatever", JAR and classpath
    questions posted here by newbies yourself.I suppose I can agree with that to some extent. I wouldn't suggest to anyone that they just blindly trust whatever code the IDE inserts automatically.
    But there's nothing wrong about learning by example. The IDE is willing to teach proper syntax, and eclipse will give suggestions about capitalizing class names and making constants all-caps.
    There are things that frustrate new programmers where an IDE will be helpful, especially if the entire API is uncharted territory.

  • [SOLVED] Cannot find package "flashplugin" or "archey".

    [EDIT - yaourt and archey now installed, thanks]
    I am running Arch 2.6.34 with GNOME desktop. When I type the command sudo pacman -S flashplugin or sudo pacman -S archey it tells me that it cannot find the package.
    I had this problem previously when I was trying arch in a VM, and I couldn't figure out what I had missed. I have everything else properly installed and working fine, it's just these two packages I've come across that I cannot locate. I'm guessing there's probably more packages that I just haven't run into yet that wouldn't work either.
    Last edited by Socialsymbol (2010-06-29 23:00:00)

    Shazzam6999 wrote:
    That's because archey is in the AUR. You can use yaourt to install packages from the aur similar to how you're trying, read the wikis and check it out.
    http://wiki.archlinux.org/index.php/Arc … Repository
    http://wiki.archlinux.org/index.php/Yaourt
    Ok, thanks, I had forgotten about that.
    When do they suspect they'll fix the flashplugin bug/vulnerability? And what is recommended to do until then as far as flash playback goes?
    Last edited by Socialsymbol (2010-06-29 22:51:14)

  • OWB11r2 data chunking: cannot find package DBMS_APPLY

    Hi,
    I'm trying the new data chunking feature of owb11r2. I got it running with serial strategy. But when I switch to parallel strategy, the mapping does not compile. It tries to call the package DBMS_APPLY, but that cannot be found:
    DBMS_APPLY.INITIALIZE(..);
    DBMS_APPLY.CHUNK_TABLE_BY_ROWID(..);
    Target db is 11r2.
    Any idea?
    Regards,
    Carsten.

    Hi Carsten
    There is a bug (9057172) logged for this. I have tried to workaround but couldn't find any mechanism.
    Cheers
    David

  • Help JDeveloper cannot find package

    Hi,
    I am using JDeveloper 9.0.3.4.
    In the project settings -->Configurations -->Development --> Libraries, I add JSP Runtime, J2EE, Servlet Runtime. But When I tried to rebuild my project, I got errors like:
    (1) package javax.servlet.jsp does not exist;
    (2) cannot resolve symbol on import javax.servlet.http.HttpServletRequest;
    (3)javax.servlet.http.HttpServletRequest is not public in javax.servlet.http; cannot be accessed from outside package.
    Can you help?
    Many thanks,

    Add lib/j2ee.jar from the J2sdkee installation in the project Classpath with Paths>Additional Paths in the project properties frame.

  • Sun One cannot find package ?

    hi to all,
    i am trying to run my web application from sun one studio 5 SE, to utilise the debugging functionality that i cant get working in intellij or jbuilder :( (intellij wont iinstall on 2003 server and jbuilder crashes when in debug mode )
    anyways my app works fine by all accounts but when i mounted the filesystem inside SOS and i try and compile i get the following
    login$jsp.java [6:1] package org.apache.jasper.runtime does not exist
    import org.apache.jasper.runtime.*;
    ^
    login$jsp.java [9:1] cannot resolve symbol
    symbol  : class HttpJspBase
    location: class org.apache.jsp.login$jsp
    public class login$jsp extends HttpJspBase {
                                   ^
    login$jsp.java [35:1] package org.apache.jasper.runtime does not exist
        public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
                                                                       ^
    login$jsp.java [86:1] cannot resolve symbol
    symbol  : method getClass ()
    location: class org.apache.jsp.login$jsp
                                auth = (xns.beans.Authenticator) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "xns.beans.Authenticator");
                                                                                              ^
    login$jsp.java [105:1] cannot resolve symbol
    symbol  : variable JspRuntimeLibrary
    location: class org.apache.jsp.login$jsp
                    JspRuntimeLibrary.introspect(pageContext.findAttribute("auth"), request);
                    ^
    login$jsp.java [145:1] cannot resolve symbol
    symbol  : variable JspRuntimeLibrary
    location: class org.apache.jsp.login$jsp
                    out.print(JspRuntimeLibrary.toString((((xns.beans.Authenticator)pageContext.findAttribute("auth")).getUsername())));
                              ^
    login$jsp.java [170:1] cannot resolve symbol
    symbol  : variable JspRuntimeLibrary
    location: class org.apache.jsp.login$jsp
                    out.print(JspRuntimeLibrary.toString((((xns.beans.Authenticator)pageContext.findAttribute("auth")).getError())));
                              ^
    7 errors
    Errors compiling login.this happens with both the default internal SOS server and a tomcat 4.1 installation i have on same machine.
    i also mounted the jars that are in the server/lib dir of the tomcat install (i thought the server would have already mounted them) but this didnt help either
    any ideas pls, i need to extend this application and cant do it without debugging
    kind regards
    g00fy

    Hi Guys
    I found the answer already...
    u have to put jsse.jar , jnet.jar , jcert.jar in jdk1.31./jre/lib/ext folder
    And set some provider in java.security
    while it was done automatically in jdk1.4.1

  • Cannot find package error and cannot resolve symbol error

    Hi
    I have a file Assignment.java in C:\TIJCode\c03 folder. But this file belongs to the default package. This file imports a package com.bruceeckel.simpletest which is in C:\TIJCode\ folder. Now this package has a file named Test.java which accesses a few more files fromt he same package.
    I set the classpath to C:\TIJCode. When i try to run the Assignment file I get an error saying package com.bruceeckel.simpletest cannot be found and cannot resolve symbol error. symbol: Test Class: Assignment.
    The files in com.bruceeckel.simpletest package were not compiled. So I first tried to do that. But I get a cannot resolve symbol error while trying to compile a file NumOfLinesException which inherits SImpleTestException file. The exact error message is
    NumOfLinesException.java : 7 : cannot resolve symbol
    symbol : class SimpleTestException
    location : class com.bruceeckel.simpletest.NumOfLinesException extends SimpleTestException
    The exact code in each of above mentioned files is
    //: c03:Assignment.java
    // Assignment with objects is a bit tricky.
    // From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
    // www.BruceEckel.com. See copyright notice in CopyRight.txt.
    import com.bruceeckel.simpletest.*;
    class Number {
    int i;
    public class Assignment {
    static Test monitor = new Test();
    public static void main(String[] args) {
    Number n1 = new Number();
    Number n2 = new Number();
    n1.i = 9;
    n2.i = 47;
    System.out.println("1: n1.i: " + n1.i +
    ", n2.i: " + n2.i);
    n1 = n2;
    System.out.println("2: n1.i: " + n1.i +
    ", n2.i: " + n2.i);
    n1.i = 27;
    System.out.println("3: n1.i: " + n1.i +
    ", n2.i: " + n2.i);
    monitor.expect(new String[] {
    "1: n1.i: 9, n2.i: 47",
    "2: n1.i: 47, n2.i: 47",
    "3: n1.i: 27, n2.i: 27"
    } ///:~
    //: com:bruceeckel:simpletest:SimpleTestException.java
    // From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
    // www.BruceEckel.com. See copyright notice in CopyRight.txt.
    package com.bruceeckel.simpletest;
    public class SimpleTestException extends RuntimeException {
    public SimpleTestException(String msg) {
    super(msg);
    } ///:~
    //: com:bruceeckel:simpletest:NumOfLinesException.java
    // From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
    // www.BruceEckel.com. See copyright notice in CopyRight.txt.
    package com.bruceeckel.simpletest;
    public class NumOfLinesException extends SimpleTestException {
    public NumOfLinesException(int exp, int out) {
    super("Number of lines of output and "
    + "expected output did not match.\n" +
    "expected: <" + exp + ">\n" +
    "output: <" + out + "> lines)");
    } ///:~
    //: com:bruceeckel:simpletest:Test.java
    // Simple utility for testing program output. Intercepts
    // System.out to print both to the console and a buffer.
    // From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
    // www.BruceEckel.com. See copyright notice in CopyRight.txt.
    package com.bruceeckel.simpletest;
    import java.io.*;
    import java.util.*;
    import java.util.regex.*;
    public class Test {
    // Bit-shifted so they can be added together:
    public static final int
    EXACT = 1 << 0, // Lines must match exactly
    AT_LEAST = 1 << 1, // Must be at least these lines
    IGNORE_ORDER = 1 << 2, // Ignore line order
    WAIT = 1 << 3; // Delay until all lines are output
    private String className;
    private TestStream testStream;
    public Test() {
    // Discover the name of the class this
    // object was created within:
    className =
    new Throwable().getStackTrace()[1].getClassName();
    testStream = new TestStream(className);
    public static List fileToList(String fname) {
    ArrayList list = new ArrayList();
    try {
    BufferedReader in =
    new BufferedReader(new FileReader(fname));
    try {
    String line;
    while((line = in.readLine()) != null) {
    if(fname.endsWith(".txt"))
    list.add(line);
    else
    list.add(new TestExpression(line));
    } finally {
    in.close();
    } catch (IOException e) {
    throw new RuntimeException(e);
    return list;
    public static List arrayToList(Object[] array) {
    List l = new ArrayList();
    for(int i = 0; i < array.length; i++) {
    if(array[i] instanceof TestExpression) {
    TestExpression re = (TestExpression)array;
    for(int j = 0; j < re.getNumber(); j++)
    l.add(re);
    } else {
    l.add(new TestExpression(array[i].toString()));
    return l;
    public void expect(Object[] exp, int flags) {
    if((flags & WAIT) != 0)
    while(testStream.numOfLines < exp.length) {
    try {
    Thread.sleep(1000);
    } catch (InterruptedException e) {
    throw new RuntimeException(e);
    List output = fileToList(className + "Output.txt");
    if((flags & IGNORE_ORDER) == IGNORE_ORDER)
    OutputVerifier.verifyIgnoreOrder(output, exp);
    else if((flags & AT_LEAST) == AT_LEAST)
    OutputVerifier.verifyAtLeast(output,
    arrayToList(exp));
    else
    OutputVerifier.verify(output, arrayToList(exp));
    // Clean up the output file - see c06:Detergent.java
    testStream.openOutputFile();
    public void expect(Object[] expected) {
    expect(expected, EXACT);
    public void expect(Object[] expectFirst,
    String fname, int flags) {
    List expected = fileToList(fname);
    for(int i = 0; i < expectFirst.length; i++)
    expected.add(i, expectFirst[i]);
    expect(expected.toArray(), flags);
    public void expect(Object[] expectFirst, String fname) {
    expect(expectFirst, fname, EXACT);
    public void expect(String fname) {
    expect(new Object[] {}, fname, EXACT);
    } ///:~

    What do you have in the C:\TIJCode\ directory? Does the directory structure mimic the package structure for the stuff you're importing?

  • Cannot find package javax.servlet.*

    Hi All,
    I'm trying to run the "make all" in the Wrox J2ee bea book and am running in to errors that all seem to stem from the fact that the javax.servlet.* packages do not exist. After looking around it seems that this package should be in the weblogicaux.jar file. I do not have that jar file in my install. Anyone know where i can either get that weblogicaux.jar file or any file which has the javax.servlet packages. Any help would be much appreciated.
    Hoony
    weblogic 5.1.0

    That jar file should be located in %WebLogichome%\lib.
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    "Hoony Youn" <[email protected]> wrote in message
    news:3a70280f$[email protected]..
    >
    Hi All,
    I'm trying to run the "make all" in the Wrox J2ee bea book and am runningin to errors that all seem to stem from the fact that the javax.servlet.*
    packages do not exist. After looking around it seems that this package
    should be in the weblogicaux.jar file. I do not have that jar file in my
    install. Anyone know where i can either get that weblogicaux.jar file or
    any file which has the javax.servlet packages. Any help would be much
    appreciated.
    >
    Hoony
    weblogic 5.1.0

  • Asant   cannot find package, javac can??

    Hi All,
    I am working through the J2EE training disc CDJ-310A. I am trying to build the bankproject with asant and build.xml.
    Compiling with asant.
    Classpath set and works (javac finds it and set looks okay).
    Javac finds junit fine.
    Is there some other setting that asant uses other than the class path? Why would javac find junit and not asant??
    details:
    Imports:
    import junit.framework.*;
    import junit.extensions.*;
    import junit.runner.*;
    ClassPath ; JUNIT_HOME is c:\Junit4.1
    %JUNIT_HOME%\junit-4.1.jar
    Thanks, Ed.

    Hi,
    Thanks for the pointer, unfortunately, I read the manual and it is still not working.
    Thanks, though, Ed.

  • Cannot find package java.awt

    hi,
    i am trying to compile my project code and i keep on getting the following two errors " package java.awt does not exist " and " package java.awt.events does not exist " why is this happening? Is there any special classpath that needs to be set? Or any other thing? please help....

    Are you importing using import java.awt.*; or import java.awt;
    java.awt.events does not exist. Try java.awt.event instead.
    Please post your import statements.

  • I have installed Adobe packages and cannot find the Acrobat extension folder please advise how can I get these applications to load onto my computer?

    I have installed Adobe Creative Cloud for teams CC Packages which says that Acrobat XI Pro is installed. Your support page says it does not install Acrobat and I have to look in the Extensions folder for an MSI file.  I have run a number of searches and  cannot find the Acrobat extension folder please advise how can I get these applications to load onto my computer?
    Also I now administer the teams and have accepted the invitation to I received to be a team member and download the apps.  The admin page shows that I have been sent an invitation but does not show my account as "ACtive" unlike my other team members.  I tried to use the link in the invite to accept it become active but the link displayed an error saying I had already accepted the invite... why is no account not active?
    Finally what other product downloads in Creative Cloud do not actually download as part of the Creative cloud Packager for downloading the apps? e.g. acrobat and what else?

    My apologies Eadeszoo I believe our support agents are unavailable on January 1.
    Are you able to copy the contents of the DVD to your computer?  Are you receiving any particular error messages when you are trying to install?  Finally which operating system are you using?

  • 'Cannot find symbol' error after putting class into package

    I'm sure this is probably just a stupid mistake that I am making somewhere, but I can't figure it out.
    I have written a Java program, "LineConsole.java" and an interface, "LineConsoleKeyListener.java". LineConsole.java uses the interface (it does not implement it... it uses LineConsoleKeyListener objects in the program). If I put the two .java files into the same directory and compile them, everything works.
    So now I want to put them in a package called "LineConsole". I thought all I had to do was move the two files into a folder called "LineConsole" and add "package LineConsole;" to the top of each file. I did that, but now LineConsole.java does not compile. It complains that it cannot find the LineConsoleKeyListener interface, even though it's right there in the same directory.
    What am I doing wrong? Do members of a package have to import themselves or something?
    Thanks!
    Message was edited by:
    L4E_WakaMol-King

    Thanks guys :)
    It's working now.
    One more question...
    Right now I have 3 files in a folder names "LineCon":
    - LineConsole.class
    - LineConsoleKeyListener.class
    - wincbreak.dll
    If I copy that directory into the same directory as some other program I am writing, I can use those classes just like they are in a package. But is there any way to zip that package into a jar file? I know how to create jar files, but is there a way to make them behave like packages?
    I have tried creating a jar file with the individual files and also with all three files in a directory. The jar file is created successfully, but I cannot copy that jar file into the directory of a program and use the classes within it as if they were a package.
    I guess my ultimate question here is... how do I import a .class file that is in a jar file?

  • Exchange 2010 Rollup 2 SP3 update cannot find installation package exchangeserver.msi file on SBS 2011... NEED HELP!!!

    Hello,
    I am running a windows SBS 2011 standard system and there was currently an update for Exchange 2010 Rollup 2 Service Pack 3 and it keeps failing.  It says that it cannot find the installation package (exchangeserver.msi) and it is looking for it
    in E:\Software\Exchange2010-SP3-x64\ folder but there never was this folder.  There is only an Exchange2010-SP3-x64.exe file.
    The only exchangeserver.msi file that I find on the server any where is in C:\ProgramFiles\Windows Small Business Server\Bin\CMPNENTS\EXCHANGE14_SP1 but it won't accept it (says not authorized for this update or something alike).
    Please help.  It is currently causing issues with email.  Some of the features are not working because it says exchange is currently under maintenance.
    Any suggestions would be greatly appreciated.  Thank you.

    Susan you are correct:  After I installed Exchange 2010 SP3, I deleted the msi just to "clean up' my hard disk...  While trying to install Rollup 2 for SP3, the installer is trying to find it.  I downloaded the installer, used 7-zip to get
    the msi and I pointed the installer to it when asked.
    The installation failed 3 times... 
    NOTE: I was using WSUS to install the Rollup:  I downloaded the Rollup installer and I executed:  I could see where the installer was hanging up!  First it asked me to stop an SBS service and something else (sorry I do not remember), I stopped
    the services and installation continued.  Then it asked me for more files from the SP3 installation which I found on the installation folder that I created with 7-zip.  I copied to the path that the installer was looking and installation finished
    (finally!)...
    NOTE 2:  If you have any firewall appliance that denies Internet access to un-authenticated requests, you better turn that rule off because the installer accesses the internet (not sure why - probably for Dot Net assemblies)...
    Susan THANKS for all your help to the community!  You have helped so much! 
    All the Best
    Constantine

  • Cannot find javax.servlet package

    I have just downloaded and installed the latest JEE SDK having installed Tomcat on a Linux box so that I can start getting to know JSP.
    I am following an example in a book I have for this Servlet...
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.io.IOException;
    public class BasicServlet extends HttpServlet {
         public void doGet (HttpServletRequest req, HttpServletResponse res)
              throws IOException {
              ServletOutputStream out = res.getOutputStream();
              res.setContentType("text/html");
              out.println("<html><head><title>Basic Servlet</title></head>");
              out.println("<body>Hello World</body></html>");
    I am using Textpad to write and compile my java and when I try to compile I get errors basically saying that it cannot find the first 2 packages I am trying to import (it manages to find the IOException fine)
    Any ideas why? I suspect that the servlet package is not in the classpath but I do no know where the package is in order to add it to my class path.
    many thanks

    I have just downloaded and installed the latest JEE
    SDK having installed Tomcat on a Linux box so that I
    can start getting to know JSP.
    I am following an example in a book I have for this
    Servlet...
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.io.IOException;
    public class BasicServlet extends HttpServlet {
    public void doGet (HttpServletRequest req,
    , HttpServletResponse res)
              throws IOException {
              ServletOutputStream out = res.getOutputStream();
              res.setContentType("text/html");
    out.println("<html><head><title>Basic
    ic Servlet</title></head>");
              out.println("<body>Hello World</body></html>");
    I am using Textpad to write and compile my java and
    when I try to compile I get errors basically saying
    that it cannot find the first 2 packages I am trying
    to import (it manages to find the IOException fine)
    Any ideas why? I suspect that the servlet package is
    not in the classpath but I do no know where the
    package is in order to add it to my class path.
    many thanksHave u included your servletapi.jar into classpath
    If u havnt . set classpath to point to servletapi.jar
    if it helps .. release dukes.
    sudhir nimavat
    http://www.jyog.com

  • Cannot find class in same package but in different file

    I have following two source files. Both the file has same package statement as below
    package java.buron.doeacc ;
    But whenever i try to compile File: shoepolish.java ( mainfram.java compiled succesfully before)
    following error message appear
    ..\..\buron\doeacc\shoepolish.java:12: cannot resolve symbol
    symbol : class MainFrame
    location: class java.buron.doeacc.shoepolish
              MainFrame mainFrame = new MainFrame();
    ^
    ..\..\buron\doeacc\shoepolish.java:12: cannot resolve symbol
    symbol : class MainFrame
    location: class java.buron.doeacc.shoepolish
              MainFrame mainFrame = new MainFrame();
    ^
    Please tell me What is the problem and how it can be solved.
    why cannot find the class that are in same package.
    I have JDK 1.3
    FOLLOWING ARE THE TWO FILES
    File: mainframe.java/////////////////////////////////////////////////////////////////////
    package java.buron.doeacc ;
    import javax.swing.* ;
    import java.awt.*;
    import java.awt.event.* ;
    class MainFrame extends JFrame
         private final String APP_NAME = "Shoe Polish";
         // constructor
         public MainFrame()
              super("Shoe Polish");
              setSize(500, 500);
              setVisible(true);
    File : shoepolish.java
    package java.buron.doeacc ;
    import java.io.* ;
    import java.buron.doeacc.* ;
    class shoepolish
         public static void main(String args[])
              MainFrame mainFrame = new MainFrame();

    The javac compiler uses the Classpath to find classes. If your directory structure is c:\myjava\buron\doeacc (for example) then you need to have c:\myjava in the Classpath when you compile. For example javac -classpath c:\myjava MainFrame.java

Maybe you are looking for