• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jcreator

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i can compile my program using jcreator without error but when i click "execute project or F5", it ahs error of " The system couldn't find asuitable main method or html file in active project ".
pls. help for the proper settings to view the applet or output justlike in appletviewer.
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
do the following things:
1) make sure you have a main method declared as public static void main(String[] args) {...}
2) the class containing the main method has the same name as the file
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
appletviewer takes the argument of an HTML file which loads the applet. If you're trying to view an applet, and loading the class, it won't do anything.
Make sure that you have an appropriate HTML file that loads the applet's base class.
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When you initially create your JCreator project, are you sure to select the Applet configuration? If you are, then, if working correctly, JCreator creates an html file that is used by Appletviewer when you press F5.
 
reply
    Bookmark Topic Watch Topic
  • New Topic