This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
1
Code compiled but got a warning message No main methods, JavaFX Applications, applets, or MIDIets found in in file.
Post Body
After trying to run my code, I get a warning message "No main methods, JavaFX Applications, applets, or MIDIets found in in file. " "You main be able to use the "Build" menu to run in a specific way." I have JDK installed and reinstalled it after I got the warning message. I also ran code that I wrote before and it compiled and ran without issues. I'm using the jGRASP IDE. Can someone help please? Thanks.
public class Addition
{
public static void main(String[] args)
{
System.out.println("24 and 45 concatenated: " 24 45);
System.out.println("24 and 45 added: " (24 45));
}
}
Author
Account Strength
60%
Account Age
3 years
Verified Email
Yes
Verified Flair
No
Total Karma
26
Link Karma
16
Comment Karma
10
Profile updated: 3 days ago
Posts updated: 3 months ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 3 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/javahelp/co...