My compiled program will not execute on my PC.
I am new to Java so is there anyone out there who can help me with a problem. I have a compiled Java program, the basic Hello World beginner's file. The file will compile, but not execute. It will execute on other computers, but not mine. Can anyone help me? I would greatly appreciate it. Oh yeah, I'm using jdk1.5.0_07. Thanks.
Download JAVA Software Developement Kit (SDK previously JDK) from http://java.sun.com/javase/downloads/index.jsp
Install the executable file just downloaded.
Search for command.exe file inside C:\Windows\System32 and copy it to the 'bin' folder inside the jdk folder (say C:\Program Files\Java\jdk1.5.0_08\bin ).
Now double click open the command.exe file and ( something like this will be displayed c:\PROGRA~1\.....\BIN>) type edit autoexec.bat
Now type set path=%path%; c:\jdk..complete path (in my case set path=%path%;C:\Program Files\Java\jdk1.5.0_08\bin\autoexec.bat). For more info on setting path http://www.javacoffeebreak.com/tutorials/gettingstarted/part1b.html
Save the file and exit.
Thats it! Happy programming...
-Madhu.
Message was edited by:
Madhu84
Similar Messages
-
Adobe bridge cc is not working on my mac snow leopard version 10.6.8. In other words the program will not open, but all other programs i have been able to open just fine
Moving this discussion to the Bridge General Discussion forum.
-
I have a Mac G5 running OS 10.5.8. I downloaded Firefox 4 and now the program will not open at all. I get an error message that reads --
"You cannot open the application 'Firefox" because it is not supported on this architecture."
I am also unable to find a link to download the previous version (3.6) that was running fine. (I'm using Safari to contact you.)Same proble here, although the Firefox system requirements says it is OK to have PowerPC G3 G4 or G5 ( I have G5 2GHZ)
My solution; very simply use timemachine to restore the previous Frefox 3.x
worked great in 3 mns -
bought a second hand laptop running Windows xp. When I go to download firefox, the installation goes seemingly smooth, but the program will not open. There are no firefox processes showing in task manager when I do this. I just downloaded chrome instead, but it sucks and I want firefox but my computer rejects it. This computer runs every other program I use without a hitch
== This happened ==
Every time Firefox opened
== after installation ==
== User Agent ==
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4thanks chris for the reply back,i have solved the massive problem i have had with MF 3.6.3 it ws COMODO FREE FIREWALL i had a sneaking suspicion all a long it could have been that but was not sure?,my pc had slowed down since installing comodo i am pretty sure of that,there were lags and pauses ect ect on general usage of the pc even though cpu usage was ok?,so maybe if many pc users that have comodo firewall installed they might like to try a change to another firewall and see if it helps,i went back to OUTPOST FREE FIREWALL which i had for ages without ANY problems whatsoever.
regards
john
mozilla firefox build 3.6.3 -
I have Photoshop Elements 9 on an iMac with OS 10.6.8. I bought a new printer/scanner and the program will not import the new scanner to replace the old one. How do I do this?
Thank you for your suggestions. I downloaded a more recent version of Twain, but this didn't help. I also tried closing and opening Photo Shop and restarting my computer without success. Reinstalling Photo Shop sounds like a very promising solution, but I'm not sure I will do it. In the meantime I can scan items using a printer program. These scans open in Photo Shop. It is an extra step.
-
My adobe CS2 programs will not open on my macbook pro osx 10.5.8
Today my adobe cs2 suite programs will not open. They were working just fine a couple of days ago. And they have worked fine for years. I did not update to any new os that would cause them not to work. I really need to get some image work done soon and this is a real monkey wrench in my plans. I uninstalled everything and tried to reinstall from the disc and it would not let me do that either. I tried to download picasa just as a quick alternative to get some images edited tonight and it would not let me open that either, even though it said it was good for 10.5 or above. So the only thing I can think of is that I downloaded something that changed some settings?
Try http://www.lemkesoft.com/ GraphicConverter instead.
Mackeeper can also be a problem:
https://discussions.apple.com/docs/DOC-3036 -
I have a new visa debit card, I have tryed several times to put in this new information into my IPad. The program keeps telling me.
There's a billing problem with a previous purchase. Please update your payment method.
The program will not let me update, what am I doing wrong. rose165I would love to have a phone number to call someone with apple on this issue.
-
I updated Pages two months ago to the latest version. BUT, my MAIL program will not allow me to send documents I attach that are genereated witht eh update Pages. And, when I save a doc to desktop generated in Pages, it will not opena, a box pops up and tells me the it wil not open until I have upgraded to the new PAges, WHICH I HAVE ALREADY DONE!!! What is UP with this, can anyone please help me? Would GREATLY appreciate it.
SAPages 5 is in a new format that is not compatible with GMail, Google, Amazon, DropBox and other 3rd party servers.
Peter -
Programs will not open from Dock
I have updated my Macbook Pro with Yosemite which has led to - a lot. Programs will not open from Dock, they are just revealed in Finder. Scrolling with mousebuttons in a browser will zoom instead of scroll, the courser will not change after changing tool in Indesign. Just to mention a few problems i have discovered so far. I think I was an idiot to uppgrade to Yosemite. PLEASE HELP!
Open Disk Utility and Repair Permissions, then quit DU and Restart the MBP. If that does not clear the issues, restart again holding the Command and R keys, and from Utilities on the menu bar select Install Mac OS X. That will reinstall Yosemite but leave your content and settings intact. See if that repairs whatever is broken.
-
First night I was able to watch 2 TV shows (45 min each) with no problems, but thereafter programs will not stream without constant pause to buffer. Weather conditions are ideal and my internet comes from crappy hugesnet, but worked fine the first night.
The speed may have been ok at that time and is too inconsistent/too slow overall. interference may have proven to be more of an issue since as well. If using public DNS that will provide Intermittant results
I'm sure using a hotspot would be fine but it depends on your viewing habits. An HD movie is around 4-5GB. It would also be subject to speed. requirements so best to test to see how it compares.
You would have to check with your Carrier if hotspot it's enabled then just to into your settings and toggle it ON -
Pages is not responding, the icon comes up but the program will not open????
You have to give us some more information or do a search in the forum for answers on the same matter.
-
I Just bought iMovie for yosmite and the program will not open.. I will like a fix or a refund.. i am getting tired of these problems...
Welcome to the world of downloaded software. There are no refunds.
Back in the good old days when software was purchased on disk one could sell it (legally).
Please describe your problem. Give us some details to go from. Are you using iMovie 06, or something newer? -
I just updated to OS X 10.7.5 and Aperture 3.4, but program will not open, keeps telling me I to restore windows
Quit Aperture, if it is running/ hanging.
Remove the file com.apple.Aperture.plist from the folder
Your home folder > Library > Preferences
The User Library is hidden by default. You can reveal it from the Finder's "GO" menu:
Finder > Go, then hold down the options ⌥ key, until the Library appears in the drop-down menu, select it and open the Library folder. Then go to the "Preferences" sub folder and remove the file
your Home Folder/Library/Preferences/com.apple.Aperture.plist.
After removing the user preferences file, you will have to reset the Preferences, you selected in Aperture's preferences panel.
Regards
Léonie -
Sent long message 4s now message program will not open. Tries to load but returns to the home screen after a while. How can I open my messages?
close all backgrounded apps, and then try,if it crashes again then do a reset all settings
-
I have an HP 7515 All-in-One printer. I have uninstalled and reinstalled the operating programs on my Dell XPS 8700 Win7 Pro several times and it says everything is working the way it should but when I click on the desktop icon, the program will not open. I need to print an address on an envelope so I need to get into this program. Any suggestions?
Hello DavidBez,
Welcome to the HP Support Forums!
I'd like to help get your Photosmart 7515 up and printing from your computer. I am not aware of an area in the printer software that is installed on the computer's Desktop that allows you to print an envelope, but I hope this helps get the icon working again.
HP Printer Assistant Opens the 'Printer Setup & Software' Window<---
If the above fails to resolve the issue with the software, run the Print and Scan Dr and let me know its results.
Cheers,
JERENDS
I work on behalf of HP
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!
Maybe you are looking for
-
hi, my report is giving error REP-1401:'cf_1formula': Fatal PL/SQL error occured, ORA-01403: no data found There are two table emp1 and emp2 created from employees table from HR schema I have deleted some records from table emp2 where department id i
-
TS1567 How to downgrade my iphone 4 from ios7 to ios6
Sir , I want to downgrade my ios7 to ios6 . Please help me , my iphone is working very slow.
-
How to show both SC and Local Currency in PLD at Amount place?
Hi sir, I want to show both System Currency and Local Currency in PLD at the Amount Place. And amount in Words also. When i preview my PLD Report than it show the both SC and LC in Words. So,plz help me sir.!
-
Hello. I have recently switched from using a PC with Microsoft Outlook to an iMac. I have saved all of my old emails in .pst files. Is there any way to import these into Apple Mail? Thanks.
-
Manual line profile reset please (3+ days stable)
Hi guys I hear you're always of great help on the forum, I would like to reset my line profile back to its best please. I have put stats for the router below. With a recent change to Fast over Interleaved for gaming reasons (Latency) I would be inter