Solved

InwebSphere, the path where a compiled version of a java program does not get the "progname.class"

Posted on 2004-09-09
2
256 Views
Last Modified: 2010-04-17
The path where a compiled version of a java program does not get the "progname.class" / the "*.class" version of three programs that do not  have any compile errors.  I looked in the Tasks btton and had no errors in the java code.
 
How can I promote the compile version of a java program to get into the appropriate path?
 
Even after I deleted a program and created a new one with the same name, the Tasks did not depict any compile errors.  Yet, the class version did not appear in the path above where the compiled version of a java program shoul belong.
 
0
Comment
Question by:coolgem
2 Comments
 
LVL 5

Accepted Solution

by:
apparition earned 500 total points
ID: 12021227
Delete your Websphere cache or restart the server.
0
 

Author Comment

by:coolgem
ID: 12069838
I noticed that if i first copy the program(with a public static void main) from Websphere to Tomcat.
Then I access TOMCAT and  remove the package statement from the program and save and compile the program in the same directory.  Then I can run the program and it works.

Is there something I would have to do in Websphere by:
Creating a new project(a client one) and some how deplying a proper jar file or whatvever? Then create a bat file that can be run from the schedula. But how or does that tie in to the jar file from the newly created client project?
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question