• 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

jar size & upload...

 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have packaged the entire application as required, but the size of the myapp.jar is about 1200 KB...! what happen if the upload fails??
Thanks
 
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"If at first you don't succeed, try, try, again..."
It may be a good idea to put your upload file size into the name of your upload file; e.g., AndreaGazzarini(1209586Bytes).jar
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So the naming of the submission jar-file is free ? I've seen somewhere that the name have to be scjda-xxxxxxxxx.jar where xxxxxxxxx is your identity at certmanager.
Cheers
Torgny
 
Thomas Fly
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may be right about that Torgny- it wasn't in my requirements, and I'm giving my code one more read thru before I upload.
If you can't edit the upload .jar filename- e.g., scjda-xxxxxxxxxAndreaGazzarini(1209586Bytes).jar or scjda-xxxxxxxxx(1209586Bytes).jar- then you might want to embed a 0 bytes file "FileSizeShouldBe1209586" in your .jar, and perhaps also include the file size in your README.
Normally it should be evident if the file didn't upload correctly, but the above safeguards may save some headaches if indeed the .jar doesn't.
 
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Andrea,
when I tried to upload my assignment for the first time, I kept getting an error message such as "you are not entitled to submit this kind of I don't know what". I complained and two days later I was able to submit the jar file.
READ THE INSTRUCTIONS CAREFULLY!!! Because they tell you how to name your jar file before submitting it.
Good luck!!!
Mag (SCJD)
 
Andrea Gazzarini
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks everyone...I don't speak english very well...my problem was about the size of the jar, not about the name...
Thanks anyway.!
 
It's weird that we cook bacon and bake cookies. Eat this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic