• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:

help needed-j2ee installation

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi ranchers

i have installed j2ee 1.4 on my system succesfully and my default folder is c:\Sun\AppServer,i am trying to set the class path in system variables,but when i click on j2ee.jar file under c:\Sun\AppServer\lib it says

"failed to load main-class manifest attribute from c:\sun....."

what is the error message is all about?

does there any problem in installation?
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No dear, there is no error in your installation. Actually two types of jar files are there.
First type is which have a main method in any class(executable jar files). And doubleclicking on this it will run. If the jar file is archive of a swing project you can see the window, but if it is of a simple java project, you can't see anything and it will run in background.

2 nd type is simple archive, without any main method in any class. this type is not executable. It is only collections of some packeges. here j2ee.jar is second type jar files, which is a collections of som packages you need to compile and run your j2ee projects. So this files can't be execute as a executable jarfile.

No need to run the file, you just copy the file path and past it into class path variable values. That's all.
 
Jenny raj
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi abhi,

thanks a lot for ur reply,
u have cleared my doubt
 
Dinner will be steamed monkey heads with a side of tiny ads.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic