This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in opening the assignment. Help please!!!

 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
Today I just downloaded the assignment of .jar file.
In the command prompt I gave like this
java -jar java2.jar
Got the error message as "Failed to load Main-Class manifest attribute from java2.jar"
Could anyone please help me. Whether is it a problem or is there anything wrong in my command.
Thanks in advance.
Dilbert
 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
Hi Dilbert,
Probably you need to extract the contents of your jar file.
Try
jar xvf java2.jar
This should make all the files from the jar file available to you so that you can look at the html page etc.
By the way, I will be downloading my assignment tommorow night.
Since we are starting at more or less the same time, we probably could discuss our design decisions etc and get each other's view point, which I feel can only enrich our design and implementation and more importantly help us spot problems in design before they become problems . . .
All the best for your SCJD !!!
Regards,
ST.

 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks for your help. Sorry I could not reply you immediatly. The command which you gave is working correctly. My project is "Fly By Night". I guess in the same chat group some others also got the same project. Have you downloaded your project. Let me know what you have got. I am also interested in doing the project together. Just one month back I have completed the SCJP and now a days studying RMI and threads. Currently not working in Java.
How about you?
 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
Yup, I have downloaded my assignment.
My assignment is also Fly By Night.
Guess we have a lot to discuss.
Since my knowledge of Swing is quite poor, these days I am trying to learn Swing just enough to be able to solve the assignment.
Thx,
ST
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic