Jump to content

Featured Replies

Posted

first of all thanks for let me be part of your forums hope i can contribute with some here .

 

ok am using jcreator and sc1 to develop my java applets but for some reason my sc1 editor compiles my programs but i wont run it , same program that am testing compiles and runs perfect in jcreator can you tell me how to make my sc1 editor work or how to set the paths althougt i dont think thats the problem thanks in advance .

 

this is a simple program that compiles but cant run it

 

public class FirstApplication

{

public static void main (String [] args)

{

System.out.println ("My first Application");

}

}

 

and this is the error message

 

java FirstApplication

java.lang.NoClassDefFoundError: FirstApplication

Exception in thread "main" >Exit code: 1

 

 

 

guicho

 

btw is in this forums where you guys created the KONANE animation ?

Okay, I'm not sure what sc1 but I have JCreator Lite, which in my opinion is the best Java compiler ever. Here is your error:

 

public class FirstApplication
{
public static void main [u](String [] args)[/u]
{
	System.out.println ("My first Application");
}
}

 

that part should be (String args[]), not (String [] args)

 

sometimes things compile because its syntax is technically correct, but it will have an error anyways because what you are asking it to do is out of java's boundries or even normal boundries. A good example of this is the divide by zero error.

 

int i = 6 / 0;

 

this will compile since its syntax is correct but it will produce errors because you cant divide a number by zero.

 

I'm a pretty good java programmer, if you have any questions, PM me and ill give you my MSN or email address and I'll help you out if I can.

  • Author
Okay, I'm not sure what sc1 but I have JCreator Lite, which in my opinion is the best Java compiler ever. Here is your error:

 

public class FirstApplication
{
public static void main [u](String [] args)[/u]
{
	System.out.println ("My first Application");
}
}

 

that part should be (String args[]), not (String [] args)

 

sometimes things compile because its syntax is technically correct, but it will have an error anyways because what you are asking it to do is out of java's boundries or even normal boundries. A good example of this is the divide by zero error.

 

int i = 6 / 0;

 

this will compile since its syntax is correct but it will produce errors because you cant divide a number by zero.

 

I'm a pretty good java programmer, if you have any questions, PM me and ill give you my MSN or email address and I'll help you out if I can.

 

holy shit man that was the problem , i thougth it was something else cause the program runs perfect in jcreator thanks bro , and btw you should try the editor that am using you can do a search on google for scentila sc1 is a good editor once i was like you thinking that there was nothing better than jcreator but once i've started to use sc1 i've changed my mind , thanks again bro .

 

guicho

holy shit man that was the problem , i thougth it was something else cause the program runs perfect in jcreator thanks bro , and btw you should try the editor that am using you can do a search on google for scentila sc1 is a good editor once i was like you thinking that there was nothing better than jcreator but once i've started to use sc1 i've changed my mind , thanks again bro .

 

guicho

 

np :)

Guest
This topic is now closed to further replies.