Need help with IRToWav

Discussion forum for JP1 software tools currently in use, or being developed, such as IR, KM, RemoteMaster, and other misc apps/tools.

Moderator: Moderators

uwereinert
Advanced Member
Posts: 153
Joined: Wed Aug 27, 2003 6:40 am
Location: Chemnitz

Need help with IRToWav

Post by uwereinert »

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
uwereinert
Advanced Member
Posts: 153
Joined: Wed Aug 27, 2003 6:40 am
Location: Chemnitz

Post by uwereinert »

OK, solved by myself.

Thanks, Uwe
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

I think someone else was asking for help with exactly the same symptom recently, so what was your solution?
uwereinert
Advanced Member
Posts: 153
Joined: Wed Aug 27, 2003 6:40 am
Location: Chemnitz

Post by uwereinert »

The environment "classpath" was set to a path, where IRToWav.class wasn't to find.

Uwe
Capn Trips
Expert
Posts: 3989
Joined: Fri Oct 03, 2003 6:56 am

Post by Capn Trips »

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? :oops:
uwereinert
Advanced Member
Posts: 153
Joined: Wed Aug 27, 2003 6:40 am
Location: Chemnitz

Post by uwereinert »

Right click on MyComp, Characteristics, Advanced, Environment.

Delete the entry classpath, this should do the trick.

Uwe
Capn Trips
Expert
Posts: 3989
Joined: Fri Oct 03, 2003 6:56 am

Post by Capn Trips »

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 3:25 pm, edited 1 time in total.
Mark Pierson
Expert
Posts: 3018
Joined: Sun Aug 03, 2003 12:13 am
Location: Connecticut, USA
Contact:

Post by Mark Pierson »

Capn Trips wrote:What ought I check next?
Check the setting found under File, Set Directory, IRToWAV Path...
Mark
Capn Trips
Expert
Posts: 3989
Joined: Fri Oct 03, 2003 6:56 am

Post by Capn Trips »

Setting checked and verified correct - see my edit to my immediately preceding post.

Thx.
Capn Trips
Expert
Posts: 3989
Joined: Fri Oct 03, 2003 6:56 am

Post by Capn Trips »

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.
uwereinert
Advanced Member
Posts: 153
Joined: Wed Aug 27, 2003 6:40 am
Location: Chemnitz

Post by uwereinert »

Do you have the last release of IRToWav.class?

IIRC, there was an older release, that doesn't work properly.

Uwe
Capn Trips
Expert
Posts: 3989
Joined: Fri Oct 03, 2003 6:56 am

Post by Capn Trips »

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. :roll:
uwereinert
Advanced Member
Posts: 153
Joined: Wed Aug 27, 2003 6:40 am
Location: Chemnitz

Post by uwereinert »

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
Capn Trips
Expert
Posts: 3989
Joined: Fri Oct 03, 2003 6:56 am

Post by Capn Trips »

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. :?
mtakahar
Expert
Posts: 281
Joined: Sun Aug 03, 2003 2:46 pm

Post by mtakahar »

What if you add "-class path ." to the .bat files like this? (notice the . (dot))
java -classpath . IRToWav %1
Hal
Post Reply