Solved

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

Posted on 2004-09-09
2
264 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is an explanation of a simple data model to help parse a JSON feed
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

861 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