• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Problem in opening the assignment. Help please!!!

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • 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
  • Mark post as helpful
  • 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
  • Mark post as helpful
  • 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
  • Mark post as helpful
  • 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
 
Hoo hoo hoo! Looks like we got a live one! Here, wave this tiny ad at it:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic