Click here to Skip to main content
15,034,432 members
Home / Discussions / Objective-C and Swift
   

Objective-C and Swift

 
AnswerRe: Launch Safari from another app then Autofill username and password Pin
C3D130-Jan-15 3:46
professionalC3D130-Jan-15 3:46 
QuestionStart java program from Objective C code Pin
DraqueD5-Jan-15 8:42
MemberDraqueD5-Jan-15 8:42 
AnswerRe: Start java program from Objective C code Pin
jschell5-Jan-15 9:37
Memberjschell5-Jan-15 9:37 
GeneralRe: Start java program from Objective C code Pin
DraqueD5-Jan-15 9:52
MemberDraqueD5-Jan-15 9:52 
AnswerRe: Start java program from Objective C code Pin
Richard MacCutchan5-Jan-15 22:39
mveRichard MacCutchan5-Jan-15 22:39 
GeneralRe: Start java program from Objective C code Pin
DraqueD6-Jan-15 5:04
MemberDraqueD6-Jan-15 5:04 
GeneralRe: Start java program from Objective C code Pin
Richard MacCutchan6-Jan-15 5:29
mveRichard MacCutchan6-Jan-15 5:29 
GeneralRe: Start java program from Objective C code Pin
DraqueD6-Jan-15 5:43
MemberDraqueD6-Jan-15 5:43 
The task.launchPath is the full path of the program to be run. Out of curiosity, I tried dropping " -jar" onto the end, but that made it fail when it looked for the executable "java -jar" rather than the executable "java" with the argument "-jar".

What's strange is that the "-jar" argument works correctly so long as it's the only one... Ultimately, the error I'm getting from Java at this point is "
Could not find or load main class 
". This typically appears if you try to run a .jar file without the -jar argument.

Also, just for the sake of sanity, I'll specify that I can run "java -jar PolyGlot <FILENAME>" from the console, and it runs fine.
GeneralRe: Start java program from Objective C code Pin
Richard MacCutchan6-Jan-15 6:29
mveRichard MacCutchan6-Jan-15 6:29 
GeneralRe: Start java program from Objective C code Pin
DraqueD6-Jan-15 9:29
MemberDraqueD6-Jan-15 9:29 
AnswerRe: Start java program from Objective C code Pin
seemajoshii27-Feb-15 1:22
Memberseemajoshii27-Feb-15 1:22 
QuestionHow do I find Objective C developers? Pin
Waffleapp13-Dec-14 7:13
MemberWaffleapp13-Dec-14 7:13 
QuestionIn objective-c I’m try to create a statement that toggles a variable Pin
Member 1125124020-Nov-14 11:02
MemberMember 1125124020-Nov-14 11:02 
AnswerRe: In objective-c I’m try to create a statement that toggles a variable Pin
Richard MacCutchan20-Nov-14 21:56
mveRichard MacCutchan20-Nov-14 21:56 
QuestionDifference between C and Objective-C Pin
online visit9-Jun-14 19:32
Memberonline visit9-Jun-14 19:32 
AnswerRe: Difference between C and Objective-C Pin
future20159-Jun-14 20:57
Memberfuture20159-Jun-14 20:57 
GeneralRe: Difference between C and Objective-C Pin
online visit9-Jun-14 21:31
Memberonline visit9-Jun-14 21:31 
AnswerRe: Difference between C and Objective-C Pin
Richard MacCutchan9-Jun-14 21:00
mveRichard MacCutchan9-Jun-14 21:00 
GeneralRe: Difference between C and Objective-C Pin
thatraja10-Jun-14 21:11
professionalthatraja10-Jun-14 21:11 
GeneralRe: Difference between C and Objective-C Pin
Richard MacCutchan10-Jun-14 21:28
mveRichard MacCutchan10-Jun-14 21:28 
GeneralRe: Difference between C and Objective-C Pin
thatraja10-Jun-14 21:42
professionalthatraja10-Jun-14 21:42 
GeneralRe: Difference between C and Objective-C Pin
Dennis E White11-Jun-14 4:24
professionalDennis E White11-Jun-14 4:24 
GeneralRe: Difference between C and Objective-C Pin
Richard MacCutchan11-Jun-14 5:53
mveRichard MacCutchan11-Jun-14 5:53 
AnswerRe: Difference between C and Objective-C Pin
Dennis E White11-Jun-14 4:22
professionalDennis E White11-Jun-14 4:22 
GeneralRe: Difference between C and Objective-C Pin
Manikandan1011-Jun-14 17:31
professionalManikandan1011-Jun-14 17:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.