View Single Post
Old 03-24-2008, 04:52 AM   #1 (permalink)
pa4o85
Thumbs Must Hurt
 
Join Date: May 2007
Location: Bulgaria
Model: none
PIN: N/A
Carrier: Mtel
Posts: 150
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Starts an application - problem !

Please Login to Remove!

I have an application! The source files are in packages like "com.mycompany....". The main application .java file is in out of that package tree, it is in the src directory. The application is starting and everything is ok. I decided to move the main .java file in the package "com.mycompany" and build the project again. The application is not starting firstly, and throws an exception, i don't know what exactly, because i catches the Exception objects. When i starts the application again, it starts all right. That is the same every time i build the application when the main .java file is not in the src folder. Do you know what is the problem? Does the blackberry devices/simulators (where i tested this strange behaviour) want the main .java file not to be in a package? Or there is a place in the .alx or .jad file to set the path to the main .java file ? Thanks !
Offline   Reply With Quote