failed to load attribute shows the main class of a java file
Unable to open this file KJV.jar response from my computer was as stated above
Try the steps from the link give below
http://www.ehow.com/how_5021615_execute-jar-file.html
Tags: Windows
Similar Questions
-
original title: I need to know what means this message and I can remove it from my computer
doess someone knows what this message means? Could not load the manifest attribute of the main class of C; \program files\frostwire\commons-logging, pot every time I look at this subject in my file, it appears, I'm not good at all with computers but I know im short-term memory or space on this computer and I tried to go into my programs and delete, can you please help me understand what I can and can not delete to give me more space? Thanks, im running Windows Vista! If you would like more information, I'm sorry, just ask me? Thanks again, I hope someone can help me! :(
This discussion forum on Microsoft Security Essentials antimalware. You can get help in the Microsoft Vista answers forums - http://answers.microsoft.com/en-us/windows/forum/windows_vista
Jim
-
error message "cannot load the main class.
I ran windows update yesterday and installed the recommended updates, restarted my laptop today the error message "Unable to load the main class" appears in a box and I couldn't do anything until I had closed this box, after the loading of firefox it displays a message not responding, then a bar indicating that plugin adobe did not start successfully so I clicked to reload page Then, I rebooted my laptop to see if this solves the problem, but the same error message appeared and firefox have responded in the same way, someone has an idea how I can fix this problem? I run anti-virus software and malware from comodo and my OS is windows vista 32. I also downloaded an update for adobe flash yesterday but the problem has not produced until after I had done the updates of windows. Thank you
Hello Fiona,
Thank you for your response.
You are facing this problem might because of Java program on your computer.
I suggest you perform the clean boot and check the status of the issue, which will help you identify the problem.
Keep the computer in a clean boot and check the status of the issue. If everything works well after a clean boot, you can deduce that some third-party services are at the origin of the problem. Continue with the remaining steps to pin-point on the third party service. After find you the program that is causing the problem, you will have to perhaps to update or install a newer version of the program, if you rarely use that you should consider uninstalling the software.
How to perform a clean boot for a problem in Windows Vista, Windows 7 or Windows 8.
http://support.Microsoft.com/kb/929135
Note: please go through the section:How to reset the computer to start as usual after a clean boot troubleshooting section of Kb to start the computer to a normal startup after you fix the problem.
Hope his helps.
-
30.0 Firefox is so slow since updated. IE & Chrome not having problems loading pages, showing the blank pages, need two or more tests to open Web pages. It seems to have something to do with the Visual data on the pages. My MSN homepage gets old and dies every time I open the page after the re-opening and closing of firefox. It takes forever! What is a memory drain? Each open page in a new session of firefox suffer the same fate.
Start Firefox in Safe Mode {web link}
While you are in safe mode;
Press < Alt > or < F10 > to display the toolbar.
Followed;Windows; Tools > Options
Linux; Edit > Preferences
Mac; name of the application > PreferencesThen Advanced > General.
Find and stop using hardware acceleration.Dig safe web sites and see if there is still a problem. Then restart.
-
How to show the main screen (home screen of blackberry)
Hi guys,.
I need to know how to show the main screen (home screen of the blackberry), even if it's in any screen (like saying "Calculator" etc)...
This must be done by programming... is there a solution for this?
Thanks in advance,
I also had. This is to disconnect incoming call and display the main screen (home screen of the blackberry).
EventInjector.invokeEvent (new EventInjector.KeyCodeEvent (EventInjector.KeyCodeEvent.KEY_DOWN, (char) Keypad.KEY_END, 0, 100));
EventInjector.invokeEvent (new EventInjector.KeyCodeEvent (EventInjector.KeyCodeEvent.KEY_UP, (char) Keypad.KEY_END, 0, 100)); -
"Could not find the main class" Java error on Windows 7, but not Windows XP
Hi all
It's the first app I try to package and virtualize with ThinApp.
It is an old business application that usually runs on Windows XP SP3 x 86.
The. MSI that I generated with Thinapp works very well when it is installed on a Windows XP SP3 x 86.
However, our main goal to use Thinapp is to install on a Windows 7 SP1 x 64.
But in doing so, the application triggers a Java Virtual Machine Launcher error message saying: "could not find the main class. Program will exit. »
I thought that it was because the app includes a 1.4.2 JVM and that my XP has not any JVM pre-installed, but the main image on my W7 has a 1.7 JVM. But even after I uninstalled the 1.7 and installed JVM 1.4.2 on the W7 machine, I kept getting the error message so I guess that it is not bound.
Y at - it an option that I missed during my MSI generation so that it can run on a Windows 7 x 64?
Thank you all for your help.
D.
With the help of Lachi, we found that the app natively works on W7, no need for ThinApp it if the goal is just to make it work on W7, from a XP world.
The only change we had to make (and the error was the same ThinApp-ed, which is what I originally shared) is that the application should work with Windows 7 in "classic" mode "of the screen (without Aero and the menu start XP-style). This is because the application runs an old integrated version of Java (1.4) and it makes the system calls seeking specific .dll to display, which are not accessible by default if Aero is enabled.
Closed topic
-
Hello Experts,
I deployed Hyperion EPM 11.1.2.3 on VMware Workstation 10 with Windows Server 2008 R2 with Embedded HTTP of WebLogic Server. Deployment and configuration completed successfully.
I have the latest Java 7 is installed.
I can connect in the workspace, but at the launch of Regional service to http://localhost:9000/easonsole/console.htmlconsole I get the following error:
java.lang.SecurityException: missing required permissions manifest attribute in the main container: http://localhost:9000/easconsole/eas_client.jar
at com.sun.deploy.security.DeployManifestChecker.verifyMainJar (unknown Source)
at com.sun.deploy.security.DeployManifestChecker.verifyMainJar (unknown Source)
at com.sun.javaws.Launcher.doLaunchApp (unknown Source)
at com.sun.javaws.Launcher.run (unknown Source)
at java.lang.Thread.run (unknown Source)
I'll very grateful for advice on how to fix this error.
If you go to patch, then it is probably worth going to the de.500 output, otherwise you should be able to use java 1.6
See you soon
John
-
Hi all
I am facing problem when I try to create the JAR file.
After creating the Jar file I tried to run but error message
Main class not found.
I follow these steps
(1) my WordNetOK.javaimport java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; import edu.smu.tspell.wordnet.*; public class WordNetOK{ public static void main(String args[]) throws FileNotFoundException { System.setProperty("wordnet.database.dir", "C:\\Program Files (x86)\\WordNet\\2.1\\dict\\"); WordNetDatabase database = WordNetDatabase.getFileInstance(); String result = ""; NounSynset nounSynset; NounSynset[] hyponyms; //creating File instance to reference text file in Java File text = new File("C:/javacode/WordNetin.txt"); //Creating Scanner instnace to read File in Java Scanner scnr = new Scanner(text); //Reading each line of file using Scanner class int lineNumber = 1; while(scnr.hasNextLine()){ String line = scnr.nextLine(); Synset[] synsets = database.getSynsets(line); for (int i = 0; i < synsets.length; i++) { String[] wordForms = synsets.getWordForms();
for (int j = 0; j < wordForms.length; j++) {
System.out.println(wordForms[j]);
}
}
//System.out.println("line " + lineNumber + " :" + line);
lineNumber++;
}
}
}
Main-Class: WordNetOK2) Javac WordNetOK.java it create a class file 3) i create Manifeast.txt
C:\Javacode > jar cvfm WordNetOK.jar Manifest.txt WordNetOK.class4) i run this
Adding manifests
adding: WordNetOK.class(in = 743) (out = 435)(deflated 41%)
C:\Javacode > java-jar WordNetOK.jar5) i tried to execute it as * java -jar WordNetOK.jar * But error appear could not find main class
Exception in thread "main" java.lang.NoClassDefFoundError: WordNetOK
Caused by: java.lang.ClassNotFoundException: WordNetOK
in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
The main class is not found: WordNetOK. Program ends.
C:\Javacode >
set PATH = C:\Program Files\Java\jdk1.6.0_32\bin;Note : i execute the classpath at beginning
set the classpath = C:\Program Files\Java\jdk1.6.0_32\bin;\javacode.
Edited by: Ayham on Apr 6, 2013 7:39 AM Edited by: Ayham on Apr 6, 2013 7:41 AM Edited by: Ayham on Apr 6, 2013 7:45 AM
Why are you creating your own manifest file? Let just for you Java.
It works for me using 1.6
C:\Javacode>jar cfe WordNetOK.jar WordNetOK WordNetOK.class C:\Javacode>java -jar WordNetOK.jar Hello World.
Generally, you should leave a tool (e.g., Netbeans, Ant) create the manifest because they know how to do it properly.
-
Pass a variable to the main class to a MovieClip
Hello!
I have a document with the main class.
I have also a few clips that have their own class and functions.
I'm trying to pass a variable in my main class to one of these clips.
I tried a few things, nothing has worked.
Who can help?
Match_Easy looks like a class name. You must use the name of the instance.
-
Preview an image before loading it using the FileReference class in flex 3
Preview an image before loading it using the FileReference class in flex 3?
Hello
The following code uses the filereference class to load the local images, it feeds each image into an arraycollection of bytearray collection. Its a filereference differenct aspects to load and display images.
http://gumbo.flashhub.NET/pagedrop/ source included
David.
-
The main class is not found: HelloWorldSwing
First lines of the file "HelloWorldSwing.java".
I've successfully compiled the file.package start; import javax.swing.*; public class HelloWorldSwing {
When I type the following command
I get the following error Message:C:\>java HelloWorldSwing
I'm sure that the absolute path of the file is:Could not find the main class: HelloWorldSwing. Program will exit.
C:\start\HelloWorldSwing.Java
and I issued the command of
C:\Your class is in a package. Its fully qualified name is start. HelloWorldSwing
DB
-
Access the main object of a SWF file in memory
Hey.
I'm trying to access the main object of a SWF file in memory. Consider the following code:
package test {}
import flash.display.Sprite;
import flash.utils.ByteArray;
SerializableAttribute public class Main extends Sprite {}
public void Main (): void {}
var b:ByteArray = new ByteArray();
b.writeObject (this); This main object is what I'm trying to access
}
}
}
However, when I do a trace (b.length), the value I get does not match the length of the actual SWF file, then perhaps that there is another way.
I am trying to achieve the same type of content that you would get if you load an external SWF using loadBytes, unless I want to access the principal object of SWF (running in memory) in this way.
I have this even possible?
Thank you.Hey.
Well, I never knew a solution to it (if it is still possible to what I asked). However, I believe that I've implemented a workaround solution that should be enough for my needs. Perhaps it may help someone else too:
Although I can not (seem to) get the SWF running access itself to memory, I can load another copy of itself. When I tested the copy loaded (in memory) and compared with the content of the file on the disk, using a hex editor, content match!
This allows me to do things like control totals and which do not. An implementation is to use this technique to guard against the 'cache-hacking' of sovereign wealth funds.
-
The main class and the class structure of game
Hello.
I m doing a game and now I wonder if it s handy to have a class named hand for my game.
I thought I'd have a Preloader, Console and play classes.
Now I Don t know.
Maybe better to have a main class that loads including a preloader that loads the Console that it s loads of game.
That s the best way to make an application of game? I m talking best practices.
And why if so there must be a main class that extends Sprite?
Thank you
What is in a name? It calls for what you want.
for the best practices in the design of the class, google: models of object-oriented design. It is a mature topic with lots of available information.
and your document class must extend sprite or movieclip classes because your fla document has a timeline (with one or more images).
-
Original title: could not open the Java Control Panel
I just downloaded a new update of Java 6 and it doesn't work. I use Java to view charts & graphs of changes in the stock market & it works with applications that I used before, but not for that I started to use after the new update has been installed.
I tried to fix it by clicking on the Java Control Panel & I get this message:
Class main com.sun.deploy.ControlPanel is not found
How can I fix?
Hi Chris240560,
Try to Uninstall and reinstall java and check the result.
For further assistance, we recommend you to make contact with The team of Support of Java for better assistance.
Visit our Microsoft answers feedback Forum and let us know what you think.
-
Photosmart D7560 do not print envelopes->; load paper into the main tray
My photosmart D7560 h will not print envelopes, after having moved the envelope position for printing, the message "loading the paper in the main tray is displayed. It prints correctly the data of envelope on a sheet of paper 8.5 x 11. The Setup is for a #10 envelope. Envelopes are self-sealing. I tried to crease the edge better but that did not help. I tried a non-self seal (who had a top letterhead so I couldn't use it for this shipment) and he worked. Is it possible to do self seal envelopes work in this printer?
You have the flap folded inside the envelope, so that it does not stick?
Maybe you are looking for
-
So I bought this Blu - Ray player on a year and a half, never set up anything other than simply to watch movies. We bought it because it was able to Netflix. means that it could be put in place to stream netflix movies. I'm confused, because to do th
-
HP Pavilion: critical alert pilot
got an email last night on a critical alert driver for hp pavilion 20-b1oo all in one desktop pc series, hp pavilion 20-b000 everything in a series and hp paviliom 23-b000 desktop pc all in series to a desktop pc, but I have a bo13w 20 hp pavilion al
-
Sweetiep here; today is Wednesday, 11/4/12 and today 2 times my computer flashed on a blue/white background of words, I took the words "shutting down for a major data dump" and then she flashed to enter a backgr/white black "start normal microsoft",
-
WLM not to receive emails from hotmail
New computer with windows 7 and cannot receive email in WLM
-
no remote desktop giving the possibility to add users and settings
OK ive tried to use the remote with about 6 computers desktop and I followed all the steps in the help and support and I watched videos on youtube but there were some settings on the videos and help and suport that I did not have my guess is that the