If you want information on Azure Virtual Desktop instead, see Remote Desktop clients for Azure Virtual Desktop. You can also use most versions of the Remote Desktop client to also connect to Azure Virtual Desktop, as well as to Remote Desktop Services in Windows Server or to a remote PC. Some features are only available with certain clients, so it's important to check Compare the features of the Remote Desktop clients to understand the differences when connecting to Remote Desktop Services or remote PCs. Leave the apps open when you turn off the client.Access files and network resources on the remote PC.Device redirection, such as webcams, storage devices, and printers.Dynamic display resolutions and scaling.There are many features you can use to enhance your remote experience, such as: Using your web browser on desktops and laptops, you can connect without having to download and install any software. There are clients available for many different types of devices on different platforms and form factors, such as desktops and laptops, tablets, smartphones, and through a web browser. You can also create a shortcut/link for that shell-script & place the link inside the /Applications, so that you can see an Icon & just click that to run the target App.With Microsoft Remote Desktop clients, you can connect to Remote Desktop Services from Windows Server and remote PCs, and use and control desktops and apps that your admin has made available to you. ( that App will have access to Java 8 (1.8) which you've installed, & which you've specified in the shell script. Now you can run the App by using the shell-script: cmd: ~/java-based-APP-name.sh.And set 'execute' permission bit: cmd: chmod +x ~/java-based-APP-name.sh.So above example script is using that example executable ) ( Note: if a macOS app's name is "My MacApp.app", then it must have an executable file with same name here: "My MacApp.app/Contents/MacOS/My MacApp". Save "~/java-based-APP-name.sh" & exit out from nano."/Applications/java-based-APP-name.app/Contents/MacOS/java-based-APP-name" # $JAVA_HOME/bin/java -cp jarAppName.jar # $JAVA_HOME/bin/java -jar executableJarAppName.jar 1st line must be #!/bin/bash to use it as "BASH" shell script, then add below 5-lines:Įxport JAVA_HOME=$(/usr/libexec/java_home -version 1.8).edit that shell script file by using nano:.( change the "java-based-APP-name" into your actual target App name ) Run this command-set to create a shell-script file with a header line:Ĭmd: sb='#!/bin/bash' echo "$sb" > ~/java-based-APP-name.sh unset sb.( do not type the word 'cmd:', when you copy/type a command from here ) Setup these specific ENV VARs: JAVA_HOME & PATH, only for a specific App, before running it, by using a shell script:.OpenJDK based Java is free for any Commercial usage & also free for Personal usage. OpenJDK (includes JRE) v9 (1.9) & above are available as macOS optimized binary form in OpenJDK archive-site/page. ( OpenJDK based Legacy Java 8 ( 1.8) Src-code is available in site, for those, who want to compile it & build their own binary. Obtain Legacy Java 8 (JDK, 1.8, it includes JRE) binary (that is optimized for macOS) (and it also includes Src-code), from Oracle site & install it, (Oracle based Java is free only-for Personal usage, not-free for Commercial usage & not-free if you want to distribute JRE ).PCClient.app appears to include it's own version of Java, whereas P圜harm relies on what’s installed on OS X.įor details, please check/read this section "OPTIONAL / EXTRA : Setup Specific Java ENV-VAR" (this section is in bottomside) of this answer, pls also see this answer. However, both apps work on OS X, so these keys/values might help you narrow down to a working solution.īoth apps seem to have a slightly different way of doing things. Xdock:icon=$APP_ROOT/Contents/Resources/client-icon.icnsĪgain, these are parts of different ist files so they might not work as straight copy-and-paste. Recalling that P圜harm.app does something similar, here is an extract from the applications ist file (watch the …snip… lines in there): …snip…Īlso, the PaperCut Client application (PCClient) uses some simliar items in its ist: This might help jump-start finding an answer.
0 Comments
Leave a Reply. |