I have a class file that instantiates an object from a jar file
or simply a class file inside the jar file is used as part of the simple program....
When we use the the jar file in JSP, we simply put the complete filepath of the class files inside the manifest file(Name:) an enable the Java-Bean setting( set to true) then solved....(read y to use)
What comes to mind is, im taking the short road, without an experience of running a class file that accessing another classfile(which is inside the jar file)...( Running a unjarred stand-alone application that uses another classfile inside the jar)
i know how to compile it, javac -cp jarname.jar test.java
but, i don't know how to execute it.....
The jar file already been set-up, the index.list and the Name set to common...
Which i found on a tutorial on the net....
But, in my case, i've got nothing on the web.....
Please let me know experts what is the pattern for executing such classfile like this scenario...... or a url that directly teach me how to deal with it....
Waiting,
sukatoa.
or simply a class file inside the jar file is used as part of the simple program....
When we use the the jar file in JSP, we simply put the complete filepath of the class files inside the manifest file(Name:) an enable the Java-Bean setting( set to true) then solved....(read y to use)
What comes to mind is, im taking the short road, without an experience of running a class file that accessing another classfile(which is inside the jar file)...( Running a unjarred stand-alone application that uses another classfile inside the jar)
i know how to compile it, javac -cp jarname.jar test.java
but, i don't know how to execute it.....
The jar file already been set-up, the index.list and the Name set to common...
Which i found on a tutorial on the net....
But, in my case, i've got nothing on the web.....
Please let me know experts what is the pattern for executing such classfile like this scenario...... or a url that directly teach me how to deal with it....
Waiting,
sukatoa.
Comment