Thanks Jim, I just wanted to get a simple callj example working. I was looking at invoking a library for another application. Apparently the return value needs to be a string so it won't work for the application. Cheers ________________________________
Stuart Boydell Analyst/Programmer Paperless Warehousing +61 (2) 9795-2900 Unit C9, 391 Park Road, Regents Park, NSW, 2143 Discover why we're Australia's leading warehouse and logistics company 🌲 Consider the environment. Do you really need to print this email? Please consider the environment before printing this email. The information transmitted, including attachments, is intended only for the person(s) or entity to which it is addressed. If you receive this email in error please advise by return mail. You should not copy, use or disclose this email or its contents. Information may be subject to change without notice. See our privacy policy here. From: [email protected] <[email protected]> on behalf of Jim Idle <[email protected]> Sent: Monday, September 27, 2021 3:01:07 PM To: jBASE <[email protected]> Subject: Re: callj A bit overkill to call Java for a UUID - but I suspect that you have not declared an explicit constructor for the class, which leaves the default one generated by the compiler, which is not very accessible - add an explicit constructor. If on Linux, you can just use EXECUTE: https://www.digitalocean.com/community/tutorials/workflow-command-line-basics-generating-uuids<https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.digitalocean.com%2Fcommunity%2Ftutorials%2Fworkflow-command-line-basics-generating-uuids&data=04%7C01%7Cs.boydell%40paperlesswarehousing.com.au%7C8fc754e6efd7462eb79408d98173dc76%7Cb0cef45e871d4d7e99335cb5619ef629%7C0%7C0%7C637683156893087973%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=9e%2FojPpNWqK0QZMuRzOO4Sdtz68pMhkAe%2BYbJmoSDb4%3D&reserved=0> Jim On Fri, Sep 24, 2021 at 11:25 PM StuartB <[email protected]<mailto:[email protected]>> wrote: Can someone point me in the right direction. I'm attempting to get a uuid using the java util class. I've tried a few different permutations. Just keep getting system(0) = 6 "Cannot find object constructor". p = null CALLJ "java.util.UUID","$randomUUID",p SETTING ret CRT "out: ":SYSTEM(0), ret out: 6 32768 -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected]<mailto:[email protected]> To unsubscribe, send email to [email protected]<mailto:[email protected]> For more options, visit this group at http://groups.google.com/group/jBASE?hl=en<https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2FjBASE%3Fhl%3Den&data=04%7C01%7Cs.boydell%40paperlesswarehousing.com.au%7C8fc754e6efd7462eb79408d98173dc76%7Cb0cef45e871d4d7e99335cb5619ef629%7C0%7C0%7C637683156893087973%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=bIhhhSoeekUUzgIz%2BeO6fhKsYV7qNrK%2BQ5zJZLxnLrM%3D&reserved=0> --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jbase/8d646f77-755e-4f86-853c-8faeb97f0a83n%40googlegroups.com<https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fjbase%2F8d646f77-755e-4f86-853c-8faeb97f0a83n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cs.boydell%40paperlesswarehousing.com.au%7C8fc754e6efd7462eb79408d98173dc76%7Cb0cef45e871d4d7e99335cb5619ef629%7C0%7C0%7C637683156893097926%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=pMTck9vydR9aQVo4FYDrR3Qm9KVn3xE8%2FIrEMqyXeh8%3D&reserved=0>. -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en<https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2FjBASE%3Fhl%3Den&data=04%7C01%7Cs.boydell%40paperlesswarehousing.com.au%7C8fc754e6efd7462eb79408d98173dc76%7Cb0cef45e871d4d7e99335cb5619ef629%7C0%7C0%7C637683156893097926%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=p5v8tGYz7FnuPdyx0iOU3jPPICffwZ0Zn167TsrgRVc%3D&reserved=0> --- You received this message because you are subscribed to a topic in the Google Groups "jBASE" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jbase/tQZCIvMU5nI/unsubscribe<https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Ftopic%2Fjbase%2FtQZCIvMU5nI%2Funsubscribe&data=04%7C01%7Cs.boydell%40paperlesswarehousing.com.au%7C8fc754e6efd7462eb79408d98173dc76%7Cb0cef45e871d4d7e99335cb5619ef629%7C0%7C0%7C637683156893107885%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=tb1pXu2%2BHR6Al%2BXf0nG7vYLZY9zfstHL%2Ba%2FfK4OD2sY%3D&reserved=0>. To unsubscribe from this group and all its topics, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jbase/CAGPPfg90eS5S%2BwjwhV5whmaH-8xiUz%3DuuLDpNBCH3uEw_OytbQ%40mail.gmail.com<https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fjbase%2FCAGPPfg90eS5S%252BwjwhV5whmaH-8xiUz%253DuuLDpNBCH3uEw_OytbQ%2540mail.gmail.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cs.boydell%40paperlesswarehousing.com.au%7C8fc754e6efd7462eb79408d98173dc76%7Cb0cef45e871d4d7e99335cb5619ef629%7C0%7C0%7C637683156893107885%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=sRr8sNh7LlPuEl9oq8jTnwno7cMlSz1UFBW0vlvU0BQ%3D&reserved=0>. -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jbase/SY4P282MB1436376829B8763736380DDBB8A79%40SY4P282MB1436.AUSP282.PROD.OUTLOOK.COM.
