On 09/22/2017 10:32 AM, sushil kumar wrote:
Hello Vassilis,
I think you are not able to understand the problem.
I will try :-)
Problem is after modification i have only java file on machine ( do not have
compiled file (class file)) . it is possible to some how modified java file
can be compiled using some tools (eg. ant ).
In order to produce a class file from a java file you need the javac that comes
with the JDK. If you have multiple java files generally you need to setup a
build system such as ant, maven, gradle
If you don't have JDK on the target machine then there is no point to have java
files there. I would propose to setup first your build system of your project
in a development machine. The output of the build system should be a war file.
Then you can upload (deploy) this war file to the tomcat of the production
machine.
Hope that helps