Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Java - error Could not find the main class ...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Satay
n00b
n00b


Joined: 26 Jul 2012
Posts: 2

PostPosted: Thu Jul 26, 2012 12:54 pm    Post subject: Java - error Could not find the main class ... Reply with quote

I try to use AXIS c++ library (http://ws.apache.org/axis/cpp/clientuser-guide.html)
I intalled virtual/jdk java. When I tried to execute
Code:
java wsdl2ws.jar
in the directory with wsdl2ws.jar file, I've been returned error:

    Could not find the main class: wsdl2ws.jar. Program will exit.

What is the broblem? Thanks
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Fri Jul 27, 2012 9:52 am    Post subject: Reply with quote

Use java JavaApp or java -jar JavaApp.jar.
http://ws.apache.org/axis/cpp/arch/WSDL2Ws.html#synopsis
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum