最近使用 iDrac 和 iLO 总是会使用到 .jnlp 文件, 为了方便,今天把设置过程记录下来。

JNLP 文件,全名为 Java Network Launching Protocol 文件, 我们需要 javaws 命令去执行它。

在 fedora 中 ,我们需要安装 相应的 rpm 包,yum 仓库中已经为我们准备好了相关的文件,我们只需要运行命令来安装就行了。当然你也可以使用 编译源码安装。

➜  Downloads yum search icedtea
Last metadata expiration check: days, :: ago on Fri Jul :: PM CST.
==================================================================== Summary & Name Matched: icedtea =====================================================================
icedtea-web-javadoc.noarch : API documentation for IcedTea-Web
icedtea-web-devel.noarch : pure sources for debugging IcedTea-Web
========================================================================= Name Matched: icedtea ==========================================================================
icedtea-web.noarch : Additional Java components for OpenJDK - Java browser plug-in and Web Start implementation
➜  Downloads sudo yum install icedtea-web

Javaws 命令 执行

➜  Downloads javaws

SYNOPSIS
javaws [-run-options] jnlp file
javaws [-control-options] OPTIONS
When specifying options, the name of the jnlp file can be after the command, the -jnlp option, an option with no arguments, or after an argument with an option that takes one argument. A html file that launches a jnlp can be specified after the -html option.
The jnlp-file can either be a url or a local path.
The JNLP file should only be specified once, whether as a main argument, after -jnlp or through an html file.
Control options:
-about - Shows a sample application.(No argument expected)
-help - Prints out information about supported command and basic usage.(No argument expected)
-license - Display the GPL license and exit.(No argument expected)
-viewer - Shows the trusted certificate viewer.(No argument expected)
-Xclearcache - Clean the JNLP application cache.(No argument expected)
Run options:
-allowredirect - Follows HTTP redirects.(No argument expected)
-arg arg - Adds an application argument before launching.(Expected one or more arguments)
-browser - Launch embeded browser. Use in great need only!(Expected one or more arguments)
-headless - Disables download window, other UIs.(No argument expected)
-html - Location of HTML file to launch (url or file). You can use parameter ALL or numbers (like ) to select applets on page. However experimental, this switch should keep you still in safety.(Expected one or more arguments)
-jnlp - Location of JNLP file to launch (url or file).(Exactly one argument expected)
-nosecurity - Disables the secure runtime environment. You need also deployment.security.itw.ignorecertissues to workaround corrupted signatures(No argument expected)
-noupdate - Disables checking for updates.(No argument expected)
-param name=value - Adds an applet parameter before launching.(Expected one or more arguments)
-property name=value - Sets a system property before launching.(Expected one or more arguments)
-strict - Enables strict checking of JNLP file format.(No argument expected)
-update seconds - Check for updates.(Exactly one argument expected)
-verbose - Enable verbose output.(No argument expected)
-version - Print the IcedTea-Web version and exit.(No argument expected)
-Xignoreheaders - Skip jar header verification.(No argument expected)
-xml - Uses a strict XML parser to parse the JNLP file.(No argument expected)
-Xnofork - Do not create another JVM.(No argument expected)
-Xoffline - Prevent ITW network connection. Only cache will be used. Application can still connect.(No argument expected)
-Xtrustnone - Instead of asking user, will foretold all answers as no.(No argument expected)

Javaws 命令 说明

NAME
javaws - a Java Web Start client SYNOPSIS
javaws [-run-options] jnlp file
javaws [-control-options] DESCRIPTION
javaws is an implementation of a JNLP client. It uses a JNLP (Java Network Launch Protocol) file to securely run a remote Java application or a Java applet.
This implementation of javaws is from the IcedTea project and is based on the NetX project. A JNLP file is an xml file that describes how to securely run a remote Java application or a Java applet.

执行 jnlp 文件:

➜  Downloads javaws viewer.jnlp 

同理,在 ubuntu 中,也可以使用 apt 等工具进行搜索安装。

具体情况以实际执行为准。

参考:

https://linux-tips.com/t/execute-jnlp-files-in-linux/252

https://fedora.pkgs.org/27/fedora-i386/icedtea-web-1.7-4.fc27.noarch.rpm.html

https://icedtea.classpath.org/wiki/Main_Page

https://icedtea.classpath.org/wiki/FedoraBuildInstructions

