aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Forte(tm) for java(tm), release 2.0 IDE problem: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Forte(tm) for java(tm), release 2.0 IDE problem: "invalid package declaration" " Watch "Forte(tm) for java(tm), release 2.0 IDE problem: "invalid package declaration" " New topic
Author

Forte(tm) for java(tm), release 2.0 IDE problem: "invalid package declaration"

Manoj Keswani
Greenhorn

Joined: Feb 15, 2004
Posts: 2
Forte(tm) for java(tm), release 2.0 IDE problem: "invalid package declaration"
Hello Java expert,
Textbook
---------------
Advanced java 2 platform how to program

Problem
---------------
Forte(tm) for java(tm), release 2.0 IDE problem:
"invalid package declaration" tooltip on the animationwindow.java
Code snippet:
C:\forte4j\development\examples\chapters\ch06\fig06_34\animationwindow.java
Package com.deitel.advjhtp1.beans;

Specification information:
-------------------------------------
Forte(tm) for java(tm), release 2.0, community edition (build 1160)
System :
Microsoft windows xp
Professional
Version 2002
55274 -640-0000356 -23840
Computer :
Amd athlon (tm)=20
1.84 ghz
768 mb of ram
Directory mounted:
C:\forte4j\development\examples\chapters\ch06\fig06_34
Compiler used: external compiler. (the -d option is specified for this compiler).
I've deleted the internal compiler (cause I can just create a new one)
Output
---------------
- within the IDE, it compiles and runs properly (the class files are created at fig06_34, but I need them created in com\deitel\advjhtp1\beans)
- the command prompt it compiles and runs properly (class files are created at com\deitel\advjhtp1\beans)
- within the IDE I can type "package com" (followed by dot) and it brings up the next folder "deitel", advjhtp1, and then beans.
Solution required
--------------------------
Java files stay in folder: fig06_34, and the classes get compiled to the package declared in them (com\deitel\advjhtp1\beans).
What do I change in the IDE to make it understand the package declared is correct?
Thank you,
Manoj keswani
Manoj91@hotmail.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Forte(tm) for java(tm), release 2.0 IDE problem: "invalid package declaration"
 
Similar Threads
getting beans to see each other
Problems with packages using Forte
importing a package
Forte Debugger "Cannot connect ... /bin/java
Problem Starting Forte 3.0......