Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: '(No such file or directory) Problems with J/Link' topicStudent Support Forum > General > Archives > "(No such file or directory) Problems with J/Link"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
JD
01/17/13 2:59pm

Here is a snippet of the code I mentioned:

oldname = {"20120503","20120529","20120606"};
filelist = {"test1","test2","test3"};
toConvert = {};
Do[AppendTo[toConvert,StringJoin[oldname[[x]],"#",filelist[[x]]]],{x,1,Length[oldname]}];
Export["~/Documents/work/toConvert.txt",toConvert];
Needs["JLink`"];
InstallJava[];
AddToClassPath[NotebookDirectory[]];
LoadClass["FileData"];
ShowJavaConsole[]
FileData`main[{}]

I also failed to mention I'm running this Mathematica 8.0.4.0 Platform: Mac OS X x86 (32-bit, 64-bit Kernel) if that makes any difference

URL: ,

Subject (listing for '(No such file or directory) Problems with J/Link')
Author Date Posted
(No such file or directory) Problems with J/Link JD 01/17/13 11:22am
Re: (No such file or directory) Problems with J... JD 01/17/13 2:59pm
< Previous CommentHelp | Reply To Comment | Reply To Topic