怎样在 fedora 28 上 打开 .jnlp 文件的更多相关文章

  1. 怎样在 Mac 上打开 ~_Library 文件夹

    怎样在 Mac 上打开 ~_Library 文件夹 听语音 浏览:17674 | 更新:2015-05-20 10:51 | 标签:文件夹 Mac 上的~/Library 文件夹是默认为隐藏的.因为苹 ...

  2. 解决Mac上打开txt文件乱码问题

    出处:https://www.jianshu.com/p/f55ddf1e9839 经常会在Mac上打开一个txt文件,发现里面的中文都是乱码,问题是在Windows和手机上看都完全是正常的,这就十分 ...

  3. Linux下Firefox打开文件jnlp文件

    ubuntu(linux)打开jnlp文件 咘咘 2019-05-20 15:12:48 1331 收藏展开 前提条件是安装有java环境.whereis java 查看自己java安装目录.本人是在 ...

  4. OpenSUSE Leap 42.3下通过Firefox Opera Chromium浏览器直接执行java应用程序(打开java jnlp文件)实现在服务器远程虚拟控制台完成远程管理的方法

    远程虚拟控制台依赖于java运行环境(jre),在通过浏览器打开链接前,系统必须安装jre环境,远程管理控制台其实就是一个java程序,打开相应的网站会下载一个jnlp(java网络加载协议)的文件, ...

  5. Ubuntu下通过Firefox Opera Chromium浏览器直接执行java应用程序(打开java jnlp文件)实现在服务器远程虚拟控制台完成远程管理的方法

    远程虚拟控制台依赖于java运行环境(jre),在通过浏览器打开链接前,系统必须安装jre环境,远程管理控制台其实就是一个java程序,打开相应的网站会下载一个jnlp(java网络加载协议)的文件, ...

  6. 【O】VSS 2005上传PDF文件之后,打开提示文件损坏或者内容为空

    问题: VSS 2005上传PDF文件之后,打开提示文件损坏或者内容为空: 解决方式: 在vss的客户端的tools-option中,file type选项卡里,在binary file文本框中,加入 ...

  7. .pages怎么在windows上打开?Windows下打开在Mac中编辑的.pages文件方法

    .pages怎么在windows上打开?Windows下打开在Mac中编辑的.pages文件方法 1.最简单的方法是修改后缀名为.zip然后解压,解压后就可以看到一张图片,这个就是文档内容了. 2.更 ...

  8. JFinal中文件上传后会默认放置到WebContent的upload包下,但是tomcat会自动重启,当我们再次打开upload文件夹查看我们刚刚上传的文件时,发现上传的文件已经没有了。

    JFinal中文件上传后会默认放置到WebContent的upload包下,但是tomcat会自动重启,当我们再次打开upload文件夹查看我们刚刚上传的文件时,发现上传的文件已经没有了.因为tomc ...

  9. eclipse jetty 请求的操作无法在使用用户映射区域打开的文件上执行

    使用jetty  debug代码启动  在eclipse中进行运行调试,碰到无法编辑保存webapp下的文件 提示: 请求的操作无法在使用用户映射区域打开的文件上执行 解决方法: 从 jetty 7 ...

随机推荐

  1. lucene 初探

    前言: window文件管理右上角, 有个搜索功能, 可以根据文件名进行搜索. 那如果从文件名上判断不出内容, 我岂不是要一个一个的打开文件, 查看文件的内容, 去判断是否是我要的文件? 几个, 十几 ...

  2. Windows x86 下的 静态代码混淆

    0x00  前言 静态反汇编之王,毫无疑问就是Ida pro,大大降低了反汇编工作的门槛,尤其是出色的“F5插件”Hex-Rays可以将汇编代码还原成类似于C语言的伪代码,大大提高了可读性.但个人觉得 ...

  3. SSL编程(2).NET最简单的客户端

      在Windows平台上,实现SSL的.NET类是System.Net.Security.SslStream类.这个类既可以用于建立SSL服务,也可以用来作为SSL客户端连接远端的SSL服务. 最简 ...

  4. tcp/ip通信中udp头部结构udphdrp->check校验计算

    通过raw socket修改通信数据后,可通过函数 set_udp_checksum1 重新校验计算iph->check值 在http://www.cnblogs.com/dpf-10/p/78 ...

  5. 【SpringBoot系列4】SpringBoot定制自己的bean

    起因:SpringBoot我是越用越喜欢,但当SpringBoot出了问题的时候,我却无从下手,因为封装实在是太高度化了.然后之前有一个需求,使用SpringBoot提供的StringRedisTem ...

  6. 微信小程序入门篇

    微信小程序入门篇: 准备工作 IDE搭建 就不多说了,没有内测码去下载个破解版吧,我用了一下,学习完全够了!IDE破解版+安装教程 图片发自简书App 知识准备 JavaScrip还是要看看的,推荐教 ...

  7. C# 利用反射将枚举绑定到下拉框

    前言:反射(Reflection)是.NET提供给开发者的一个强大工具,尽管作为.NET框架的使用者,很多时候不会用到反射.但在一些情况下,尤其是在开发一些基础框架或公共类库时,使用反射会使系统架构更 ...

  8. [日常] Go语言圣经-Deferred函数

    1.只需要在调用普通函数或方法前加上关键字defer,就完成了defer所需要的语法.当defer语句被执行时,跟在defer后面的函数会被延迟执行.直到包含该defer语句的函数执行完毕时,defe ...

  9. Android四大组件-Service

    http://blog.csdn.net/guolin_blog/article/details/11952435 http://www.jianshu.com/p/eeb2bd59853f 概述 定 ...

  10. Angular4.+ ngx-bootstrap Pagination 自定义分页组件

    Angular4 随笔(二)  ——自定义分页组件 1.简介 本组件主要是实现了分页组件显示功能,通过使用 ngx-bootstrap Pagination分页组件实现. 基本逻辑: 1.创建一个分页 ...