Configuration:
MyEclipse Enterprise Workbench
Version: 6.5.1 GA
I am creating a web application using
jsp's. I have the import statement in a page directive as follows:
<%@page import = java.swing.JFileChooser %>
The error message is: The import java.swing cannot be resolved
I thought perhaps I should set a vm argument, but I am puzzled as to what type of run configuration to create. The vm argument I think I would need to use is:
-vm C:\Program Files\Java\jre1.6.0_05\bin\javaw.exe
I have worked with
Java applications before; but you have to select a "main" for them, and the jsp does not have a main. I do not know where to specify a jdk so that the import statement would compile.
I hope I have given enough information. I have been using Google and this site; but I'm just not finding the information.
Thank you so much.
[ August 14, 2008: Message edited by: Mary Taylor ]