Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: jar file not working in Windows 7

28 Feb 2010   #1
fergofm

Windows 7
 
 
jar file not working in Windows 7

Hi,

The scenario is as follows:
I used to run a little jar file coded by me in XP, but now that I am using Windows 7 it doesn't work any more.
My java version is Version 6 Update 18

I get the following message:

Exception in thread "main" java.lang.NoClassDefFoundError:
Caused by: java.lang.ClassNotFoundException:
at java.net.URLClassLoader$1.run(Unknown Source)
...
Could not find the main class: C:\SMFilesGenerator.jar. Program will exit



I would appreciate it so much if you could help me.


My System SpecsSystem Spec
.
01 Mar 2010   #2
ccatlett1984

 

By default, applications dont have rights to access the root of c:\. Try moving the jar file to your documents folder and run it from there.
My System SpecsSystem Spec
02 Mar 2010   #3
fergofm

Windows 7
 
 

Thanks for your reply
I tried moving it to 'My Documents' folder, but it is still not working. Today I installed the jdk-6u18-windows-i586, to see what happens, but there has been no change.
[COLOR=#000000 ! important][/COLOR]
My System SpecsSystem Spec
.

16 Feb 2016   #4
BoyBlueSky

Windows 7 Professional
 
 

From CNet Downloads:
JAR_Runner - Free download and software reviews - CNET Download.com
"JAR_Runner locates the current Java installation, calls the appropriate application (JavaW.exe), & directs it to run the JAR file. It integrates right into the Windows system & also has a CMD/DOS command line option."

Download direct from JAR_Runner Site:
JAR_Runner

Alternatively, try JARFix:
Jarfix
My System SpecsSystem Spec
Reply

 jar file not working in Windows 7




Thread Tools




Similar help and support threads
Thread Forum
Windows Explorer Stopped working when copying a zip file.
Hi all. Long time reader just signed up. I'm having a very strange problem when trying to copy a zip file from one drive to another. I get "Windows Explorer has stopped responding" when trying to copy a zip file (I have WinRAR x64 installed). However, if I go into cmd and rename the ***.zip to...
Performance & Maintenance
Searching for a file in windows 7... not working, i need extra filter
Sometimes the companies trying to make the thing SO "intuitive" and "smart" that destroy the power of customization... in windows XP i remember i could specify whatever i remember of a file and i could get straight to the file i was looking for, i could only remember a range of dates, an approx...
General Discussion
Windows Explorer has stopped working error; damaged file ole.dll
My mom has an HP Mini 210-1044NR laptop. It no longer boots up right. I've tried to get the desktop screen to load in normal mode and safe mode, yet I keep getting the same error message. It says Windows Explorer has stopped working. Windows can check online for a solution to the problem the...
BSOD Help and Support
Windows 7 folder redirects - working, but problems with the users file
Hi all, I have seen this question raised on a few occasions but never found the solution. I have redirected users folders such as my documents, favorites etc and its all working fine. The only problem is the users files/personal folders shortcuts you can add to the start menu and to the...
General Discussion
Windows xp batch file not working in Windows 7
Hi All, Script below used to work fine with Windows Xp set sqlDB=%2 set sshFile=ssh_%1 ssh dep@stdetails.com "/home/deployment/bin/ssh_dump.sh %1" scp dep@stdetails.com:/home/deployment/workspace/%sshFile%.sql.gz . 7z x %sshFile%.sql.gz
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 16:08.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App