Help need on System setup for java programming

HELP BADLY NEEDED!
I recently installed java (jdk version8 152mb) on my HP630 win7 because i want to learn java. But when practising, after using notepad to code samples like "Hello Word" and saving it with .java format, it still cannot run on my pc.
Pls i think i need a complete and comprehensible guide on how to install and prepare my win7 laptop for java programming.
Thanks in anticipation

Hello,
   one suggestion is to ensure your system's environment PATH has the Java installation path included, so that it knows where to look to run Java.
 (See attached pix).
1st) Find out where Java was installed to on your system: For example, on my Win7 PC, Java was installed to 'C:\Program Files (x86)\Java' directory.
      However, my path to the actual binaries is 'C:\Program Files (x86)\Java\jre7\bin'; this is the value I added to my system PATH.
2nd) Check what your System's PATH has: You can do this by looking at the Environment Variables under System Properties:
   1) Search for Control Panel, then go to System & Security, then to System, then to 'Advanced System settings'.
   2) Click on 'Environment Variables...'
   3) Under the 'System variables' pane, use the scroll bar to find 'Path', and click on 'Edit...'.
   4) Here is where you add your Java path (as noted above): Note that I appended my java path to the existing Path text, taking care to separate the previous path with a semi-colon (';').
     For example, this was my existing 'Path': "C:\Program Files\CollabNet\"...and now it looks like this 'C:\Program Files\CollabNet\;C:\Program Files (x86)\Java\jre7\bin'.
   5) Click OK, OK, OK out of all those dialogs.
   Now..restart your JVM or attempt to run your Java program!.
 Good luck.
Regards,
HardCopy (I am employed by HP) [If this was helpful, please mark this 'Solved' or 'Accept as Solution' so others can find this too]
How to Give Kudos | How to mark as Solved
Attachments:
SystemVariables.PNG ‏60 KB

