JBuilder


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: JBuilder

  1. #1
    Shilpa Guest

    JBuilder


    I am using JBuilder and written the following lines as it is:

    /* Lesson 2 */
    /** This is our weight application */
    class weight
    {
    public static void main(String[] arguments)
    {
    int lbs = 90;
    System.out.println("Ally McBeals weight is now " +
    lbs +
    " lbs.");
    }
    }

    NOW I AM GETTING THE ERROR MESSGES WHEN I PRESS SHIFT+F9 FOR COMPILING OF
    CHECK SOURCEPATH.

    PLEASE HELP.

    THANKS
    SHILPA

  2. #2
    alberto estrada Guest

    Re: JBuilder


    hi shilpa;

    i think it may be your configuration. i tried your code and it works perfectly
    fine on my jbuilder 3.0. go to default properties and
    verify that all the paths you need are there.

    best regards,
    alberto

    "Shilpa" <shilpa_79@usa.net> wrote:
    >
    >I am using JBuilder and written the following lines as it is:
    >
    >/* Lesson 2 */
    >/** This is our weight application */
    >class weight
    > {
    > public static void main(String[] arguments)
    > {
    > int lbs = 90;
    > System.out.println("Ally McBeals weight is now " +
    > lbs +
    > " lbs.");
    > }
    > }
    >
    >NOW I AM GETTING THE ERROR MESSGES WHEN I PRESS SHIFT+F9 FOR COMPILING OF
    >CHECK SOURCEPATH.
    >
    >PLEASE HELP.
    >
    >THANKS
    >SHILPA



  3. #3
    Brent Guest

    Re: JBuilder


    Do you have a "project" started or did you just try and create a new .java
    file an compile that? If the latter,
    try creating a project first, add you source file and then make sure your
    source is set as "main".
    Let me know if you can't get it after that.

    "alberto estrada" <albert77@rocketmail.com> wrote:
    >
    >hi shilpa;
    >
    >i think it may be your configuration. i tried your code and it works perfectly
    >fine on my jbuilder 3.0. go to default properties and
    >verify that all the paths you need are there.
    >
    >best regards,
    >alberto
    >
    >"Shilpa" <shilpa_79@usa.net> wrote:
    >>
    >>I am using JBuilder and written the following lines as it is:
    >>
    >>/* Lesson 2 */
    >>/** This is our weight application */
    >>class weight
    >> {
    >> public static void main(String[] arguments)
    >> {
    >> int lbs = 90;
    >> System.out.println("Ally McBeals weight is now " +
    >> lbs +
    >> " lbs.");
    >> }
    >> }
    >>
    >>NOW I AM GETTING THE ERROR MESSGES WHEN I PRESS SHIFT+F9 FOR COMPILING

    OF
    >>CHECK SOURCEPATH.
    >>
    >>PLEASE HELP.
    >>
    >>THANKS
    >>SHILPA

    >



  4. #4
    frank jen Guest

    Re: JBuilder


    "Shilpa" <shilpa_79@usa.net> wrote:
    >
    >I am using JBuilder and written the following lines as it is:
    >
    >/* Lesson 2 */
    >/** This is our weight application */
    >class weight
    > {
    > public static void main(String[] arguments)
    > {
    > int lbs = 90;
    > System.out.println("Ally McBeals weight is now " +
    > lbs +
    > " lbs.");
    > }
    > }
    >
    >NOW I AM GETTING THE ERROR MESSGES WHEN I PRESS SHIFT+F9 FOR COMPILING OF
    >CHECK SOURCEPATH.
    >
    >PLEASE HELP.
    >
    >THANKS
    >SHILPA



    hi,
    I also did not find any error on your source code,maybe some problems with
    your Jbuilder configure.make sure your file name wether weight.java or not
    .how about provide you error message for me to refer?

    frank jen




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center