• 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

javabeans: java.io.exception, compilation failed

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
using the JavaBeans tutorial from SUN web-site(http://java.sun.com/docs/books/tutorial/javabeans/),

and got the error while to generate Applet: java.io.exception compilation failed, while generating data for Myapplet.

The log shows the following error:
---------------------------------------------------------------------------
WARNING: Could not Runtime.exec(String) "javac" in the standard way: java.io.IOE
xception: CreateProcess: javac -classpath tmp\myApplet\myApplet_files;D:\assgn2\
beans\jars\juggler.jar;classes;..\lib\methodtracer.jar;..\infobus.jar -nowarn tm
p\myApplet\myApplet_files\MyApplet.java error=2

Check that the version of "javac" that you are running
is the one supplied with Sun's JDK1.x (which includes the
compiler classes) and not some other version of "java"
or JRE shipped with some other product.

---------------------------------------------------------------------------

The installed java software :j2re-1_4_1_07-windows-i586 and j2sdk-1_4_1_07-windows-i586


what step that I should do

- li

[ March 06, 2005: Message edited by: Ji Li ]
[ March 06, 2005: Message edited by: Ji Li ]
 
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Uninstall the JRE and do a fresh install of the JDK.
 
Ji Li
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I uninstall JRE, and reinstall J2SDK, the problem still exists.

any suggest - li
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic