mark your class as public as:
    public class Point3DExample {
and try again. This should work.

Rohit.
----- Original Message -----
From: "Marshall, Katyann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, 23 April, 2001 8:28 PM
Subject: Re: how do I view the end result


> yes this is a simple class file, I know everything is correct on it
because
> I took it directly from a book, for practice purposes,
>
> this is the warning I'm getting
>
> [(C:\JBuilder35\jdk1.2.2\bin\javaw   -classpath "C:\Documents and
> Settings\kmarshal\jbproject\untitled2\temp;
> com.borland.jbuilder.runtime.AppletTestbed 300 300 Point3DExample
> The applet Point3DExample does not have a public constructor
> Point3DExample()]
>
>
> this is my code
>
>
> class Point3D {
> double x;
> double y;
> double z;
> }
>
>  class Point3DExample {
>  public static void main(String args[]) {
> Point3D p = new Point3D();
> p.x =1.1;
> p.y =3.5;
> p.z = -2.8;
> System.out.println("p.x = " + p.x);
> System.out.println("p.y = " + p.y);
> System.out.println("p.z = " + p.z);
> }
> }
>
> can you help me to see the end results, I'm not to sure how to set up my
> class path,
> my number is 914-640-5294
>
> I'm realy desprate
>
> KT
>
>
>
> -----Original Message-----
> From: erik morton [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 23, 2001 10:17 AM
> To: [EMAIL PROTECTED]
> Subject: Re: how do I view the end result
>
>
> Is this a simple class or a JSP?
> If it's a class I would either run the project (Run -> Run Project) or
just
> right
> click on the file in the source browser and choose the Run option.
>
> If it is a JSP the process is the same. Good Luck!
>
> "Marshall, Katyann" wrote:
>
> > Hi All,
> > I'm new to Java, I made a simple java file and it compile without
errors,
> > how do I view the end results in JBuilder?
> >
> > thanks
> >
> > KT
> >
> >
>
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> --
> Erik I Morton
> Software Developer
> ------------------
> CommerceHub
> http://www.commercehub.com
> 518-886-0704
> 21 Corporate Drive
> Clifton Park, NY 12065
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.250 / Virus Database: 123 - Release Date: 19/04/2001

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to