Similar Messages

  • How many softwares are there to create a setup file for java programs

    Hi, i am new to java
    I want to know how many softwares are there to create a setup file for java programs.
    I know one software i.e java launcher to create a setup file.
    I want to know about any other softwares are available to create a setup file for java programs.
    I created a setup file for swings program in JCreator.
    And don't think that i am wastiing ur time with this question .
    Help me regarding this topic.
    Thanks in Advance

    superstar wrote:
    I want to know how many softwares are there to create a setup file for java programs.13, no wait, 42.
    I know one software i.e java launcher to create a setup file.You should clearly identify what you think you already know.
    I want to know about any other softwares are available to create a setup file for java programs.
    I created a setup file for swings program in JCreator.Is this the one you talked before, or is this different?
    And don't think that i am wasting ur time with this question .Why should I not think that?

  • How to create reports for java programs?

    Hi,
    I have planned to do a project using java,that will help to create reports for java programs. To create reports for java programs i used two options.
    1)Crystal reports
    2)Write the code to produce reports for each java programs
    The second one little cumbersome.SO i planned to develop a software that is compatible for creating java reports.
    I would like to know how i will do the project?Can you help me to made it a successful project.Hope you can help me.
    Expecting your reply
    PreethiRenjith

    Uggg... Crystal reports...
    I would personally write a generic report generator, It would probably be easier than fighting w/
    crystal reports (CR is popular, but painful :) )
    Anyhow, I've written report generators for many different applications. It is one of the simplest projects you
    can take on, and the results make you feel special --
    If your need nicely formated, portable, printable reports, you could have your report generator make PDF files (the format is open, and VERY simple, plus people like pdf files) you can get the pdf spec from adobe or from wotsit.org (the famous wotsit file format archive).
    enjoy!

  • How to read system evenlog using java program in windows

    How to read system evenlog using java program in windows???
    is there any java class available to do this ? or any one having sample code for this?
    Your friend Zoe

    Welcome to the Sun forums.
    >
    How to read system evenlog using java program in windows???>
    JNI. (No.)
    >
    is there any java class available to do this ? or any one having sample code for this?>You will generally get better help around here if you read the documentation, try some sample code and come back with a specific question (hopefully with an SSCCE included).
    >
    Your friend Zoe>(raised eyebrow) Thank you for sharing that with us.
    Note also that one '?' denotes a question, while 2 or more generally denotes a dweeb.

  • How to change system time through java program

    Hi
    I want to know, how to change system time through java program.
    give me a idia with example.
    Thanks

    There isn't any core Java API for this. Use JNI or call an external process with Runtime.exec().
    ~

  • Need documents on webdynpro for java?

    hi,
    i am working on java,i want to move to webdynpro for java.i need documents on webdynpro for java.

    Hi Ram Sai,
    welcome to Web dynpro Java .... obviously you will be having a great future in this.....
    for material.... its been asked many times in the SDN just search. you will get hundreds of books....
    just like below.... these are very few... you will get many more in sdn.... just go and search
    The following links will give you introduction to Web Dynpro,Getting Started with Web Dynpro & WebDynpro Benefits
    /thread/358673 [original link is broken]
    /thread/353819 [original link is broken]
    Tutorials and PDFs
    Also see:
    WEB DYNPRO?
    what is webdynpro?
    What is Webdynpro?
    What is Web Dynpro?
    Webdynpro Sample Applications and Tutorials
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    SAP WebAs Samples And tutorials
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/7d646a6c-0501-0010-b480-bf47b8673143
    Basic Webdynpro tutorials....
    http://help.sap.com/saphelp_erp2005/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/1fc0bdb1cdd34f9a11d5321eba5ebc/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3a/d08342a7d30d53e10000000a155106/frameset.htm
    http://searchsap.techtarget.com/searchSAP/downloads/SAPPRESS.pdf
    Go through the following documents for step by step procedure for developing an application in wdjava.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a361a890-0201-0010-c0bc-8f16de527cde
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/efe7a790-0201-0010-7894-cfd79d02bb7e
    the following document will give you some idea of webdynpro concepts
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a815cf90-0201-0010-8481-da495d68294c
    The following document gives some introduction in nwds
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f637ae90-0201-0010-ccab-81f3ec35f85e
    the following document will give you some idea of WAS concepts
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e1515a37-0301-0010-b2bb-99780cb4cafa
    Check the following thread u can get lot of materials,
    WeB Dynpro Documents
    All Web Dynpro Articles
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/7082f9fc-070d-2a10-88a2-a82b12cea93c?startindex=221
    Refer these linkshttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/web%20dynpro%20tutorial%20and%20sample%20applications.faq
    Why WebDynpro ?
    Why WebDynpro ?
    Why  webdynpro and not BSP or JSP?
    What kind of applications are being developed with Web Dynpro?
    http://www.sappro.com/downloads/OptionComparison.pdf
    Developing Java Applications using Web Dynpro Configuration Scenario
    http://www50.sap.com/businessmaps/8F5B533C4CD24A59B11DE1E9BDD13CF1.htm
    Integrating Web Dynpro and SAP NetWeaver Portal Part 1: Creating Web Dynpro-Based Portal Content
    http://www.octavia.de/fileadmin/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro/Tutorial_1.pdf
    The Structural Concepts of Web Dynpro Components
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a048387a-0901-0010-13ac-87f9eb649381
    Web Dynpro:Context Mapping & Model Binding
    http://wendtstud1.hpi.uni-potsdam.de/sysmod-seminar/SS2005/presentations/14-Web_Dynpro_dataflow.pdf
    Web Dynpro:Getting Involved
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c193252d-0701-0010-f5ae-f10e09a6c87f
    Refer the following links also
    1.Tutorials & Samples for Web Dynpro Java
    2.https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60e5add3-8349-2a10-9594-bcb7d1b4bd2d
    3.http://help.sap.com/saphelp_nw04/helpdata/en/80/c12041aa7df323e10000000a155106/frameset.htm
    4.https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d599690-0201-0010-12bb-b9ea3ea32d22
    5.http://help.sap.com/saphelp_nw70/helpdata/EN/dd/0e2a41b108f523e10000000a155106/frameset.htm
    6.What is Web Dynpro? What is the use?
    7.Everything you wanted to know about Web Dynpro but were afraid to ask, including...
    Elearning Webdynpro For Java
    https://www.sdn.sap.com/irj/sdn/ui-elearning
    Articles On Webdynpro For Java
    https://www.sdn.sap.com/irj/sdn/nw-ui?rid=/webcontent/uuid/4005b711-9f9b-2a10-ebae-a1c7ab7ed39d
    Blogs On Webdynpro For Java
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/43
    Wiki's On Webdynpro For Java
    https://www.sdn.sap.com/irj/sdn/wiki?path=/x/iau
    Documentation On Webdynpro
    https://www.sdn.sap.com/irj/sdn/nw-wdjava
    The following links will give you introduction to Web Dynpro:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/webcontent/uuid/8921447c-0501-0010-07b4-83bd39ffc7be
    WebDynpro Benefits
    The following link will give you basics of how to build applications in Web Dynpro:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/efe7a790-0201-0010-7894-cfd79d02bb7e
    Following link is the comprehensive link for numerous tutorials on Web Dynpro from SDN itself:
    Tutorials & Samples for Web Dynpro Java
    Following are some threads where you can get links to practice examples on Web Dynpro:
    /thread/358673 [original link is broken]
    /thread/353819 [original link is broken]
    Tutorials and PDFs
    Also see:
    WEB DYNPRO?
    what is webdynpro?
    With Regards,
    RooP KumaR.

  • How to read system eventlog using java program in windows?

    How to read system eventlog using java program in windows?
    is there any java class available to do this ? or any one having sample code for this?
    Your friend Zoe

    Hi,
    There is no java class for reading event log in windows, so we can do one thing we can use windows system 32 VBS script to read the system log .
    The output of this command can be read using java program....
    we can use java exec for executing this system32 vbs script.
    use the below program and pass the command "eventquery"
    plz refer cscript,wscript
    import java.io.*;
    public class CmdExec {
    public static void main(String argv[]) {
    try {
    String line;
    Process p = Runtime.getRuntime().exec("Command");
    BufferedReader input =
    new BufferedReader
    (new InputStreamReader(p.getInputStream()));
    while ((line = input.readLine()) != null) {
    System.out.println(line);
    input.close();
    catch (Exception err) {
    err.printStackTrace();
    This sample program will list all the system log information....
    Zoe

  • Set system classpath using java program??

    Hi,
    I want to set the System classpath using java program. Can somebody please tell how to do this.
    Prashant

    but this will set the classpath for that particular JVM only.
    Isn't it??? I want that of SYSTEM so that user can access that class path from any JVM instance.
    Prashant

  • Syllabus/Topics for Sun Certified Instructor for Java Programming Language

    Hi,
    What is the Syllabus/Topics for Sun Certified Instructor for Java Programming Language ?
    At the following link
    http://www.sun.com/training/catalog/instructor/java.html
    detailed syllabus is not there.
    I am unable to find the details in Sun site even after search through google.
    Please help in this regard.
    Thank you for your kind consideration.

    Sir,
    thank you for your response.
    technic  wrote:
    I'm not sure what you mean by Syllabus/Topics?For SCJA/SCJP/SCWCD/SCBCD/SCDJWS/SCMAD/SCEA
    I am able to find the detailed syllabus for the exam by clicking on the respective certification link at the following link
    http://www.sun.com/training/certification/java/index.xml
    for example: for SCJP,
    http://www.sun.com/training/certification/java/scjp.xml
    http://www.sun.com/training/catalog/courses/CX-310-065.xml
    these links are providing exam objectives, number of questions, exam duration , fee details etc.
    But for
    Sun Certified Instructor for Java Programming Language Course (SL-275)
    I am unable to find such details exam objectives (syllabus), no. of questions, exam duration, etc.,
    even, the following link
    http://www.sun.com/training/certification/objectives/index.xml
    is providing details of all other certifications except
    Sun Certified Instructor for Java Programming Language Course (SL-275)
    thank you for your kind consideration.

  • Help need my mac pro for school..it has Grey screen..spinning wheel...repaid disk ok...repair disk permission all repaired but one warning...

    Help need my mac pro for school..it has Grey screen..spinning wheel...
    I think I have  mountain lion OS X....I have done I think almost every suggestion I've seen in discussion boards.
    Boot in recovery repaired disk...ok...repair disk permission...all repaired but one warning...I've tried to reinstall lion (without losing data) and it Got all the way to one minute to be done and then the time change back two hours and kept doing this all night long.  I haven't done a back up due to no external for time machine.
    I hope someone can please help me I've been going crazy for a week now trying to figure this out.  I use my computer for school and I'm currently very behind from in my school work  thank you
    Also I've checked my available space  424.91 free of 750 gigs....disk is verified

    Welcome to the Apple Support Communities
    Try holding the Shift key while your Mac is starting to start into safe mode. Then, after starting in safe mode, open Finder, select Go menu (on the menu bar) > Go to Folder, and type /Library/StartupItems. Then, empty this folder and restart the Mac.
    If your Mac starts after doing this, it was a problem with a third-party app that starts automatically when you turn on the computer. It won't start automatically anymore after doing that

  • Can anyone help me wid d codes for  Generated Program for gate pass

    can anyone help me wid d codes for  Generated Program for gate pass in MM
    Message was edited by:
            Ronei Shedi

    Hi
    There is no std business process in SAP for Gate pass for the Material entry
    before GR stock entry into the stores.
    You have to write a Z program based on the details of Purchase order tables EKKO and EKPO.
    This will mainly check whether the correct PO qty was delivered or not with proper quality.
    So use the PO tables EKKO and EKPO and fetch the data and use it
    Since this is client specific there is no feneralised program for it.
    Reward points if useful
    Regards
    Anji

  • Why do we need IDE or tools for java card programming?

    Hi,
    I am a newbie to java card, using java card kit tools themself, we can test and burn the code into card right?
    then why do we need IDE for java card, please correct me , if i am wrong,
    Thanks in advance,
    Sri.

    Dear Sri,
    We have compiler, linker etc for every language starting of from C or C++ or Java. JDK has all the tools necessary to develop and run a Java program. Similarly Java Card Development Kit has all the tools for developing and deploying a Java Card applet. But what an IDE does is too integrate all these tools and make it easier for the JavaCard programmer to develop his applets. Just like Eclipse is used for Java applet development.And not everytime the code is burned to the card. Its only during masking code is burned to the card, i.e if u can call it burning. Masking makes an applet permanent on the card.

  • Need help with jsp that uses a java program

    Hi, sorry for my english but i am italian.
    I've got a problem: i use java builder and i have a java program(this program has got a main and includes libraries) about graphich on tree, this program visualizes these trees and makes operations on these.
    Now i must use JSP so that a client can see this program (this program is on the server) and can interact with it.
    I can't use applet.I must use only jsp.
    Who can tell me how can i start???
    Thanks.

    If you are not allowed to use an applet, then you are limited by what can be achieved with HTML in a browser.
    You would have to figure out how to render it with HTML, then program your jsp to write out this html programatically.

  • How to access system registry through java program

    Friends
    I have to access System registry of Windows 2000 by Java program. I don't know how to access the registry by using java code. Please help me. Else
    I want to create a setup file for my application. before setup my application i have to check whether the system has JVM or not. If its not then i have to install JVM first and then my application. so i need to access system registry. please give me a solution for this.
    Thanks in advance
    Ramesh

    I don't know how to access the registry
    by using java code. You can't, without using a native interface (JNI type) library.
    This is one, there are others, do a Google search:
    http://www.bayequities.com/tech/Products/jreg_key.shtml

  • Help needed In developing project in Java

    Hi guys I am Developing a project in Java.
    This program test processor performance.
    Of system.
    Please tell me which packages to use and what will be basic logic required.
    basically Test, counter, and help will be used I think.

    Note: This thread was originally posted in the [Java Programming|http://forums.sun.com/forum.jspa?forumID=31] forum, but moved to this forum for closer topic alignment.

Maybe you are looking for