View previous topic :: View next topic |
Author |
Message |
uwereinert Advanced Member
Joined: 27 Aug 2003 Posts: 153 Location: Chemnitz |
Posted: Fri Mar 25, 2005 3:42 am Post subject: Need help with IRToWav |
|
|
IRToWav doesn't work for me. IR6 says: Unable to write to "file name" and from the command line I get the message:
Exception in thread "main" java.lang.NoClassDefFoundError: IRToWav
Can someone of the java gurus help?
Thanks, Uwe |
|
Back to top |
|
|
uwereinert Advanced Member
Joined: 27 Aug 2003 Posts: 153 Location: Chemnitz |
Posted: Sun Mar 27, 2005 10:53 am Post subject: |
|
|
OK, solved by myself.
Thanks, Uwe |
|
Back to top |
|
|
johnsfine Site Admin
Joined: 10 Aug 2003 Posts: 4766 Location: Bedford, MA |
Posted: Sun Mar 27, 2005 12:17 pm Post subject: |
|
|
I think someone else was asking for help with exactly the same symptom recently, so what was your solution? |
|
Back to top |
|
|
uwereinert Advanced Member
Joined: 27 Aug 2003 Posts: 153 Location: Chemnitz |
Posted: Mon Mar 28, 2005 3:36 am Post subject: |
|
|
The environment "classpath" was set to a path, where IRToWav.class wasn't to find.
Uwe |
|
Back to top |
|
|
Capn Trips Expert
Joined: 03 Oct 2003 Posts: 3990
|
Posted: Mon Aug 08, 2005 1:19 pm Post subject: |
|
|
Uhh... I'm having the exact same problem/symptom with IRtoWAV on my desktop (works fine on my laptop?!).
Where do I go to look at and correct this "classpath" problem? |
|
Back to top |
|
|
uwereinert Advanced Member
Joined: 27 Aug 2003 Posts: 153 Location: Chemnitz |
Posted: Mon Aug 08, 2005 1:52 pm Post subject: |
|
|
Right click on MyComp, Characteristics, Advanced, Environment.
Delete the entry classpath, this should do the trick.
Uwe |
|
Back to top |
|
|
Capn Trips Expert
Joined: 03 Oct 2003 Posts: 3990
|
Posted: Mon Aug 08, 2005 3:53 pm Post subject: |
|
|
I did this, and it partially helped.
Using the IRtoWAV.bat program as described in the ReadMe i.e. dragging and dropping an IR file onto the IRtoWAV program on the desktop works now, and I get an "upgrade.wav" file that I can then play.
BUT when I try to "Export to Wav" directly from IR, I get the dialogue: "Unable to write to [path/filename]"
I have verified that the IRtoWAV path setting in IR points to the correct location.
Again, on my laptop, BOTH methods work. What ought I check next?
Edit: Correction - "drag&drop" worked ONCE. Now it won't work any more. I checked to see if the CLASSPATH had somehow gotten set again, but it has not. I know so little about this software that I can't even begin to figure out what info to provide nor questions to ask.
When I try "Drag&Drop" now, the DOS window error message is:
"Building sound file, wait.....
Exception in thread "main" java.lang.NoClassDefFoundError: IRToWAV
Prepare the remote for download:
Click on the play button on your audio player when you are ready.
Press any key to continue..."
I'm pretty sure the bold section is my problem - the rest of the batch file does nothing since no wav file gets created.
Help? Please?
Last edited by Capn Trips on Mon Aug 08, 2005 4:25 pm; edited 1 time in total |
|
Back to top |
|
|
Mark Pierson Expert
Joined: 03 Aug 2003 Posts: 3017 Location: Connecticut, USA |
Posted: Mon Aug 08, 2005 4:23 pm Post subject: |
|
|
Capn Trips wrote: | What ought I check next? | Check the setting found under File, Set Directory, IRToWAV Path... _________________ Mark |
|
Back to top |
|
|
Capn Trips Expert
Joined: 03 Oct 2003 Posts: 3990
|
Posted: Mon Aug 08, 2005 4:24 pm Post subject: |
|
|
Setting checked and verified correct - see my edit to my immediately preceding post.
Thx. |
|
Back to top |
|
|
Capn Trips Expert
Joined: 03 Oct 2003 Posts: 3990
|
Posted: Tue Aug 09, 2005 2:20 am Post subject: |
|
|
If it's useful info - I'm running Windows XP Home and Java 2 Runtime Environment SE v1.4.1_02. And RM works just fine, so I think the JRE is properly installed. |
|
Back to top |
|
|
uwereinert Advanced Member
Joined: 27 Aug 2003 Posts: 153 Location: Chemnitz |
Posted: Tue Aug 09, 2005 5:26 am Post subject: |
|
|
Do you have the last release of IRToWav.class?
IIRC, there was an older release, that doesn't work properly.
Uwe |
|
Back to top |
|
|
Capn Trips Expert
Joined: 03 Oct 2003 Posts: 3990
|
Posted: Tue Aug 09, 2005 5:35 am Post subject: |
|
|
I think so, as I downloaded it yesterday from the same link you provided, and I used the same .zip file in both of my installations (i.e. I downloaded it to one computer, unzipped it, and it works, copied the same .zip file to the other computer and unzipped it, and it doesn't work?!)
When I get home, I will try deleting all IRtoWAV-related files from everywhere (I've place copies in every directory I could think of - desktop, root, windows, sytem, ...) and try a "clean" download and unzip.
Where is the best place to put all of the files? In the root directory?
P.S. I appreciate the assist in troubleshooting. I suppose this will all become moot once I receive my pogo adapter. |
|
Back to top |
|
|
uwereinert Advanced Member
Joined: 27 Aug 2003 Posts: 153 Location: Chemnitz |
Posted: Tue Aug 09, 2005 7:53 am Post subject: |
|
|
Capn Trips wrote: | Where is the best place to put all of the files? In the root directory? |
I think, that's not good. I have a directory "drive letter":\Program Files\IRC for IR.exe and the tools (KM, RM, IRTool, IRToWav, RDF and so on) each in a sub directory. For DecodeIR.dll, the best place is "drive letter":\Windows\System32, so all tools have access to this dll.
Uwe |
|
Back to top |
|
|
Capn Trips Expert
Joined: 03 Oct 2003 Posts: 3990
|
Posted: Tue Aug 09, 2005 11:36 am Post subject: |
|
|
Well, I deleted all of the IRtoWAV-related fies and re-unzipped them - all into the same directory (as I had before, btw). THIS TIME, the drag and drop method didn't work (same error msg in the DOS box), but direct creation of the .wav from IR DID work.
Right now I am TOTALLY confused what conditions/circumstances make this work or not work on my home desktop.
To recap: First time I unzipped the files, I could create a wav file ONCE, only by drag&drop, ZERO from within IR.
Second time I unzipped the files, I could create the file REPEATABLY (well, at least twice in a row), from within IR, while drag&drop doesn't work at all. |
|
Back to top |
|
|
mtakahar Expert
Joined: 03 Aug 2003 Posts: 281
|
Posted: Tue Aug 09, 2005 6:26 pm Post subject: |
|
|
What if you add "-class path ." to the .bat files like this? (notice the . (dot))
Quote: | java -classpath . IRToWav %1 |
Hal |
|
Back to top |
|
|
|