How  to  launche  the  compiler j2sdk1.4.1_02

hello to everybody
in my prompt when i write c:\>java [enter]
all is ok
but after that when i write
c:\>javac [enter]
nothing run and give error :"file excutable or command or file batch not found"
what can i do????
please help me
thank you
walter

also my english is bad.
ok thank to everybody to help
now my compiler is running and i executed the first
program .
i only must ti set the path because everytime i must to
write the complete path , it's not confortable.
thanks!!!

Similar Messages

  • How to check the compilation time of C++ code on Xcode 6

    how to check the compilation time of C++ code on Xcode 6

    import java.util.Calendar;
    Calendar rightNow = Calendar.getInstance();  // gets the current date and time to millisec
    Calendar earlyTime = Calendar.getInstance().set(Calendar.HOUR_OF_DAY, 6).set(Calendar.MINUTE, 30);
    Calendar lateTime = Calendar.getInstance().set(Calendar.HOUR_OF_DAY, 8).set(Calendar.MINUTE, 0);
    if (rightNow.compareTo(earlyTime)> 0 && rightNow.compareTo(lateTime) < 0){
    // do something
    }Try this.

  • PSE6 for MAC - How to launch the Organizer?

    I have changed from PSE5 on Windows to PSE6 on a Mac. When I opened PSE5 a screen would pop up to ask if I wanted the Editor or the Organizer. If I chose the Editor and later needed my organizer, I could click on the PSE5 icon and the same choice screen would come up.
    When I opened PSE6 on our new mac (yes, I'm a mac newbie) it automatically opened the Editor and I cannot find how to launch the organizer. when I click on the PSE6 icon again it just takes me right back to my open Editor.
    Any help on how to launch my organizer would be greatly appreciated!

    I have to say that gives me a sick feeling in my stomach! I use PSE for digital scrapbooking and have all my backgrounds and embellishments categorized by color and element type (thousands of them). I really thought I'd be able to import my catalog.
    Thank you for your help - at least I can end my search for the organizer.

  • How to launch the dialog with a wizard having train component

    Hi
    I have a page with a button and onclicking the button i need to show a dialog wizard( a wizard with 3 pages with the train component to move back and forth)
    I have created a taskflow as a train with 3 pages, but onclicking the button i am not able to launch the dialog as a taskflow.
    Any documentatino on how to achieve the same or some sample application reference is highly appreciated
    Bittu Bansal

    On clicking the button i want to show a popup and that popup drives me through the wizard.
    However i am able to achive the same right now.
    I am calling a popup using showPopupBehaviour and that popup i have created the region where i have embedded the task flow for a train wizard.
    Thanks
    Bittu Bansal

  • Single Edition and Viewer Builder (how to launch the VB)

    Hello
    just bought (one hour ago) a licence for single edition.
    so i got the email telling me
    1: i gotta connect to https://digitalpublishing.acrobat.com
    2: make sure i got the latest version from the viewer builder
    and here's the problem: the "Viewer Builder" section is still grey, I got no access to it and then can't do the following
    3: launch the viewer builder etc.
    4: in viewer builder, chose etc.
    can someone help me please ?
    maybe i just have to wait longer

    okay thanx again.
    PLease note that this tutorial may be confusing then because Mr Fleming does not specify it has to be a mac, and his computer does not look like a mac
    http://tv.adobe.com/watch/learn-digital-publishing-suite-single-edition/digital-publishing -publish-singlefolio-to-ipad/nother question regarding the publishing
    Another question regarding the publication progress, at 2'35'' Mr Fleming talks about "certificates that I've built": what is this ? HOw does it work ?

  • How to launch the Create Incident page as the Home Page

    Hi All,
    My issue is to launch the Create Incident page as the Home Page in the Service Pro Role.
    To launch the Create Incident page as the Home Page is there any SPRO Configuration or we have to do through the code?
    Thanks & Regards,
    Venkat

    Hi Venkat,
    This can be done in the navigation bar configuration. Go to the path below and select your navigation bar profile, next to the description of your navigation bar profile there is a link ID, replace the home work centre logical link SRV-HOM-WC with this link SRV-INC-CR.
    When you now log into your business role the incident creation screen should display instead of the service home screen
    SPRO --> CRM --> UI Framework --> Technical Role Definition --> Define Navigation Bar Profile
    Regards,
    David.

  • How to run the compiled wedforms to browser?

    Ladies and gentlemen,
    Kindly give me the a sample command on how to run the forms in
    the browser.
    Billy,
    null

    I have the same problem , the mini virus is so slow and unpredictable it is a joke.
    There is no way to disable it.

  • How to invoke the compiler from another program

    Hi guys,
    Suppose I have a source code located in the file MyClass.java.
    Now suppose I'm running another program, and in this program I want to compile the MyClass.java file and create the MyClass.class file. Is there a way of doing it through the standard API?
    Thanks.

    I believe Java 1.6 has a Compiler class as a part of it's "standard" API. Before that, you've got a package called tools.jar in your SDK directory, which is a Java gateway to the compiler

  • How to see the compilation and runtime errors in NW 2004s

    Hi
    I have developed some J2EE application and deployed it in a NetWeaver 2004s, some problems has occurred when I try to run this application.
    Where can I see the errors stacktrace for J2EE applications ? Is there any log ? I have already checked the std_server0.out and I didn´t find it there.
    By the way.. my SAP NetWeaver Application Developer is not validating the JSP syntax after I save the JSPs.

    Hello Michel,
    The exceptions will appear in ./j2ee/cluster/server0/log/defaultTrace.<#>.trc provided that the application is written to use the SAP logging API.
    Regards,
    Nathan

  • How to set the compiler macro values in the IDE?

    Hi,
    I want to change the values of macros ($(OutDir), $(TargetName), $(TargetExt), etc) when setting my VC++ project.  For example, $(TargetName) is set to the project name by default.  I would like to change it to, say, "Connector". 
    I spent quite some time to find the information but failed.  Many web sites direct to replace $(TargetName) totally with a hard-coded name instead of changing the value of the macro.  I am a little surprised and embarassed about failing to find information
    for such a simple task.  Please kindly help me out.  Sorry to bother you with this simple question here.
    Thanks.
    Tony

    When I change my output name in the project setting (Project->Properties->General->Output Directory) and rebuild the project, I get the following error messages.  I suppose that I should change the value of $(TargetName) instead of manually
    replacing the output path "$(OutDir)$(TargetName)$(TargetExt)" with the new output file name.  But I cannot find where I can change the value of the macro $(TargetName).  Can you please help me out?  Thanks in advance.
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppBuild.targets(1137,5): warning MSB8012: TargetPath(D:\tmp\test20\OldName\OldName\x64\Debug\OldName.dll) does not match the Linker's OutputFile property value (D:\tmp\test20\OldName\OldName\x64\Debug\NewName.dll).
    This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppBuild.targets(1139,5): warning MSB8012: TargetName(OldName) does not match the Linker's OutputFile property value (NewName). This may cause your project to build incorrectly. To correct
    this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
    1>     Creating library D:\tmp\test20\OldName\OldName\x64\Debug\NewName.lib and object D:\tmp\test20\OldName\OldName\x64\Debug\NewName.exp
    1>NewName.exp : warning LNK4070: /OUT:OldName.DLL directive in .EXP differs from output filename 'D:\tmp\test20\OldName\OldName\x64\Debug\NewName.dll'; ignoring directive
    1>  OldName.vcxproj -> D:\tmp\test20\OldName\OldName\x64\Debug\OldName.dll
    JD

  • How to launch the default web browser from a java app on MAC

    I know, this topic has been brought up over, and over, however I couldn't find info regarding MAC environments. I don't have any former experience with MAC, but now I'm getting desperate for a solution. I need to be able to pop up the default browser showing a certain URL on MAC/OS. Any clue would be appreciated.
    thanks,
    m. berdan

    I wrote libraies that will do this:
    http://ostermiller.org/utils/Browser.html
    I also keep a list of other resources to help you out:
    http://dmoz.org/Bookmarks/D/deadsea/Java_Help/Web_Browser/
    Stephen

  • Getconf returns compiler flags that the compiler warns about

    I have Workshop 12u1 installed on my Solaris 10u8 machine (x86_64). I'm up to date with patches as of a couple weeks ago.
    I'm well aware that the Workshop suite has deprecated flags like -xarch=generic64, -xarch=amd64a, etc.
    However, when I run "getconf" on my Solaris 10 system, some of the conf settings still return those older flags that the compiler now warns about. That causes a lot of warning chatter when building certain applications (e.g. perl 5.10.1) that are smart enough to use "getconf" to try determine what flags to use in certain situations. Using getconf to find the right flags is even mentioned in the standards(5) page, but following its advice results in deprecation warnings from the compiler. Not good.
    If you run the following code you'll see what I mean:
    for f in `man getconf | egrep 'XBS'`; do echo "Checking $f"; getconf "$f"; doneIs this something that I (as a sysadmin for the system) should be able to configure, or is it something that would need to be patched to fix? The man pages for getconf, sysconf, and confstr aren't clear where the values are actually coming from.
    So, how should this be fixed?
    Thanks,
    Tim

    Enchanter wrote:
    Since I'm running regular old Solaris 10, rather than OpenSolaris, I'm skeptical how much help the OpenSolaris developers are truly going to be. I can certainly give it a go, but even if they fix it in OpenSolaris, it might be a very long time before that fix filters into Solaris.Actually, it goes the other way. New features and modification go into the internal Solaris development workspace before they migrate to Open Solaris. The Solaris Express and final releases and Open Solaris releases come from the same source base. Whether a feature or update goes into a Solaris 10 patch depends partly on demand, especially demand from customers with service contracts.
    I'm also a little puzzled about the "backwards compatibility" thinking of the compiler developers. In some areas (e.g. C++ and the standard library), what's shipped with the compiler is years and years behind what's current, apparently in the name of "backward compatibility". Yet where compiler flags are concerned, the developers seem to be much more cavalier about deprecating things and making changes that break backward compatibility.We try very hard not to break code or makefiles. Sun (and now Oracle) makes its money from enterprise users. Their code bases last for a long time, and changes are expensive. Changing a line in a makefile or source code file can mean having to re-certify the application.
    The change from -xarch to -m specifying the memory model was more abrupt than we would have liked, and in hindsight, was probably not handled very well. We were running into combinatorial explosion of -xarch sub-options due to the increasing number of architectures that the compiler supports. Some option combinations quietly resulted in behavior that you didn't expect. (For example, the combination "*-fast -xarch=v9*"did not give the same result as "*-xarch=v9 -fast*".) Separating memory model from the other considerations made the options easier and more reliable to use.
    Don't get me wrong -- I'm all for forward progress with the tool-chain -- I think that the C++ standard library and the defaults should all be brought up to what's current in the industry. Sun Studio 12 update 1 has direct support for Apache stdcxx (if installed in a standard location) in addition to libCstd and STLport. The Apache library will be in the next Open Solaris. When it will be available in a Solaris 10 update has not yet been decided.
    I also think adding support for -m32/-m64 was a good move. It just seems to me that if the developers are going to deprecate a large number of flags that the compiler accepts, they should also make certain that the rest of the operating system can handle that change. To me, that means that they need to work with the developers of getconf/confstr() to make certain it knows how to check the compiler version before it emits a particular flag.Only a few options have been deprecated. It's just that they are probably the ones you used most. :-(
    More than one compiler version can be installed on a system, and compilers can be installed anywhere. Programmers in medium to large shops typically run compilers installed on a remote server, although they might have other compilers installed locally. If getconf had to guess what compiler you were using, it would often guess wrong. If you have suggestions on how to match up getconf behavior with the compiler you want to use, please post them in an Open Solaris forum.

  • How To Launch Servlet from Desktop App

    Hello Everyone,
    I recently started my programing in JavaEE. First lesson was Servlets.
    My servlet takes the name and a number from a user using a html form and returns a wellcoming message to the user and calculates PI with "number" decimals.
    Well it works using a html form but the next exercise is to launch the servlet from a desktop application. I searched like 2 hours on google and different sites for this. I saw a hint about creating a framework(code was writen in 2001).
    I really really have no idea how to launch the Servlet from a desktop client application.

    The exercise says:
    PI Servlet
    Write a servlet capable of calculating the PI number with a specified number of decimals. Access this servlet:
    1. From a browser, using a HTML form
    2. From a desktop application
    For the calculation of PI use Machin formula PI/4 = 4 arctan(1/5) - arctan(1/239) or a similar one.
    For the calculation of arctan function use Taylor series: arctan(x) = x - (x^3)/3 + (x^5)/5 - (x^7)/7 + (x^9)/9 ...
    My servlet looks like this: without the Methods for calculating PI:
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
             try {
                int len = request.getContentLength();
                byte[] input = new byte[len];
                ServletInputStream sin = request.getInputStream();
                int c, count = 0 ;
                while ((c = sin.read(input, count, input.length-count)) != -1) {
                    count +=c;
                sin.close();
                String inString = new String(input);
                int index = inString.indexOf("=");
                if (index == -1) {
                    response.setStatus(HttpServletResponse.SC_BAD_REQUEST);
                    response.getWriter().print("Eroare la servlet");
                    response.getWriter().close();
                    return;
                String value = inString.substring(index + 1);
                //decode application/x-www-form-urlencoded string
                String decodedString = URLDecoder.decode(value, "UTF-8");
                int decc = Integer.parseInt(decodedString);
                String result = CalculatePI(decc).toString();
                PrintWriter out = response.getWriter();
                try {
                out.println("<html>");
                out.println("<head>");
                out.println("<title>Pi Servlet</title>");
                out.println("</head>");
                out.println("<body>");
                out.println("<h1>Pi Servlet  </h1>");
                out.println("<p> Wellcome <br /> PI cu "+ decodedString + "zecimale este: <p>");
                out.println("<br />" + result);
                out.println("</body>");
                out.println("</html>");
            } finally {
                out.close();
                // set the response code and write the response data
                response.setStatus(HttpServletResponse.SC_OK);
                OutputStreamWriter writer = new OutputStreamWriter(response.getOutputStream());
                writer.write(decodedString);
                writer.write(result);
                writer.flush();
                writer.close();
            catch (IOException e) {
                try{
                    response.setStatus(HttpServletResponse.SC_BAD_REQUEST);
                    response.getWriter().print(e.getMessage());
                    response.getWriter().close();
                catch (IOException ioe) {
        } The Html form :
    <form action="PiServlet" method ="POST">
        Give PI decimals <input type="text" name="PI" size="20"><br />
        <input type="submit" value ="Submit" >
        <input type ="reset" value="Reset" >
    </form>And my desktop application :
    public static void main( String [] args ) throws Exception {
               if (args.length != 1) {
             System.err.println("errrrr");
             System.exit(1);
         String piString = URLEncoder.encode(args[0], "UTF-8");
         URL url = new URL("http://localhost:8084/MySecondServlet/");
         URLConnection connection = url.openConnection();
         connection.setDoOutput(true);
         OutputStreamWriter out = new OutputStreamWriter(
                                  connection.getOutputStream());
         out.write("string=" + piString);
             System.out.println(piString);
         out.close();
         BufferedReader in = new BufferedReader(
                        new InputStreamReader(
                        connection.getInputStream()));
         String decodedString;
         while ((decodedString = in.readLine()) != null) {
             System.out.println(decodedString);
         in.close();
        }Edited by: ELuCID on Jul 22, 2009 9:42 PM
    Edited by: ELuCID on Jul 22, 2009 10:11 PM

  • Launching the BSP page through transcation launcher

    Hi CRM Experts ,
                              How to launch the BSP page through transcation launcher ?

    Hi Mahadevi,
    You can find the detailed information here:
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0da6d63-8485-2c10-dab6-bb202e209455|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0da6d63-8485-2c10-dab6-bb202e209455]
    Regards
    Leon

  • IPhone -- launch the Photos app

    Is anyone familiar with how to launch the Photos app (or a more generalized app launching that I could use to do that)? I'm aware of the URL method to launch certain apps, but I don't know of a way to use this for Photos.
    I'm not trying to open a picker -- just close my app and open the photo library, like the bottm-left button does when you're in the Camera app.
    Thanks!

    I'm not sure that there is a legit way -- maybe it's a private API?
    I mean, it has to be possible -- Camera does it...
    Anyone?

Maybe you are looking for

  • How can I put photos from my iPod to my computer wihout using camera roll?

    How can I sync photos from iPod touch to my computer without using camera roll?

  • Java in Stored Procedures

    Hi all, This is the Problem i am facing. Can anyone help please !!!! I hv creaeted a java source file to print "Hello World" and compiled to create java class file. Now i hv both the .java and .class file under the directory c:\suresh\javaexam. I tri

  • Nested schema usage in JDeveloper

    We are building a BPEL process that makes use of a schema nested to multiple levels. Some schema types have an extension to other base types. When trying to create variables for such types, JDeveloper throws an error "Problem building schema" with me

  • My store setting does not have a sign out

    In the setting - store - I cannot see a sign out bar only to sign in.

  • Good receipt price and cost

    Hi experts, do you know what is the real unit price field used to calculate the value of the journal entry generated by the goods receipt ? For now, we are using IGN1.Price, but now we think that it is IGN1.StockPrice. Do you confirm it ? Thanks in a