I already set the Main-Class:class parameter but still error... Help pls...
I have an experimental project that starts with a main class called "mainConsole"
I packed it using the NetBeans IDE 3.3.2 jar packager and also set the Main-Class: mainConsole parameter
I still receive the error below when trying to execute the jar file.
java.lang.NoClassDefFoundError: mainConsole
Exception in thread "main"
Can someone help me?
Thanks in advance.
Help me pleeeease!!
Similar Messages
-
How to find the main java class file
I need to write a Java program which MUST know one of these:
1) the full path to the main java class (the class with "main" method)
or
2) access to the main class as byte array.
If i know (1) then I have no problems reading the main class into byte array, but the main target is still (2).
Another option is if the main file is in JAR, which again leads to problems, because I cannot access the file in normal way, but I still need access to the exact byte stream.
Any help is highly appreciated! Thanks!
<<< Ivan Davidov >>>You could try somthing like this in your main-method:
InputStream is = getClass().getResourceAsStream(<"myModifiedPackageName/MyClass.class">);I don't know if this works though.
Have a look at the API doc for this method.
-Puce -
Why my iPhone 5 is not ringing even I already set the tones in the settings.. Even receiving text message I can't hear any text tone.. Please help
Are you sure that the button on the side of the iPhone is not on mute
-
I am trying to open CR2 files from a Cannon EOS 1DX camera in Photoshop CS6 and I have already updated the Camera Raw Plug in but Photoshop is still giving me the cannot open files dialog box? Help?
Canon 1DX support was added to ACR in version 6.7, 7.1. An updated CS6 should be at level ACR 8.6. If your ACR is not at level 8.6 try using CS6 menu Help>Updates. If that does not install ACR 8.6 try downloading the ACR and DNG 8.6 converter and see if ACR 8.6 will install into your CS6.
Adobe - Adobe Camera Raw and DNG Converter : For Windows
Adobe - Adobe Camera Raw and DNG Converter : For Macintosh -
My bookmark icons can be fully seen in bookmark toolbar. But on the address bar and on tab most of the icons are blank and when I open most of the websites, their icons are also blank, too. I've already reinstall the firefox 3.6.3 but it is the same. Please help me. Some of the websites show thier icon normally.
== User Agent ==
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3Yes, it doesn't work. I ran in safe mode. nothing changed. I uninstalled Mozilla firefox with only standard removal, no change. I finally uninstalled Mozilla with complete removal and reinstalled it, then it return to normal. Why does this happen? Thanks for your reply.
-
Trying to connect my iPad Air 1 to my iPhone 5S set as a hotspot via WiFi method. iPad sees the iPhone as wifi hotspot, but an error appears 'Remote Hotspot Failure .. Unable to start personal hotspot'. How do I fix this issue??
iOS: Troubleshooting Personal Hotspot - Apple Support
-
Hello,having a problem with Logic 9 on a Mac Pro.Working on a lenghty song and apparently session got corrupted.Doesnt let me export tracks,program crashes.Already tried start brand new session with the tracks imported into it but still wont export.Suggestions?
Thanks, Ian. Yeah, that's how I do it now...or with the controls in the left side pane. Still, I would have liked that quick on-the-spot edit capability...especially while sketching.
Ian Turner wrote:
Sorry Mark, you are out of luck as it does not do that - it works the same as L8. The way I would achieve that with more accuracy and control would be to route all the tracks you want to fade to a Bus then use volume automation on the bus. To do this you will need to add a standard audio track, then re-assign it using (Control Click on the track header) to the Bus track. You can then automate volume/plugins etc on the Bus track.
Ian -
I have set the presence to screen only but the checkbox still prints adobe livecycle
I have set the presence to screen only but the checkbox still prints. I am using adobe LiveCycle design 9 and it is a dynamic form
This check box is part of an action, where when clicked, it copy's the data from one row and puts it in another. It is also in a row that can be added and removed.
But basically I want the check box to appear on the screen but not print (including when the form is converted to a PDF when its completed)Intel-based Macs: Resetting the System Management Controller (SMC)
Power
The computer sleeps or shuts down unexpectedly. -
how do i unfreeze my ipod when ive already tried the menu and select button and that didnt help?
How long did you press and hold both the Select (Center) and Menu buttons together? Have you tried doing this procedure more than once? Is the hold switch in the Off position?
If nothing else, let the iPod's battery fully drain. Then charge it back up again.
B-rock -
Have changed the "Index" of my website in Dreamweaver and followed the "Put" instructions to upload it back to the "Remote Server," but when I go onto the web to check it, the main (Index) page has not changed. Help!
This is a duplicate post; see How do I upload from Dreamweaver CS6?
-
The''' Outlook links do not connect to Firefox '''even after setting the customize option in Default Programs. Please help.
Message to Toad-Hall
Thank you, for that. To be sure, I tried your suggestion, and selected "System Proxy" as the choice, for Thunderbird and Firefox. Rebooted, and looked at the outcome.. NO Joy.. :-(
I believe that I shall send the output of the Error Log in my next post. Perhaps someone can point me in the right direction after looking at the Error.log.
Thank you...Toad Hall. If you think of something else to try, I am ALL ears.. I shall keep trying.. -
Hi, recently I downloaded a picture downloading app because I was trying to upload a video on instagram but now my iPhoto won't work, it says another app is running, I have already deleted the app on my phone but how do i uninstall it on my macbook?
Open Activity Monitor by searching it in spotlight.
Go to the app that you downloaded & quit it. If it won't quit then Force Quit. -
I bought the pack for students adobe creative cloud, already made the payment three days ago but when opening programs like photosop and illustrator puts the trial period has expired, how I can make them work?
Hello Ibonedm,
Sol 1. Please try sign out from Creative cloud Desktop App and quit it.
1. Launch Creative Cloud application manager.
2. Click the gear icon in the upper-right corner and select Preferences.
3. In the Preferences menu, under General, click the Account tab.
4. Click Sign Out from Creative Cloud.
Then re-sign in and launch Photoshop CC 2014 and check.
Sol 2. Check your Hosts file.
Windows
1. Choose Start > Run, type %systemroot% \system32\drivers\etc, and then press Enter.
2. Locate Hosts file and move it to Desktop
3. Right-click the hosts file and select Open. Select Notepad for the application to open the hosts file.
4. Back up the hosts file: Choose File > Save As, save the file as hosts.backup, and then click OK.
5. Search the hosts file for entries that reference activate.adobe.com (for example, 127.0.0.1 activate.adobe.com) and delete these entries.
6. Save and close the file and move it back to Etc folder.
Mac OS
1. Log in as an administrator to edit the hosts file in Mac OS.
2. In a Finder window, choose Go > Go To Folder.
3. Type /etc.
4. Select the hosts file and move it on Desktop open it.
5. Back up the hosts file: Choose File > Save As, save the file as hosts.backup, and then click OK.
6. Search the hosts file for entries that reference activate.adobe.com (for example, 127.0.0.1 activate.adobe.com) and delete these entries.
7. Move Hosts file back to etc folder
8. Save and close the file.
Then try launching Photoshop CC 2014 or Illustrator CC 2014
If prompt for License this software, please click on it and sign in with the Adobe ID and Password which you have used to purchase the subscription and check if you can activate and use the products.
Please respond , if any issue.
All the best
Loveneesh. -
i already follow the instruction that u told, but all my apps gone and i need to re-install it. how can i find that backup, and backup my phone?
Who is "u", and how could the rest of us know what "instructions" you followed or how you backed up your phone??
-
Having trouble getting Skype to work. It did when I first got the computer about a yr ago but then quit. I've trashed and reinstalled the program and set the preferences to allow Skype but nothing is working. Any suggestions?
all I can suggest is completley unistall as here
https://support.skype.com/en/faq/FA12073/how-can-i-completely-uninstall-and-then -reinstall-skype-for-mac-os-x
Then reinstall
http://www.skype.com/en/download-skype/skype-for-mac/
Maybe you are looking for
-
Excel 2007 to Sql server table. Column with more than 255 characters.
Hi there, I am facing a problem while converting data from Excel 2007 to SQL server 2005 table. I am using BIDS 2005.I have an excel file where one particular column has more than 255 characters. I use OLEDB connection for excel file as there is no d
-
Error while creating the generic datasource
Hi gurus, i am creating the generic data source by using the table KONP when i am saving the data source at RSO2 it is giving the error like Field KBETR with reference field KONWA: reference table RV13A is replaced by ZOXTRD0145. Then giving the erro
-
Bapi changing payment terms in purchase order
hi to all abap gurus I want to change the Payment terms in Purchase order using bapi_po_change . can u pls give coding for this bapi with all required int tables declarations . points will berewarded for good ansers
-
Help with still photo project in premiere 11
I'm new to Premiere 11. I did a project using only stills and music from my macbook pro. The project is about 6.5 minutes long and uses only dissolves and a couple of exposure adjustments. The orange line runs across the top of the entire project so
-
.AVI Extension Not Showing Up In Import Window
Hi everyone, this seems like a very peculiar problem. The .AVI file extension has diasppeared from my File --> Import --> drop down menu. Everything else is there, except the "All files" type thing... I will try renaming my files to another extensi