• 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

problem compiling in VJ++ 6

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm using the javabook package from the Wu book 'An intro to OOP with Java' to do some very basic programs manipulating a polynomial. I know the program works at uni but when I try and run it on VJ++ at home it gives me the errors:
Cannot find defintion for class 'javax.swing.JFrame'
Cannot find definition for class 'javax.swing.JDialog'
Ive setup the classpath to the package in the project properties, but do I need something else for it to run. Nothing else was necessary when compiling at uni. Heres the code for the program:

The javabook package is at http://www.mhhe.com/engcs/compsci/wu2/graphics/wu2java/common/source_code/javabook.zip

[ October 31, 2002: Message edited by: T Edge
[ October 31, 2002: Message edited by: T Edge ]
 
Ranch Hand
Posts: 1056
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I suspect the answer is going to be "Use a real Java compiler and JVM, not J++". Get one from http://java.sun.com/ .
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic