Hello johnmcparlald! I need help on jar.

hello ,
I am creating one project using netbeans.
I need to create a jar file to run it in linux.
when i create jar file and run it, it show "Failed to load Main-Class manifest attribute from D:/evb.jar.
Actually, i store the main class file in d:/ram/build/classes/proj1 folder.
ie., i put the main class in proj1 ,the main class is mainProj.class.
I create Manifest file in D:/ as Manifest.txt and inside the file I give " Main-Class: proj1.mainProj
and enter.
when I run the jar file (evb.jar), it show that error.
What's my problem.

In netbeans right click the project and go to "Properties" select the run,
In the Main class field click the browse button to select the main class u want to execute.
Then build the project with the class files required for that project. Put the class files required for ur poject in the build/classes directory.

Similar Messages

  • Hello, i really need help. I had just updated my iphone 3gs to 6.0.1, and after I updated, it won't activate.

    Hello, i really need help. I had just updated my iphone 3gs to i.o.s. 6.0.1, and after I updated, it won't activate.I tried it in itunes and it always says " We cannot activate your iphone at this time..." and when I activate using Wi-Fi, it says, "Your iPhone cannot be activated because the activation server is temporarily unavailable." I could swear that my Wi-Fi is fine, and my Itunes is on the latest version.  Is this a bad thing or does this normally occurs? Can I still fix this ? I'm so desperate to use my iphone cause I use it everyday for personal purposes. I sure would appreciate any tip or help . PLSSSS ! Thank you for that wonderful being that can help.

    Do not take it to a third party repair shop - downgrading causes problems and voids your warranty.
    I had to unlock it so that i could really use it as a phone.
    And that is the root of the problem. Unless you had your carrier unlock it, it was hacked and cannot be legitimately activated. Even if you don't care about warranty or problems, downgrading simply will not help an activation issue.

  • Hello.  I need help.  I use Photoshop Elements 10 on my MAC but it no longer reads discs.  Can I download it from the internet with my original package serial number?

    Hello.  I need help.  I use Photoshop Elements 10 on my MAC but it no longer reads discs.  Can I download it from the internet with my original package serial number?  thanks

    Yes, from here:
    Download Photoshop Elements products | 13, 12, 11, 10

  • Hello. I need help! I can't install adobe flash on my macbook pro...

    Hello. I need help! I can't install adobe flash on my macbook pro.. What do I do?

    Find the Mac OS forum for your version / then find the notebook forums.
    Same question was asked a couple days ago. Think you can find it with Google search?
    Lion Communities
    MacBook Pro Apple Support

  • HT204387 Hello I really need help. I have to blue tooth devices I can play music from.  IHOME and a tango trx. I accidentally hit forget this device now I can't get tango back.

    Hello I really need help. I have to blue tooth devices I can play music from.  IHOME and a tango trx. I accidentally hit forget this device now I can't get tango back.
    <Email Edited by Host>

    Re-pair the devices and you should be good.

  • Hello!i need help

    hello!
    i need help with my i pad 3
    i cant type anything anymore .only it shows a picture with a cable and the i tunes sign
    now at i tunes says that i have to clean the i pad up...that means i will loose all my pictures there???i have about 1500 pictures
    but not in the i cloud ,only on the i pad
    are the pictures really gone???please help me,i am very sad because mostly pics of my daughter through the years
    greatings from germany
    melli

    Your iPad needs to be restored by connecting it to iTunes on your computer. If you have a backup on your computer or in iCloud you can restore that backup to your iPad. If you have no backup your data is already lost. Follow the on screen directions, start iTunes 11.1 or later on your computer and connect your iPad. You should be guided through the restoration process.

  • Hello everyone I need help! Why i cant Update to Mountain Lion if Im gonna try to update my Macbook Pro with Mac OS X 2.3 GHz Intel Core i5. It always says "Your Software is up to date" which is only Mac Os X ver. 10.7.5

    Hello everyone I need help! Why i cant Update to Mountain Lion if Im gonna try to update my Macbook Pro with Mac OS X 2.3 GHz Intel Core i5. It always says "Your Software is up to date" which is only Mac Os X ver. 10.7.5

    Not sure what exactly you did (or not), but it looks as if you should attempt doing it all again, only this time all right and by the book. Many millions have done so, and sure it'll work for you as well.
    If you've indeed purchased ML already, you'll find it exactly there in the App Store: under Purchases.

  • Hello There, I need help

    Hello There,
    I need to put a PDF File like a licence or contrato within my web page
    How can I do it ?
    Is there a way that can be as this https://www.uam.es/personal_pdi/economicas/ainhoahe/pdf/bp_economia.pdf ?
    Thank you so much,
    Kind Regards

    Hola,
    Mac y Win,
    WordPress, FileZila Server,
    Pagina Sencilla, www.allbeauty.es
    Gracias

  • Need help about jar....

    hello everybody
    i have created a database application using mysql and java application run very fine with out jar but after making jar file application can not connect to database and thorws nullpointer exception here is it
    plz help me what i have to or any thing to do in manifest file......or any setting class path....

    You should always copy and paste the full, exact error message when asking for help.
    The error message tells you which line of code is throwing the null pointer. Investigate that line - the line contains some reference variable whose value is null. Then you need to figure out why it is null and fix it.

  • Need help about jar file again!!

    I want to make some of my package used as library. And also put my application into executable jar file. I edited following codes:
    uner path: D:\dd\b\b1
    package b.b1;
    public class Son
         int x = 10;
         public Son(){
         public int getX(){
              return x;
    under path D:\b\b2
    package b.b2;
    import b.b1.Son;
    public class Father
         public Father(){
         public static void main(String[] args)
              Son son = new Son();
              System.out.println("Hello World!"+son.getX());
    Then I used jar tool make two jar files and also make one of then has specified main class Manifest.mf.
    Here is my steps:
    D:\bb>edit kk.txt
    D:\bb>jar cmf kk.txt father.jar .\b\b2
    D:\bb>jar cf son.jar .\b\b1
    D:\bb>java -jar -classpath .;son.jar father.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: b/b1/Son
    at b.b2.Father.main(Father.java:13)
    I really do not know what's going on?
    Interesting thing is I can get this result:
    D:\bb>java -classpath .;son.jar b.b2.Father
    Hello World!10
    And if the father.jar does not depend on son.jar,
    it is also works.
    Thanks in advance.

    I believe when you run with the -jar option, the classpath setting is ignore and you have to specify classpath in the manifest file.
    From JDK Doc:
    Class-Path :
    The value of this attribute specifies the relative URLs of the extensions or libraries that this application or extension needs. URLs are separated by one or more spaces. The application or extension class loader uses the value of this attribute to construct its internal search path.
    Sounds like you can specify a different path than the current directory, but you have to know beforehand what that path is.

  • Need help with jar files

    I have made an application that uses the javax.comm library for serial port drivers. It works perfectely but when I put all the .class in a .jar and start the application it starts properly with no errors but it doesn't see the com's of the computer.
    I would apreciate if you could help me out
    greetings
    paul

    You have to modify the source code of the javax.comm class files you are using.. the line contains "package javax.comm;" should be deleted. And then compile those modified files and put the compiled files to your jar file. Or you can create a folder "javax" and subfolder "comm" in that folder and put those original .class files into "javax/comm". After that, put that "javax" folder into your jar file.

  • Need help with jar in jar

    Hi folks, I've got a serious(for me!) problem. I have a programm which contains several other jar files in a directory. If I run the program with Eclipse it works quiet well but if I create a Jar file from the whole program I always get the error message: No class def found error. It's the classes used from the included jar files that could not be found. So what should I do? In the jar file are all used class and jar files. Everything is there in the right order. But it doesn't work.
    I hope you can help me with that. One idea was that these other jar files have to be added to the manifest.mf ?! I've got no idea.

    For me it workes like this:
    manifest.mf:
    Manifest-Version: 1.0
    Main-Class: gui.testgui
    Class-Path: lib/castor.jar lib/xercesImpl.jar lib/xml-apis.jar
    I make my jar:
    jar cvfm myjar.jar manifest.mf .
    The dot stands for the directory where I am. All files and directories of this directory are jared.
    The information in my manifest-file are used to generate a manifest for the jar.

  • Hello everbody - i need help please with forms

    hi
    i am new in forms
    and i have a project to do
    i learn a lot and read oracle books about forms but in the many time it didnot help alot when i try to build and write scripts or procedure or triggers.
    i would like to ask a little help
    if anyone can help me with links or a web site that i can download form FMB file so i could run them and learn from its scripts_ and
    how to build form in the best way
    some of my problem are:
    - how to call a reports from a form with a button
    - how to work with date, hoe to calc the hours between two dates
    - i have built a query and i need to find the number of the rows (and the summary with count didnot work coz all the items aren't numbers
    thanks alot
    hope to get some information

    Did you take a look at this?
    regards

  • Need Help With Jar Packages

    Can somebody please help me find the jar files for the following packages?  I'm new to both Crystal Reports as well as Java so please forgive me if I'm asking for the obvious   
    com.crystaldecisions.report.web.viewer.*
    com.crystaldecisions.sdk.occa.report.application.*
    com.crystaldecisions.report.reportengineinterface.*
    Thanks,
    V

    Thanks, that did the trick!
    Edited by: vinnyd on Jun 10, 2010 7:21 PM

  • Hello! i need help please!

    im creating Flash website, and i have Slideshows, many slideshows, i have XMl code which is loading images from external folder,  those slideshows must be on frame by frame , or frame 1 , second slideshow on frame 3 , and also those slideshows must appear when i will click on image which is on the same frame where is the code of xml (slideshow) sorry my english is awful , so anyway here is the xml code
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    import fl.transitions.TweenEvent;
    var my_speed:Number;
    var my_total:Number;
    var my_images:XMLList;
    var my_loaders_array:Array=[];
    var my_labels_array:Array=[];
    var my_success_counter:Number=0;
    var my_playback_counter:Number=0;
    var my_slideshow:Sprite = new Sprite();
    var my_image_slides:Sprite = new Sprite();
    var my_label_slides:Sprite = new Sprite();
    var my_preloader:TextField;
    var my_timer:Timer;
    var my_prev_tween:Tween;
    var my_tweens_array:Array=[];
    var my_xml_loader:URLLoader = new URLLoader();
    my_xml_loader.load(new URLRequest("slideshow.xml"));
    my_xml_loader.addEventListener(Event.COMPLETE, processXML);
    function processXML(e:Event):void {
        var my_xml:XML=new XML(e.target.data);
        my_speed=my_xml.@SPEED;
        my_images=my_xml.IMAGE;
        my_total=my_images.length();
        loadImages();
        my_xml_loader.removeEventListener(Event.COMPLETE, processXML);
        my_xml_loader=null;
    function loadImages():void {
        for (var i:Number = 0; i < my_total; i++) {
            var my_url:String=my_images[i].@URL;
            var my_loader:Loader = new Loader();
            my_loader.load(new URLRequest(my_url));
            my_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
            my_loaders_array.push(my_loader);
            var my_label:TextField = new TextField();
            my_label.text=my_images[i].@TITLE;
            my_label.autoSize=TextFieldAutoSize.LEFT;
            my_labels_array.push(my_label);
        my_preloader = new TextField();
        my_preloader.text="Loading";
        my_preloader.autoSize=TextFieldAutoSize.CENTER;
        my_preloader.x = (stage.stageWidth - my_preloader.width)/2;
        my_preloader.y = (stage.stageHeight - my_preloader.height)/2;
        addChild(my_preloader);
    function onComplete(e:Event):void {
        my_success_counter++;
        if (my_success_counter==my_total) {
            startShow();
        var my_loaderInfo:LoaderInfo=LoaderInfo(e.target);
        my_loaderInfo.removeEventListener(Event.COMPLETE, onComplete);
    function startShow():void {
        removeChild(my_preloader);
        my_preloader=null;
        addChild(my_slideshow);
        my_slideshow.addChild(my_image_slides);
        my_slideshow.addChild(my_label_slides);
        nextImage();
        my_timer=new Timer(my_speed*3000);
        my_timer.addEventListener(TimerEvent.TIMER, timerListener);
        my_timer.start();
    function nextImage():void {
        var my_image:Loader=Loader(my_loaders_array[my_playback_counter]);
        my_image_slides.addChild(my_image);
        my_image.x = -150.0;
        my_image.y = -300.0;
        my_tweens_array[0]=new Tween(my_image,"alpha",Strong.easeOut,0,1,1,true);
        var my_label:TextField=TextField(my_labels_array[my_playback_counter]);
        my_label_slides.addChild(my_label);
        my_label.x=my_image.x;
        my_label.y=my_image.y+my_image.height;
        my_tweens_array[1]=new Tween(my_label,"alpha",Strong.easeOut,0,1,1,true);
    function timerListener(e:TimerEvent):void {
        hidePrev();
        my_playback_counter++;
        if (my_playback_counter==my_total) {
            my_playback_counter=0;
        nextImage();
    function hidePrev():void {
        var my_image:Loader=Loader(my_image_slides.getChildAt(0));
        my_prev_tween=new Tween(my_image,"alpha",Strong.easeOut,1,0,1,true);
        my_prev_tween.addEventListener(TweenEvent.MOTION_FINISH, onFadeOut);
        var my_label:TextField=TextField(my_label_slides.getChildAt(0));
        my_tweens_array[2]=new Tween(my_label,"alpha",Strong.easeOut,1,0,1,true);
    function onFadeOut(e:TweenEvent):void {
        my_image_slides.removeChildAt(0);
        my_label_slides.removeChildAt(0);
    END.
    var my_xml_loader:URLLoader = new URLLoader();
    my_xml_loader.load(new URLRequest("slideshow.xml"));
    my_xml_loader.addEventListener(Event.COMPLETE, processXML);
    right here is xml file, Slideshow.xml , when im click on image which must open slideshow , its working , but i already tried to dulpicate those codes (full code) on second frame, im wondering can i add with this Slideshow.xml another one to dont duplicate such a big code again, and when i will click image to slideshow2 will apear, and when i will click image 1 slideshow1 will apear,
    sorry for awful explain,
    SOMEBODY PLEASE HELP!

    Look. Frame 4 code
    for(var i:int=0;i<my_labels_array.length;i++){
    if(my_labels_array[i].stage){
    removeChild(my_labels_array[i]);
    my_labels_array[i]=null
    if(my_loaders_array[i].stage){
    removeChild(my_loaders_array[i]);
    my_loaders_array[i]=null;
    my_xml_loader.load(new URLRequest("dude.xml"));
    ///Frame 1 Code///
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    import fl.transitions.TweenEvent;
    var my_speed:Number;
    var my_total:Number;
    var my_images:XMLList;
    var my_loaders_array:Array;
    var my_labels_array:Array;
    var my_success_counter:Number=0;
    var my_playback_counter:Number=0;
    var my_slideshow:Sprite = new Sprite();
    var my_image_slides:Sprite = new Sprite();
    var my_label_slides:Sprite = new Sprite();
    var my_preloader:TextField;
    var my_timer:Timer;
    var my_prev_tween:Tween;
    var my_tweens_array:Array=[];
    var my_xml_loader:URLLoader = new URLLoader();
    my_xml_loader.load(new URLRequest("slideshow.xml"));
    my_xml_loader.addEventListener(Event.COMPLETE, processXML);
    function processXML(e:Event):void {
        var my_xml:XML=new XML(e.target.data);
        my_speed=my_xml.@SPEED;
        my_images=my_xml.IMAGE;
        my_total=my_images.length();
        loadImages();
       my_xml_loader.removeEventListener(Event.COMPLETE, processXML);
       my_xml_loader=null;
    function loadImages():void {
    my_loaders_array=[];
    my_labels_array=[];
        for (var i:Number = 0; i < my_total; i++) {
            var my_url:String=my_images[i].@URL;
            var my_loader:Loader = new Loader();
            my_loader.load(new URLRequest(my_url));
            my_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
            my_loaders_array.push(my_loader);
            var my_label:TextField = new TextField();
            my_label.text=my_images[i].@TITLE;
            my_label.autoSize=TextFieldAutoSize.LEFT;
            my_labels_array.push(my_label);
        my_preloader = new TextField();
        my_preloader.text="Loading";
        my_preloader.autoSize=TextFieldAutoSize.CENTER;
        my_preloader.x = (stage.stageWidth - my_preloader.width)/2;
        my_preloader.y = (stage.stageHeight - my_preloader.height)/2;
        addChild(my_preloader);
    function onComplete(e:Event):void {
        my_success_counter++;
        if (my_success_counter==my_total) {
            startShow();
        var my_loaderInfo:LoaderInfo=LoaderInfo(e.target);
        my_loaderInfo.removeEventListener(Event.COMPLETE, onComplete);
    function startShow():void {
        removeChild(my_preloader);
        my_preloader=null;
        addChild(my_slideshow);
        my_slideshow.addChild(my_image_slides);
        my_slideshow.addChild(my_label_slides);
        nextImage();
        my_timer=new Timer(my_speed*3000);
        my_timer.addEventListener(TimerEvent.TIMER, timerListener);
        my_timer.start();
    function nextImage():void {
        var my_image:Loader=Loader(my_loaders_array[my_playback_counter]);
        my_image_slides.addChild(my_image);
        my_image.x = -150.0;
        my_image.y = -300.0;
        my_tweens_array[0]=new Tween(my_image,"alpha",Strong.easeOut,0,1,1,true);
        var my_label:TextField=TextField(my_labels_array[my_playback_counter]);
        my_label_slides.addChild(my_label);
        my_label.x=my_image.x;
        my_label.y=my_image.y+my_image.height;
        my_tweens_array[1]=new Tween(my_label,"alpha",Strong.easeOut,0,1,1,true);
    function timerListener(e:TimerEvent):void {
        hidePrev();
        my_playback_counter++;
        if (my_playback_counter==my_total) {
            my_playback_counter=0;
        nextImage();
    function hidePrev():void {
        var my_image:Loader=Loader(my_image_slides.getChildAt(0));
        my_prev_tween=new Tween(my_image,"alpha",Strong.easeOut,1,0,1,true);
        my_prev_tween.addEventListener(TweenEvent.MOTION_FINISH, onFadeOut);
        var my_label:TextField=TextField(my_label_slides.getChildAt(0));
        my_tweens_array[2]=new Tween(my_label,"alpha",Strong.easeOut,1,0,1,true);
    function onFadeOut(e:TweenEvent):void {
        my_image_slides.removeChildAt(0);
        my_label_slides.removeChildAt(0);
    stop();
    slideshow.xml is loading, but Dude.xml is not loading.................
    i dont understand what is the problem, i really need to fix this , this will sound to you childish, well it is childish but if i will fix this , than my life is saved, but if i wont.... i dont want to even imagen it...

Maybe you are looking for

  • How can I get the size of a file

    I want the size by BYTE.

  • Only last pm_order operation in 0PM_DS04_Q0021 query?

    Hi Experts, When I execute query 0PM_DS04_Q0021 - Outstanding Order List,which runs over the DSO 0PM_DS04 - Maintenance Orders, Operations and Costs, I expect to have actual and planned time by order, but for all operations that occur in that PM orde

  • Openzone and non BT router

    Having noted that a Homehub3 can be swapped for a non-BT router I am wondering what effect (if any) this may have in terms of Openzone / BTFon availability on the non-BT router (i.e. is it still available to other Openzone subscribers?). If not, then

  • Log in

    Recently I downloaded Oracle deginer from this side for studying and I thought that :Scott" and"Tiger" are username and password respectively.But whenever I try to log in into OTN DAtabase, error appears ( ORA_12203:TNS:UNABLE to connect destination)

  • Regarding J1IEX

    Dear Guru's,   I have posted one excise document in j1iex,in that BED for material is going to inventorized duty(In display mode of j1iex ..last line item in duty values).Now we are unable to find out where that value is going. I have checked in tax