java的rxtx串口通信怎么接收16进制数据

package Cilent;
import gnu.io.CommPortIdentifier;
import gnu.io.NoSuchPortException;
import gnu.io.PortInUseException;
import gnu.io.SerialPort;
import gnu.io.SerialPortEvent;
import gnu.io.SerialPortEventListener;
import gnu.io.UnsupportedCommOperationException;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Enumeration;
import java.util.Timer;
import java.util.TimerTask;
import java.util.TooManyListenersException;
import javax.print.attribute.standard.PrinterMessageFromOperator;

public class SendTest implements SerialPortEventListener{

protected static CommPortIdentifier portid = null;  //通讯端口标识符
protected static SerialPort comPort = null;         //串行端口
protected int BAUD = 9600;  //波特率
protected int DATABITS = SerialPort.DATABITS_8;;  //数据位
protected int STOPBITS = SerialPort.STOPBITS_1;  //停止位
protected int PARITY = SerialPort.PARITY_NONE;  //奇偶检验
private static OutputStream outputStream;    //输出流
private static InputStream inputStream;     //输入流
private static byte[] readBuffer = new byte[1024]; // 4k的buffer空间,缓存串口读入的数据
StringBuilder buf = new StringBuilder(128); 
public static void main(String[] args) {
    SendTest my = new SendTest();
    my.setSerialPortNumber();
    sendMsg();
}
//读取所有串口
 private void listPortChoices() {
     CommPortIdentifier portId;
     Enumeration en = CommPortIdentifier.getPortIdentifiers();
     // iterate through the ports.
     while (en.hasMoreElements()) {
         portId = (CommPortIdentifier) en.nextElement();
         if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) {
             System.out.println(portId.getName());
         }
     }
 }

 //设置串口号
 private void setSerialPortNumber() {

     String osName = null;
     String osname = System.getProperty("os.name", "").toLowerCase();
     if (osname.startsWith("windows")) {
         // windows
         osName = "COM1";
     } 
      System.out.println(osName);
     try {
         portid = CommPortIdentifier.getPortIdentifier(osName);
      // portid = CommPortIdentifier.getPortIdentifier(Port);
         if(portid.isCurrentlyOwned()){
             System.out.println("端口在使用");
         }else{
             comPort = (SerialPort) portid.open(this.getClass().getName(), 1000);
         }
     } catch (PortInUseException e) {
         System.out.println("端口被占用");
        e.printStackTrace();

     } catch (NoSuchPortException e) {
         System.out.println("端口不存在");
         e.printStackTrace();
     }

     try {
        inputStream = comPort.getInputStream(); //从COM1获取数据
        outputStream = comPort.getOutputStream();
     } catch (IOException e) {
            e.printStackTrace();
    }

    try {
        comPort.addEventListener(this);       //给当前串口增加一个监听器
        comPort.notifyOnDataAvailable(true);  //当有数据是通知
    } catch (TooManyListenersException e) {
        e.printStackTrace();
    } 
    try {
        //设置串口参数依次为(波特率,数据位,停止位,奇偶检验)
        comPort.setSerialPortParams(this.BAUD, this.DATABITS, this.STOPBITS, this.PARITY);
    } catch (UnsupportedCommOperationException e) {
        System.out.println("端口操作命令不支持");
        e.printStackTrace();
    }

 }
  //将输入的16进制string转成字节
   public static byte[] hexStringToBytes(String hexString) {
       if (hexString == null || hexString.equals("")) {
           return null;
       }
       hexString = hexString.toUpperCase();
       int length = hexString.length() / 2;
       char[] hexChars = hexString.toCharArray();
       byte[] d = new byte[length];
       for (int i = 0; i < length; i++) {
           int pos = i * 2;
           d[i] = (byte) (charToByte(hexChars[pos]) << 4 | charToByte(hexChars[pos + 1]));
       }
       return d;
   }
    private static byte charToByte(char c) {
       return (byte) "0123456789ABCDEF".indexOf(c);
   }

//向串口发送信息方法
public  static void sendMsg(){
    String msg="71340001";//要发送的命令msg
    try {

        outputStream.write(hexStringToBytes(msg));                  
    } catch (IOException e) {
        e.printStackTrace();
    }
}

//字节转换成十六进制字符串
public static String bytesToHexString(byte[] src){  
    StringBuilder stringBuilder = new StringBuilder("");  
    if (src == null || src.length <= 0) {  
        return null;  
    }  
    for (int i = 0; i < src.length; i++) {  
        int v = src[i] & 0xFF;  
        String hv = Integer.toHexString(v);  
        if (hv.length() < 2) {  
            stringBuilder.append(0);  
        }  
        stringBuilder.append(hv);  
    }  
    return stringBuilder.toString();  
}

@Override
public void serialEvent(SerialPortEvent event) {
    switch (event.getEventType()) {
        case SerialPortEvent.BI://Break interrupt,通讯中断 
        case SerialPortEvent.OE://Overrun error,溢位错误
        case SerialPortEvent.FE://Framing error,传帧错误
        case SerialPortEvent.PE://Parity error,校验错误
        case SerialPortEvent.CD://Carrier detect,载波检测
        case SerialPortEvent.CTS://Clear to send,清除发送
        case SerialPortEvent.DSR://Data set ready,数据设备就绪 
        case SerialPortEvent.RI://Ring indicator,响铃指示
        case SerialPortEvent.OUTPUT_BUFFER_EMPTY:
            break;
        case SerialPortEvent.DATA_AVAILABLE:// 当有可用数据时读取数据,并且给串口返回数据
            try  
            {  

                // 多次读取,将所有数据读入  
                 while (inputStream.available() > 0) {         
                 System.out.println("接收数据:"+((byte) inputStream.read()));              

                 }  
            }  
            catch ( IOException e )  
            {  
                e.printStackTrace();  
            }  
            break;    
    }
} 

}

各位大神,现在做的项目是往cpld发送指令控制,发送16进制的指令需要接收cpld返回的16进制数据判断指令是否正确执行,这是按照网上的例子写的,现在解决了发送指令,但是接收部分不知道如何接收16进制的返回数据,用串口调试助手往com1发送16进制数据只能显示2位的10进制,请问如何将接收的16进制数据正确显示出来,新手实在没办法了

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
JAVA RXTX串口无法找到指定蓝牙串口
程序就是一个很简单的写数据,在枚举已有串口时,能找到其他的COM端口,无法发现蓝牙串口COM9 但是使用串口调试助手连接COM9发送数据都正常, 求高手指点 代码如下 ``` import java.io.*; import java.util.*; import gnu.io.CommPortIdentifier; import gnu.io.PortInUseException; import gnu.io.SerialPort; import gnu.io.UnsupportedCommOperationException; public class SimpleWrite { static Enumeration portList; static CommPortIdentifier portId; static String messageString = "A1"; static SerialPort serialPort; static OutputStream outputStream; public static void main(String[] args) { portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { if (portId.getName().equals("COM9")) { System.out.println("找到"); try { serialPort = (SerialPort) portId.open("SimpleWriteApp", 2000); } catch (PortInUseException e) {} try { outputStream = serialPort.getOutputStream(); } catch (IOException e) {} try { serialPort.setSerialPortParams(9600, SerialPort.DATABITS_8, SerialPort.STOPBITS_1, SerialPort.PARITY_NONE); } catch (UnsupportedCommOperationException e) {} try { outputStream.write(messageString.getBytes()); } catch (IOException e) {} } } } } } ```
java RXTX做串口通信,怎么唯一确定某个设备的串口?
由于串口号是系统分配的,更换接口串口号会变动,C++是可以获取串口驱动供应商的,java怎么获取?
使用RXTX 在Linux中进行串口编程时找不到串口
最近使用RXTX串口编程,windows系统中调试成功,但是到了Linux系统中就出现各种问题。测试用的是树莓派,系统为Linux raspberrypi,串口名称为/dev/ttyAMA0,使用xgcom串口调试已经成功,能正常收发数据。RXTX环境通过源码编译安装也成功,编写的程序开启并无异常,但是就是找不到一个串口,使用串口名直接创建串口对象报出NoSuchPortException。 使用方法为 //获得串口列表 portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); System.out.println(portId.getName()); } //通过串口名查找串口 CommPortIdentifier linuxPort = CommPortIdentifier.getPortIdentifier(portName); 因为树莓派系统太小,无法安装IDE,就将程序编译成jar文件,使用java -jar命令直接执行,用户为root用户 有没有大神知道是咋回事?
Java使用rxtx进行多串口开发问题
## # 我的项目第一版中使用RXTX库进行串口操作(同一时间只涉及单个串口在工作),都没出现过问题。 ## # 现在项目需要,接入多个串口同时工作,出现了JVM Crash的问题。 # **现象描述**: ## 程序使用rxtx.jar进行串口通信开发,同时进程多个串口双向通信, ## 假设使用到的串口名称为COM1和COM2 # **情况1**: ## com1开启,com2开启-->OK ## com1关闭-->OK ## com1第二次开启----->奔溃,提示见附1 # **情况2**: ## com1开启,com2开启-->OK ## com2关闭-->OK ## com2第二次开启--->ok # **情况3**: ## com1开启,com2开启-->OK ## com2关闭-->OK ## com1第二次开启----->提示串口被占用,正常 # **情况4**: ## com1开启,com2开启-->OK ## com1关闭-->OK ## com2关闭-->OK ## com1第二次开启----->OK # **个人总结下情况**: ## 使用多个串口,如果有串口要进行第二次开启,且这个串口在机器上扫描出来是第一个串口的话,需先将所有串口都关闭后再执行串口开启,否则就会出现错误。 # **附1**:以下运行出错时提示的内容,具体日志在hs_err_pid9032.log中 ``` # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000001800071cd, pid=9032, tid=5016 # # JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13) # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode windows-amd64 compressed oops) # Problematic frame: # C [rxtxSerial.dll+0x71cd] # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # An error report file with more information is saved as: # C:\Users\Jack\workspace\TestProject\hs_err_pid9032.log # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # ``` # **附2**:简单测试代码 ``` public static void main(String[] args) throws Exception { CommPortIdentifier com13PI = CommPortIdentifier .getPortIdentifier("COM13"); CommPortIdentifier com1PI = CommPortIdentifier .getPortIdentifier("COM1"); SerialPort com13 = (SerialPort) com13PI.open(main.class.getName(), 400); SerialPort com1 = (SerialPort) com1PI.open(main.class.getName(), 400); com13.close(); //com1.close(); com13PI = CommPortIdentifier.getPortIdentifier("COM13"); com13 = (SerialPort) com13PI.open(main.class.getName(), 400); } ``` 现在的做法是每次有串口需要变动时,都先关闭所有串口,再开启需要用到的多个目标串口,但这样灵活性不高,有谁知道如果解决该问题的,望指点下,谢谢!
java rxtx包串口开发 长时间收发 (10分钟左右,100毫秒一次),数据出现较小错误
我使用了RXTX包进行了JAVA串口开发,发现错误后我用JAVA是COM1 COM3对发,结果 得到的数据在10多分钟运行后就开始有不是很正确的发送 ,比如每行多一个不知道哪来的字符 或者多个换行符什么的 。。。我是在WINDOWS XP系统下使用的 。。。求大神帮助
JAVA调用串口,RXTX工具包。出现与串口设备通讯中断事件SerialPortEvent.BI
用java调用串口,用的是RXTX。现在问题程序启动之后会频繁的出现与串口设备通讯中断的事件(SerialPortEvent.BI),导致我程序收到的报文不完整,不正确,不知道各位有没有遇到过,求帮助,感谢!!!
centos64位 jdk1.8 rxtx2.17串口通讯故障
windows下正常运行,部署在linux下一运行直接报错,不想重装系统,有其他办法解决的吗
linux(centos)下 java web项目串口编程部分用rxtx包获取不到串口
我在win将项目导成war包放在linux下tomcat路径下运行,别的功能都好,唯独获取不到串口。 我是root权限登录,且试了很多方法如图,给uucp和lock组都添加了权限也没有 报错如图 ![图片说明](https://img-ask.csdn.net/upload/201703/07/1488876061_276341.png) 我更改的group文件如下 ![图片说明](https://img-ask.csdn.net/upload/201703/07/1488876089_85702.png) 程序如下,我将这段程序单独做小应用在linux下的eclipse跑起来就可以获取到串口,证明程序应该无误。不知道为什么还是没有权限 求各位大神帮帮忙,给点思路,谢谢大家了 ![图片说明](https://img-ask.csdn.net/upload/201703/07/1488876209_919881.png)
java在linux上串口通讯 非标准波特率问题(RXTX)
在linux下使用java进行串口通讯,波特率是非标准波特率,使用过程中 直接跑参数设置异常,该波特率配置失败, linux下非标准波特率文章基本上都是c +的 参考并测试了一下,还是没有解决问题, 有大神会吗? 使用RXTXcomm 串口jar, ps:windows下 标准非标准是没有问题的,linux下标准是没有问题的。 目前卡在linux**_非标准波特率_**下,使用直接报错 求大神
Java串口通信时不能检测到串口
我用rxtx做了一个简单串口,结果总是出现 java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:123) at serial.Serial.main(Serial.java:13) 求大神指教
Android通过RXTX开发的so文件
最近接手了一个离职的同事的工作,是Android上的一个应用,需要通过串口与底层进行通讯,当时因为硬件设备还没出来,他用的mina框架,通过TCP通讯的,现在需要改成串口,但是mina里面的串口通信是通过RXTX实现的,找了好久都找不到Android可以用的so文件,请问有谁做过类似的开发,可以提供一下so文件呢?
JAVA 串口程序 向下位机发送无响应
![图片说明](https://img-ask.csdn.net/upload/201906/21/1561082371_153599.png) 这个是我用虚拟串口+串口调试工具调试的时候,可以看到上位机与下位机的通信正常。 ![图片说明](https://img-ask.csdn.net/upload/201906/21/1561082535_42869.png) 当我用下位机和串口调试工具的时候,下位机的程序就是讲上位机发送的内容再发回来,可以看到,通讯也是正常的。 ![图片说明](https://img-ask.csdn.net/upload/201906/21/1561082735_612952.png) 但是,当我用JAVA写的程序和下位机进行通信的时候,可以收到下位机发来的数据,我觉得串口设置的应该没有问题了,但是向下位机发送信息却没有回应。 JAVA 用的是RXTX的包,JDK版本是1.7。 以下是发送部分的 ``` public static void sendToPort(SerialPort serialPort, byte[] order) throws SendDataToSerialPortFailure, SerialPortOutputStreamCloseFailure { System.out.println("进入send程序"); OutputStream out = null; try { out = serialPort.getOutputStream(); out.write(order); out.flush(); System.out.println("发送成"); } catch (IOException e) { System.out.println("发送失败"); throw new SendDataToSerialPortFailure(); } finally { try { if (out != null) { out.close(); out = null; } } catch (IOException e) { throw new SerialPortOutputStreamCloseFailure(); } } } ``` 我想请问一下这种情况下问题应该是出现在哪一步分的呢? ————————————————————————————————— 现在已经解决了,是同步和编码的问题,下位机在接收的中断中执行的语句太多了,导致前面的数据还没处理完,后面的就来了,丢包了。其次上位机和下位机的编码格式不太一样,这个需要调整。
macos下,java串口通信编程的问题: jdk里找不到$(ARCH)
rt所示, 我是Macos系统,想写个串口通信的软件,知道有java的comm,但是macos下只能使用和comm差不多的RXTX,用import gnu.io.* 从网上下载了RXTXcomm.jar、librxtxSerial.jnilib、librxtxParallel.so、librxtxSerial.so四个文件, 但是在我想要把这些文件放到jdk目录下对应的位置的时候: 按之前前辈们的做法是(他们是在linux下成功的): “如果要脱离eclipse单独执行串口通信程序,将librxtxSerial.so复制到$JAVA_HOME/jre/lib/amd64/目录下(如果是32位系统应该是i386或者i686,而不是amd64)就OK了。” 这里的amd64指代$(ARCH),差不多是体系结构的东西,但是我在我的jdk下没有找类似的目录…… 我用ls -l命令就发现了以下的文件:(根本连目录都没几个) 于是这一步就告吹了,求助有没有大神知道该怎么办…我看其他的两个帖子也都是需要到$(ARCH)里面的。而官网上是Make的方法,也是和这个相关的似乎…总之就是绕不过这个了 drwxrwxr-x 2 root wheel 68 7 12 19:55 applet -rw-rw-r-- 1 root wheel 1378 7 12 19:55 calendars.properties -rw-rw-r-- 1 root wheel 3135391 7 12 19:55 charsets.jar -rw-rw-r-- 1 root wheel 72450 7 12 19:55 classlist drwxrwxr-x 7 root wheel 238 7 12 19:55 cmm -rw-rw-r-- 1 root wheel 5916 7 12 19:55 content-types.properties -rw-rw-r-- 1 root wheel 4122 7 12 19:55 currency.data -rw-rw-r-- 1 root wheel 2233848 7 12 19:55 deploy.jar drwxrwxr-x 14 root wheel 476 7 24 18:09 ext -rw-rw-r-- 1 root wheel 4211 7 12 19:55 flavormap.properties -rw-rw-r-- 1 root wheel 3058 7 12 19:55 fontconfig.bfc -rw-rw-r-- 1 root wheel 8087 7 12 19:55 fontconfig.properties.src drwxrwxr-x 11 root wheel 374 7 12 19:55 fonts -rw-rw-r-- 1 root wheel 13962 7 12 19:55 hijrah-config-umalqura.properties drwxrwxr-x 3 root wheel 102 7 12 19:55 images -rwxrwxr-x 1 root wheel 56 6 27 04:04 javafx.properties -rw-rw-r-- 1 root wheel 476504 7 12 19:55 javaws.jar -rw-rw-r-- 1 root wheel 116446 7 12 19:55 jce.jar drwxrwxr-x 4 root wheel 136 7 12 19:55 jfr -rw-rw-r-- 1 root wheel 560581 7 12 19:55 jfr.jar -rwxrwxr-x 1 root wheel 33930 6 27 04:04 jfxswt.jar drwxrwxr-x 3 root wheel 102 7 12 19:55 jli -rwxrwxr-x 1 root wheel 15136 7 12 19:55 jspawnhelper -rw-rw-r-- 1 root wheel 648816 7 12 19:55 jsse.jar -rw-rw-r-- 1 root wheel 624 7 12 19:55 jvm.cfg -rw-rw-r-- 1 root wheel 4226 7 12 19:55 jvm.hprof.txt -rwxrwxr-x 1 root wheel 45120 7 12 19:55 libAppleScriptEngine.dylib -rwxrwxr-x 1 root wheel 16076 7 12 19:55 libattach.dylib -rwxrwxr-x 1 root wheel 552948 7 12 19:55 libawt.dylib -rwxrwxr-x 1 root wheel 731112 7 12 19:55 libawt_lwawt.dylib -rwxrwxr-x 1 root wheel 9164 7 12 19:55 libbci.dylib -rwxrwxr-x 1 root wheel 186456 7 12 19:55 libdcpr.dylib -rwxrwxr-x 1 root wheel 62900 6 27 04:04 libdecora_sse.dylib -rwxrwxr-x 1 root wheel 167304 7 12 19:55 libdeploy.dylib -rwxrwxr-x 1 root wheel 25616 7 12 19:55 libdt_socket.dylib -rwxrwxr-x 1 root wheel 419440 7 12 19:55 libfontmanager.dylib -rwxrwxr-x 1 root wheel 174156 6 27 04:04 libfxplugins.dylib -rwxrwxr-x 1 root wheel 380660 6 27 04:04 libglass.dylib -rwxrwxr-x 1 root wheel 1180688 6 27 04:04 libglib-lite.dylib -rwxrwxr-x 1 root wheel 1537888 6 27 04:04 libgstreamer-lite.dylib -rwxrwxr-x 1 root wheel 217016 7 12 19:55 libhprof.dylib -rwxrwxr-x 1 root wheel 142408 7 12 19:55 libinstrument.dylib -rwxrwxr-x 1 root wheel 41124 7 12 19:55 libj2gss.dylib -rwxrwxr-x 1 root wheel 15092 7 12 19:55 libj2pcsc.dylib -rwxrwxr-x 1 root wheel 70692 7 12 19:55 libj2pkcs11.dylib -rwxrwxr-x 1 root wheel 8852 7 12 19:55 libjaas_unix.dylib -rwxrwxr-x 1 root wheel 216900 7 12 19:55 libjava.dylib -rwxrwxr-x 1 root wheel 28896 7 12 19:55 libjava_crw_demo.dylib -rwxrwxr-x 1 root wheel 38524 6 27 04:04 libjavafx_font.dylib -rwxrwxr-x 1 root wheel 780876 6 27 04:04 libjavafx_font_t2k.dylib -rwxrwxr-x 1 root wheel 250956 6 27 04:04 libjavafx_iio.dylib -rwxrwxr-x 1 root wheel 8652 7 12 19:55 libjawt.dylib -rwxrwxr-x 1 root wheel 304424 7 12 19:55 libjdwp.dylib -rwxrwxr-x 1 root wheel 25328 7 12 19:55 libjfr.dylib -rwxrwxr-x 1 root wheel 240840 6 27 04:04 libjfxmedia.dylib -rwxrwxr-x 1 root wheel 214088 6 27 04:04 libjfxmedia_avf.dylib -rwxrwxr-x 1 root wheel 53204 6 27 04:04 libjfxmedia_qtkit.dylib -rwxrwxr-x 1 root wheel 33641216 6 27 04:04 libjfxwebkit.dylib -rwxrwxr-x 1 root wheel 184620 7 12 19:55 libjpeg.dylib -rwxrwxr-x 1 root wheel 14636 7 12 19:55 libjsdt.dylib -rwxrwxr-x 1 root wheel 15744 7 12 19:55 libjsig.dylib -rwxrwxr-x 1 root wheel 74872 7 12 19:55 libjsound.dylib -rwxrwxr-x 1 root wheel 374428 7 12 19:55 libkcms.dylib -rwxrwxr-x 1 root wheel 333072 7 12 19:55 liblcms.dylib -rwxrwxr-x 1 root wheel 53592 7 12 19:55 libmanagement.dylib -rwxrwxr-x 1 root wheel 834796 7 12 19:55 libmlib_image.dylib -rwxrwxr-x 1 root wheel 90668 7 12 19:55 libnet.dylib -rwxrwxr-x 1 root wheel 61460 7 12 19:55 libnio.dylib -rwxrwxr-x 1 root wheel 15692 7 12 19:55 libnpt.dylib -rwxrwxr-x 1 root wheel 55364 7 12 19:55 libosx.dylib -rwxrwxr-x 1 root wheel 110948 7 12 19:55 libosxapp.dylib -rwxrwxr-x 1 root wheel 14424 7 12 19:55 libosxkrb5.dylib -rwxrwxr-x 1 root wheel 36068 7 12 19:55 libosxui.dylib -rwxrwxr-x 1 root wheel 54820 6 27 04:04 libprism_common.dylib -rwxrwxr-x 1 root wheel 62084 6 27 04:04 libprism_es2.dylib -rwxrwxr-x 1 root wheel 67968 6 27 04:04 libprism_sw.dylib -rwxrwxr-x 1 root wheel 10104 7 12 19:55 libresource.dylib -rwxrwxr-x 1 root wheel 77044 7 12 19:55 libsaproc.dylib -rwxrwxr-x 1 root wheel 344584 7 12 19:55 libsplashscreen.dylib -rwxrwxr-x 1 root wheel 161704 7 12 19:55 libsunec.dylib -rwxrwxr-x 1 root wheel 310328 7 12 19:55 libt2k.dylib -rwxrwxr-x 1 root wheel 102212 7 12 19:55 libunpack.dylib -rwxrwxr-x 1 root wheel 49472 7 12 19:55 libverify.dylib -rwxrwxr-x 1 root wheel 36680 7 12 19:55 libzip.dylib -rw-rw-r-- 1 root wheel 2455 7 12 19:55 logging.properties drwxrwxr-x 6 root wheel 204 7 12 19:55 management -rw-rw-r-- 1 root wheel 381 7 12 19:55 management-agent.jar -rw-rw-r-- 1 root wheel 2107 7 12 19:55 meta-index -rw-rw-r-- 1 root wheel 4464 7 12 19:55 net.properties -rw-rw-r-- 1 root wheel 942164 7 12 19:55 plugin.jar -rw-rw-r-- 1 root wheel 2796 7 12 19:55 psfont.properties.ja -rw-rw-r-- 1 root wheel 10393 7 12 19:55 psfontj2d.properties -rw-rw-r-- 1 root wheel 3505340 7 12 19:55 resources.jar -rw-rw-r-- 1 root wheel 66815098 7 12 19:55 rt.jar drwxrwxr-x 10 root wheel 340 7 12 19:55 security drwxrwxr-x 5 root wheel 170 7 12 19:55 server -rw-rw-r-- 1 root wheel 1210 7 12 19:55 sound.properties -rw-rw-r-- 1 root wheel 105500 7 12 19:55 tzdb.dat 不知道该怎么解决。 由于我java用的不多……电脑为了节约空间,也没装java开发用的IDE,.java文件甚至是用Android Studio来写的。所以有点懵逼……
RXTX包支持ubuntu32位吗?
http://rxtx.qbang.org/wiki/index.php/Download 上面是RXTX的主页,有好几个版本,不知道哪个能用,请高手赐教。
紧急求助,java访问串口出现项目崩溃问题,求大神指导
# 紧急求助,关于访问串口的问题: 在windows_64位系统下,用java程序访问串口,用的是rxtx api,偶尔就出现这个问题,不知道怎么看这个文档: ``` # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180004465, pid=2256, tid=0x0000000000000eb0 # # JRE version: Java(TM) SE Runtime Environment (8.0_111-b14) (build 1.8.0_111-b14) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.111-b14 mixed mode windows-amd64 compressed oops) # Problematic frame: # C 0x0000000180004465 # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # --------------- T H R E A D --------------- Current thread (0x00000000582fc000): JavaThread "http-nio-8080-exec-3" daemon [_thread_in_native, id=3760, stack(0x0000000080370000,0x0000000080470000)] siginfo: ExceptionCode=0xc0000005, reading address 0xffffffff818af15c Registers: RAX=0x000000000000001c, RBX=0x00000000582fc1f8, RCX=0x000000008046c54c, RDX=0x0000000000000000 RSP=0x000000008046be30, RBP=0x0000000000000001, RSI=0x0000000000000000, RDI=0x0000000000000001 R8 =0x000000008046baf0, R9 =0x0000000180000000, R10=0x0000000000000000, R11=0x0000000000000200 R12=0xffffffff818af150, R13=0x0000000000000000, R14=0x000000008046c660, R15=0x00000000582fc000 RIP=0x0000000180004465, EFLAGS=0x0000000000010286 Top of Stack: (sp=0x000000008046be30) 0x000000008046be30: 00000000582fc1f8 000000018001c4c0 0x000000008046be40: 0000000000000000 0000000000000001 0x000000008046be50: 00002f94e86aabd0 00000000ebd0eb98 0x000000008046be60: 000000008046c660 00000000c2459220 0x000000008046be70: 0000000000000019 00000000c2459220 0x000000008046be80: 0000000000000000 00000000c2459220 0x000000008046be90: 00000000582fc000 000000007216ca5b 0x000000008046bea0: 000000008046bfa0 00000000025308da 0x000000008046beb0: 00000000025308da 00000000ebd0eb98 0x000000008046bec0: 00000000c2456a30 0000000000000000 0x000000008046bed0: 0000000000000000 0000000000000000 0x000000008046bee0: 0000000000000000 0000000000000000 0x000000008046bef0: 0000000000000000 0000000000000000 0x000000008046bf00: 0000000000000000 0000000000000000 0x000000008046bf10: 0000000000000000 0000000000000000 0x000000008046bf20: 0000000000000000 0000000000000000 Instructions: (pc=0x0000000180004465) 0x0000000180004445: 1b 48 8b d7 48 8b cb 41 ff 93 b8 00 00 00 45 84 0x0000000180004455: ed 0f 85 97 00 00 00 4d 85 e4 0f 84 8e 00 00 00 0x0000000180004465: 41 83 7c 24 0c 00 0f 84 82 00 00 00 4c 8d 44 24 0x0000000180004475: 30 48 8d 4c 24 38 4d 8b cc 48 8b d3 e8 8a f4 ff Register to memory mapping: RAX=0x000000000000001c is an unknown value RBX=0x00000000582fc1f8 is an unknown value RCX=0x000000008046c54c is pointing into the stack for thread: 0x00000000582fc000 RDX=0x0000000000000000 is an unknown value RSP=0x000000008046be30 is pointing into the stack for thread: 0x00000000582fc000 RBP=0x0000000000000001 is an unknown value RSI=0x0000000000000000 is an unknown value RDI=0x0000000000000001 is an unknown value R8 =0x000000008046baf0 is pointing into the stack for thread: 0x00000000582fc000 R9 =0x0000000180000000 is an unknown value R10=0x0000000000000000 is an unknown value R11=0x0000000000000200 is an unknown value R12=0xffffffff818af150 is an unknown value R13=0x0000000000000000 is an unknown value R14=0x000000008046c660 is pointing into the stack for thread: 0x00000000582fc000 R15=0x00000000582fc000 is a thread Stack: [0x0000000080370000,0x0000000080470000], sp=0x000000008046be30, free space=1007k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C 0x0000000180004465 C 0x0000000002547f54 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j gnu.io.RXTXPort.nativeDrain(Z)Z+0 j gnu.io.RXTXPort$SerialOutputStream.flush()V+92 j com.ah.business.SerialPort.SerialTool.sendToPort(Lgnu/io/SerialPort;[B)V+43 j com.ah.business.SerialPort.controller.SerialPortController.readCabinet(Ljava/lang/String;Ljava/lang/String;Ljavax/servlet/http/HttpServletResponse;)V+57 v ~StubRoutines::call_stub J 1232 sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (0 bytes) @ 0x00000000029bee3f [0x00000000029bedc0+0x7f] J 1231 C1 sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (104 bytes) @ 0x00000000029d3bdc [0x00000000029d2a80+0x115c] J 4876 C2 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (62 bytes) @ 0x0000000003331a18 [0x0000000003331980+0x98] j org.springframework.web.method.support.InvocableHandlerMethod.doInvoke([Ljava/lang/Object;)Ljava/lang/Object;+16 j org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(Lorg/springframework/web/context/request/NativeWebRequest;Lorg/springframework/web/method/support/ModelAndViewContainer;[Ljava/lang/Object;)Ljava/lang/Object;+96 j org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(Lorg/springframework/web/context/request/ServletWebRequest;Lorg/springframework/web/method/support/ModelAndViewContainer;[Ljava/lang/Object;)V+4 j org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/springframework/web/method/HandlerMethod;)Lorg/springframework/web/servlet/ModelAndView;+262 j org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/springframework/web/method/HandlerMethod;)Lorg/springframework/web/servlet/ModelAndView;+90 j org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/Object;)Lorg/springframework/web/servlet/ModelAndView;+7 j org.springframework.web.servlet.DispatcherServlet.doDispatch(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+318 j org.springframework.web.servlet.DispatcherServlet.doService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+301 j org.springframework.web.servlet.FrameworkServlet.processRequest(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+71 j org.springframework.web.servlet.FrameworkServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+3 j javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+149 j org.springframework.web.servlet.FrameworkServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+32 j javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30 J 5735 C1 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V (624 bytes) @ 0x000000000324633c [0x00000000032454c0+0xe7c] J 5734 C1 org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V (105 bytes) @ 0x0000000002b6038c [0x0000000002b60300+0x8c] j org.apache.tomcat.websocket.server.WsFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+21 J 5735 C1 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V (624 bytes) @ 0x0000000003245ad4 [0x00000000032454c0+0x614] J 5734 C1 org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V (105 bytes) @ 0x0000000002b6038c [0x0000000002b60300+0x8c] j org.springframework.web.filter.RequestContextFilter.doFilterInternal(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/FilterChain;)V+21 j org.springframework.web.filter.OncePerRequestFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+111 J 5735 C1 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V (624 bytes) @ 0x0000000003245ad4 [0x00000000032454c0+0x614] J 5734 C1 org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V (105 bytes) @ 0x0000000002b6038c [0x0000000002b60300+0x8c] j org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/FilterChain;)V+87 j org.springframework.web.filter.OncePerRequestFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+111 J 5735 C1 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V (624 bytes) @ 0x0000000003245ad4 [0x00000000032454c0+0x614] J 5734 C1 org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V (105 bytes) @ 0x0000000002b6038c [0x0000000002b60300+0x8c] j org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/FilterChain;)V+71 j org.springframework.web.filter.OncePerRequestFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+111 J 5735 C1 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V (624 bytes) @ 0x0000000003245ad4 [0x00000000032454c0+0x614] J 5734 C1 org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V (105 bytes) @ 0x0000000002b6038c [0x0000000002b60300+0x8c] j org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/FilterChain;)V+53 j org.springframework.web.filter.OncePerRequestFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+111 J 5735 C1 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V (624 bytes) @ 0x0000000003245ad4 [0x00000000032454c0+0x614] J 5734 C1 org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V (105 bytes) @ 0x0000000002b6038c [0x0000000002b60300+0x8c] j org.springframework.boot.context.web.ErrorPageFilter.doFilter(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/FilterChain;)V+14 j org.springframework.boot.context.web.ErrorPageFilter.access$000(Lorg/springframework/boot/context/web/ErrorPageFilter;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/FilterChain;)V+4 j org.springframework.boot.context.web.ErrorPageFilter$1.doFilterInternal(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/FilterChain;)V+7 j org.springframework.web.filter.OncePerRequestFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+111 j org.springframework.boot.context.web.ErrorPageFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+7 J 5735 C1 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V (624 bytes) @ 0x0000000003245ad4 [0x00000000032454c0+0x614] J 5734 C1 org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V (105 bytes) @ 0x0000000002b6038c [0x0000000002b60300+0x8c] j org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+781 j org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+166 j org.apache.catalina.authenticator.AuthenticatorBase.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+428 j org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+100 j org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6 j org.apache.catalina.valves.AbstractAccessLogValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6 j org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+71 j org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+199 j org.apache.coyote.http11.AbstractHttp11Processor.process(Lorg/apache/tomcat/util/net/SocketWrapper;)Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;+632 j org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Lorg/apache/tomcat/util/net/SocketWrapper;Lorg/apache/tomcat/util/net/SocketStatus;)Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;+270 j org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Lorg/apache/tomcat/util/net/SocketWrapper;Lorg/apache/tomcat/util/net/SocketStatus;)Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;+37 j org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(Ljava/nio/channels/SelectionKey;Lorg/apache/tomcat/util/net/NioEndpoint$KeyAttachment;)V+148 j org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run()V+97 j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95 j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 j org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run()V+4 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x00000000582fa800 JavaThread "Thread-27" daemon [_thread_in_native, id=1332, stack(0x00000000817b0000,0x00000000818b0000)] 0x0000000058304800 JavaThread "Thread-26" daemon [_thread_in_native, id=3796, stack(0x0000000081080000,0x0000000081180000)] 0x0000000058303000 JavaThread "Thread-25" daemon [_thread_in_native, id=3752, stack(0x0000000080c20000,0x0000000080d20000)] 0x0000000058303800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4164, stack(0x00000000833b0000,0x00000000834b0000)] 0x0000000058302000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4580, stack(0x0000000082640000,0x0000000082740000)] 0x0000000058301800 JavaThread "http-nio-8080-exec-10" daemon [_thread_in_native, id=4784, stack(0x0000000081db0000,0x0000000081eb0000)] 0x0000000058300800 JavaThread "http-nio-8080-exec-9" daemon [_thread_blocked, id=3672, stack(0x00000000820b0000,0x00000000821b0000)] 0x0000000058300000 JavaThread "http-nio-8080-exec-8" daemon [_thread_blocked, id=520, stack(0x0000000080e40000,0x0000000080f40000)] 0x00000000582ff000 JavaThread "http-nio-8080-exec-7" daemon [_thread_blocked, id=4776, stack(0x00000000801f0000,0x00000000802f0000)] 0x00000000582fe800 JavaThread "http-nio-8080-exec-6" daemon [_thread_blocked, id=4448, stack(0x0000000080f80000,0x0000000081080000)] 0x00000000582fd800 JavaThread "http-nio-8080-exec-5" daemon [_thread_blocked, id=1004, stack(0x0000000080ac0000,0x0000000080bc0000)] 0x00000000582fd000 JavaThread "http-nio-8080-exec-4" daemon [_thread_blocked, id=4800, stack(0x0000000080810000,0x0000000080910000)] =>0x00000000582fc000 JavaThread "http-nio-8080-exec-3" daemon [_thread_in_native, id=3760, stack(0x0000000080370000,0x0000000080470000)] 0x00000000582fb800 JavaThread "JavaCPP Deallocator" daemon [_thread_blocked, id=4040, stack(0x000000007e9e0000,0x000000007eae0000)] 0x00000000582fa000 JavaThread "http-nio-8080-exec-2" daemon [_thread_blocked, id=3664, stack(0x000000007ecb0000,0x000000007edb0000)] 0x00000000582f9000 JavaThread "http-nio-8080-exec-1" daemon [_thread_blocked, id=3612, stack(0x000000006ee50000,0x000000006ef50000)] 0x00000000582f8800 JavaThread "ajp-nio-8009-Acceptor-0" daemon [_thread_in_native, id=3312, stack(0x000000006ebf0000,0x000000006ecf0000)] 0x00000000582f7800 JavaThread "ajp-nio-8009-ClientPoller-1" daemon [_thread_in_native, id=3308, stack(0x000000006eae0000,0x000000006ebe0000)] 0x00000000582f7000 JavaThread "ajp-nio-8009-ClientPoller-0" daemon [_thread_in_native, id=3304, stack(0x000000006e640000,0x000000006e740000)] 0x00000000582f6000 JavaThread "http-nio-8080-Acceptor-0" daemon [_thread_in_native, id=3300, stack(0x000000006e920000,0x000000006ea20000)] 0x000000005b7a5000 JavaThread "http-nio-8080-ClientPoller-1" daemon [_thread_in_native, id=3296, stack(0x000000006e760000,0x000000006e860000)] 0x0000000057bbe800 JavaThread "http-nio-8080-ClientPoller-0" daemon [_thread_in_native, id=3292, stack(0x000000006e530000,0x000000006e630000)] 0x000000005b77d800 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=3288, stack(0x000000006e410000,0x000000006e510000)] 0x000000005aa13000 JavaThread "pool-2-thread-1" [_thread_blocked, id=2428, stack(0x000000005c9c0000,0x000000005cac0000)] 0x000000005793a800 JavaThread "NioBlockingSelector.BlockPoller-2" daemon [_thread_in_native, id=2712, stack(0x0000000059420000,0x0000000059520000)] 0x0000000057947000 JavaThread "NioBlockingSelector.BlockPoller-1" daemon [_thread_in_native, id=2708, stack(0x0000000058cd0000,0x0000000058dd0000)] 0x0000000057424800 JavaThread "GC Daemon" daemon [_thread_blocked, id=2684, stack(0x0000000058e50000,0x0000000058f50000)] 0x0000000056427000 JavaThread "AsyncFileHandlerWriter-225534817" daemon [_thread_blocked, id=2640, stack(0x0000000056eb0000,0x0000000056fb0000)] 0x0000000056322800 JavaThread "Service Thread" daemon [_thread_blocked, id=2612, stack(0x0000000056da0000,0x0000000056ea0000)] 0x00000000562c8800 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=2608, stack(0x0000000056c00000,0x0000000056d00000)] 0x00000000562c3000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=2604, stack(0x0000000056b00000,0x0000000056c00000)] 0x00000000562bf000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=2600, stack(0x00000000567f0000,0x00000000568f0000)] 0x0000000054e7e800 JavaThread "Attach Listener" daemon [_thread_blocked, id=2596, stack(0x0000000056980000,0x0000000056a80000)] 0x0000000054e7d000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2592, stack(0x00000000566f0000,0x00000000567f0000)] 0x0000000054e59800 JavaThread "Finalizer" daemon [_thread_blocked, id=2524, stack(0x00000000561a0000,0x00000000562a0000)] 0x0000000054e12800 JavaThread "Reference Handler" daemon [_thread_blocked, id=2520, stack(0x0000000055fa0000,0x00000000560a0000)] 0x000000000221e800 JavaThread "main" [_thread_in_native, id=2348, stack(0x0000000002380000,0x0000000002480000)] Other Threads: 0x0000000054e0a800 VMThread [stack: 0x0000000055dc0000,0x0000000055ec0000] [id=2496] 0x000000005634a800 WatcherThread [stack: 0x0000000057030000,0x0000000057130000] [id=2632] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap: PSYoungGen total 283648K, used 10945K [0x00000000eb300000, 0x00000000ffd80000, 0x0000000100000000) eden space 281088K, 3% used [0x00000000eb300000,0x00000000ebdb04a8,0x00000000fc580000) from space 2560K, 0% used [0x00000000fc580000,0x00000000fc580000,0x00000000fc800000) to space 28672K, 0% used [0x00000000fe180000,0x00000000fe180000,0x00000000ffd80000) ParOldGen total 78336K, used 45934K [0x00000000c1800000, 0x00000000c6480000, 0x00000000eb300000) object space 78336K, 58% used [0x00000000c1800000,0x00000000c44db808,0x00000000c6480000) Metaspace used 43550K, capacity 44114K, committed 44800K, reserved 1089536K class space used 5151K, capacity 5340K, committed 5376K, reserved 1048576K Card table byte_map: [0x00000000118f0000,0x0000000011af0000] byte_map_base: 0x00000000112e4000 Marking Bits: (ParMarkBitMap*) 0x00000000728ca6c0 Begin Bits: [0x0000000012340000, 0x00000000132e0000) End Bits: [0x00000000132e0000, 0x0000000014280000) Polling page: 0x0000000000110000 CodeCache: size=245760Kb used=15648Kb max_used=15708Kb free=230111Kb bounds [0x0000000002530000, 0x00000000034b0000, 0x0000000011530000] total_blobs=5475 nmethods=4786 adapters=600 compilation: enabled Compilation events (10 events): Event: 29130.199 Thread 0x00000000562c8800 5988 s 3 java.lang.StringBuffer::append (13 bytes) Event: 29130.199 Thread 0x00000000562c8800 nmethod 5988 0x000000000343fc50 code [0x000000000343fdc0, 0x00000000034400c8] Event: 29130.270 Thread 0x00000000562bf000 nmethod 5986 0x00000000031ac050 code [0x00000000031ac380, 0x00000000031ae778] Event: 29130.274 Thread 0x00000000562c3000 5989 4 java.lang.String::toLowerCase (8 bytes) Event: 29130.275 Thread 0x00000000562c3000 nmethod 5989 0x0000000002a38910 code [0x0000000002a38a60, 0x0000000002a38ae8] Event: 29130.660 Thread 0x00000000562c8800 5990 3 java.lang.String::regionMatches (91 bytes) Event: 29130.661 Thread 0x00000000562c8800 nmethod 5990 0x000000000343f550 code [0x000000000343f6c0, 0x000000000343fa70] Event: 29130.664 Thread 0x00000000562c8800 5992 3 java.security.CodeSource::hashCode (17 bytes) Event: 29130.664 Thread 0x00000000562c8800 nmethod 5992 0x000000000343ecd0 code [0x000000000343ee60, 0x000000000343f3c8] Event: 29130.678 Thread 0x00000000562bf000 5993 4 java.net.URI$Parser::scan (73 bytes) GC Heap History (10 events): Event: 25731.308 GC heap before {Heap before GC invocations=19 (full 4): PSYoungGen total 310784K, used 2356K [0x00000000eb300000, 0x00000000fff80000, 0x0000000100000000) eden space 281088K, 0% used [0x00000000eb300000,0x00000000eb300000,0x00000000fc580000) from space 29696K, 7% used [0x00000000fc580000,0x00000000fc7cd020,0x00000000fe280000) to space 29696K, 0% used [0x00000000fe280000,0x00000000fe280000,0x00000000fff80000) ParOldGen total 78336K, used 39408K [0x00000000c1800000, 0x00000000c6480000, 0x00000000eb300000) object space 78336K, 50% used [0x00000000c1800000,0x00000000c3e7c048,0x00000000c6480000) Metaspace used 43208K, capacity 43746K, committed 44288K, reserved 1087488K class space used 5128K, capacity 5316K, committed 5376K, reserved 1048576K Event: 25731.661 GC heap after Heap after GC invocations=19 (full 4): PSYoungGen total 310784K, used 0K [0x00000000eb300000, 0x00000000fff80000, 0x0000000100000000) eden space 281088K, 0% used [0x00000000eb300000,0x00000000eb300000,0x00000000fc580000) from space 29696K, 0% used [0x00000000fc580000,0x00000000fc580000,0x00000000fe280000) to space 29696K, 0% used [0x00000000fe280000,0x00000000fe280000,0x00000000fff80000) ParOldGen total 78336K, used 41473K [0x00000000c1800000, 0x00000000c6480000, 0x00000000eb300000) object space 78336K, 52% used [0x00000000c1800000,0x00000000c40804f0,0x00000000c6480000) Metaspace used 43179K, capacity 43692K, committed 44288K, reserved 1087488K class space used 5123K, capacity 5307K, committed 5376K, reserved 1048576K } Event: 28248.257 GC heap before {Heap before GC invocations=20 (full 4): PSYoungGen total 310784K, used 36289K [0x00000000eb300000, 0x00000000fff80000, 0x0000000100000000) eden space 281088K, 12% used [0x00000000eb300000,0x00000000ed670428,0x00000000fc580000) from space 29696K, 0% used [0x00000000fc580000,0x00000000fc580000,0x00000000fe280000) to space 29696K, 0% used [0x00000000fe280000,0x00000000fe280000,0x00000000fff80000) ParOldGen total 78336K, used 41473K [0x00000000c1800000, 0x00000000c6480000, 0x00000000eb300000) object space 78336K, 52% used [0x00000000c1800000,0x00000000c40804f0,0x00000000c6480000) Metaspace used 43321K, capacity 43858K, committed 44544K, reserved 1089536K class space used 5138K, capacity 5340K, committed 5376K, reserved 1048576K Event: 28248.263 GC heap after Heap after GC invocations=20 (full 4): PSYoungGen total 309760K, used 2548K [0x00000000eb300000, 0x00000000ffe80000, 0x0000000100000000) eden space 281088K, 0% used [0x00000000eb300000,0x00000000eb300000,0x00000000fc580000) from space 28672K, 8% used [0x00000000fe280000,0x00000000fe4fd020,0x00000000ffe80000) to space 29184K, 0% used [0x00000000fc580000,0x00000000fc580000,0x00000000fe200000) ParOldGen total 78336K, used 41473K [0x00000000c1800000, 0x00000000c6480000, 0x00000000eb300000) object space 78336K, 52% used [0x00000000c1800000,0x00000000c40804f0,0x00000000c6480000) Metaspace used 43321K, capacity 43858K, committed 44544K, reserved 1089536K class space used 5138K, capacity 5340K, committed 5376K, reserved 1048576K } Event: 28248.263 GC heap before {Heap before GC invocations=21 (full 5): PSYoungGen total 309760K, used 2548K [0x00000000eb300000, 0x00000000ffe80000, 0x0000000100000000) eden space 281088K, 0% used [0x00000000eb300000,0x00000000eb300000,0x00000000fc580000) from space 28672K, 8% used [0x00000000fe280000,0x00000000fe4fd020,0x00000000ffe80000) to space 29184K, 0% used [0x00000000fc580000,0x00000000fc580000,0x00000000fe200000) ParOldGen total 78336K, used 41473K [0x00000000c1800000, 0x00000000c6480000, 0x00000000eb300000) object space 78336K, 52% used [0x00000000c1800000,0x00000000c40804f0,0x00000000c6480000) Metaspace used 43321K, capacity 43858K, committed 44544K, reserved 1089536K class space used 5138K, capacity 5340K, committed 5376K, reserved 1048576K Event: 28248.577 GC heap after Heap after GC invocations=21 (full 5): PSYoungGen total 309760K, used 0K [0x00000000eb300000, 0x00000000ffe80000, 0x0000000100000000) eden space 281088K, 0% used [0x00000000eb300000,0x00000000eb300000,0x00000000fc580000) from space 28672K, 0% used [0x00000000fe280000,0x00000000fe280000,0x00000000ffe80000) to space 29184K, 0% used [0x00000000fc580000,0x00000000fc580000,0x00000000fe200000) ParOldGen total 78336K, used 43698K [0x00000000c1800000, 0x00000000c6480000, 0x00000000eb300000) object space 78336K, 55% used [0x00000000c1800000,0x00000000c42acbd0,0x00000000c6480000) Metaspace used 43319K, capacity 43852K, committed 44544K, reserved 1089536K class space used 5138K, capacity 5339K, committed 5376K, reserved 1048576K } Event: 28927.095 GC heap before {Heap before GC invocations=22 (full 5): PSYoungGen total 309760K, used 39167K [0x00000000eb300000, 0x00000000ffe80000, 0x0000000100000000) eden space 281088K, 13% used [0x00000000eb300000,0x00000000ed93ffd8,0x00000000fc580000) from space 28672K, 0% used [0x00000000fe280000,0x00000000fe280000,0x00000000ffe80000) to space 29184K, 0% used [0x00000000fc580000,0x00000000fc580000,0x00000000fe200000) ParOldGen total 78336K, used 43698K [0x00000000c1800000, 0x00000000c6480000, 0x00000000eb300000) object space 78336K, 55% used [0x00000000c1800000,0x00000000c42acbd0,0x00000000c6480000) Metaspace used 43415K, capacity 43922K, committed 44544K, reserved 1089536K class space used 5138K, capacity 5340K, committed 5376K, reserved 1048576K Event: 28927.101 GC heap after Heap after GC invocations=22 (full 5): PSYoungGen total 283648K, used 2548K [0x00000000eb300000, 0x00000000ffd80000, 0x0000000100000000) eden space 281088K, 0% used [0x00000000eb300000,0x00000000eb300000,0x00000000fc580000) from space 2560K, 99% used [0x00000000fc580000,0x00000000fc7fd020,0x00000000fc800000) to space 28672K, 0% used [0x00000000fe180000,0x00000000fe180000,0x00000000ffd80000) ParOldGen total 78336K, used 43706K [0x00000000c1800000, 0x00000000c6480000, 0x00000000eb300000) object space 78336K, 55% used [0x00000000c1800000,0x00000000c42aebd0,0x00000000c6480000) Metaspace used 43415K, capacity 43922K, committed 44544K, reserved 1089536K class space used 5138K, capacity 5340K, committed 5376K, reserved 1048576K } Event: 28927.101 GC heap before {Heap before GC invocations=23 (full 6): PSYoungGen total 283648K, used 2548K [0x00000000eb300000, 0x00000000ffd80000, 0x0000000100000000) eden space 281088K, 0% used [0x00000000eb300000,0x00000000eb300000,0x00000000fc580000) from space 2560K, 99% used [0x00000000fc580000,0x00000000fc7fd020,0x00000000fc800000) to space 28672K, 0% used [0x00000000fe180000,0x00000000fe180000,0x00000000ffd80000) ParOldGen total 78336K, used 43706K [0x00000000c1800000, 0x00000000c6480000, 0x00000000eb300000) object space 78336K, 55% used [0x00000000c1800000,0x00000000c42aebd0,0x00000000c6480000) Metaspace used 43415K, capacity 43922K, committed 44544K, reserved 1089536K class space used 5138K, capacity 5340K, committed 5376K, reserved 1048576K Event: 28927.218 GC heap after Heap after GC invocations=23 (full 6): PSYoungGen total 283648K, used 0K [0x00000000eb300000, 0x00000000ffd80000, 0x0000000100000000) eden space 281088K, 0% used [0x00000000eb300000,0x00000000eb300000,0x00000000fc580000) from space 2560K, 0% used [0x00000000fc580000,0x00000000fc580000,0x00000000fc800000) to space 28672K, 0% used [0x00000000fe180000,0x00000000fe180000,0x00000000ffd80000) ParOldGen total 78336K, used 45934K [0x00000000c1800000, 0x00000000c6480000, 0x00000000eb300000) object space 78336K, 58% used [0x00000000c1800000,0x00000000c44db808,0x00000000c6480000) Metaspace used 43415K, capacity 43922K, committed 44544K, reserved 1089536K class space used 5138K, capacity 5340K, committed 5376K, reserved 1048576K } Deoptimization events (10 events): Event: 25737.871 Thread 0x00000000582fd000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002e55fcc method=java.io.WinNTFileSystem.normalize(Ljava/lang/String;II)Ljava/lang/String; @ 103 Event: 25737.875 Thread 0x00000000582fd000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000031ba998 method=java.lang.ref.SoftReference.get()Ljava/lang/Object; @ 6 Event: 25899.792 Thread 0x00000000582fd800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x000000000342a82c method=java.util.regex.Pattern$CharProperty.match(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Z @ 18 Event: 25899.800 Thread 0x00000000582fd800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000033a6230 method=java.lang.ref.SoftReference.get()Ljava/lang/Object; @ 6 Event: 28245.195 Thread 0x000000005b7a5000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000032134b4 method=org.apache.tomcat.util.net.NioEndpoint$Poller.run()V @ 307 Event: 28400.700 Thread 0x0000000057bbe800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000032134b4 method=org.apache.tomcat.util.net.NioEndpoint$Poller.run()V @ 307 Event: 28401.005 Thread 0x00000000582f9000 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x000000000342a82c method=java.util.regex.Pattern$CharProperty.match(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Z @ 18 Event: 28775.421 Thread 0x00000000582fc000 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x000000000342a82c method=java.util.regex.Pattern$CharProperty.match(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Z @ 18 Event: 28847.369 Thread 0x00000000582fd000 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x000000000342a82c method=java.util.regex.Pattern$CharProperty.match(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Z @ 18 Event: 29130.166 Thread 0x00000000582fc000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003330eec method=org.apache.tomcat.util.buf.UDecoder.convert(Lorg/apache/tomcat/util/buf/ByteChunk;Z)V @ 125 Internal exceptions (10 events): Event: 28847.578 Thread 0x00000000582fd800 Exception <a 'java/io/IOException'> (0x00000000ebea4cc0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u111\7883\hotspot\src\share\vm\prims\jni.cpp, line 709] Event: 28847.602 Thread 0x00000000582fd800 Exception <a 'java/io/IOException'> (0x00000000ec07f0d0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u111\7883\hotspot\src\share\vm\prims\jni.cpp, line 709] Event: 28847.603 Thread 0x00000000582fd800 Exception <a 'java/io/IOException'> (0x00000000ec07f9b0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u111\7883\hotspot\src\share\vm\prims\jni.cpp, line 709] Event: 28847.604 Thread 0x00000000582fd800 Exception <a 'java/io/IOException'> (0x00000000ec07ff20) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u111\7883\hotspot\src\share\vm\prims\jni.cpp, line 709] Event: 28972.779 Thread 0x0000000058300800 Exception <a 'java/io/IOException'> (0x00000000eb76d3e0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u111\7883\hotspot\src\share\vm\prims\jni.cpp, line 709] Event: 28972.802 Thread 0x0000000058300800 Exception <a 'java/io/IOException'> (0x00000000eba5f788) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u111\7883\hotspot\src\share\vm\prims\jni.cpp, line 709] Event: 28972.803 Thread 0x0000000058300800 Exception <a 'java/io/IOException'> (0x00000000eba60068) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u111\7883\hotspot\src\share\vm\prims\jni.cpp, line 709] Event: 28972.804 Thread 0x0000000058300800 Exception <a 'java/io/IOException'> (0x00000000eba605d8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u111\7883\hotspot\src\share\vm\prims\jni.cpp, line 709] Event: 29130.196 Thread 0x00000000582fc000 Exception <a 'java/io/FileNotFoundException'> (0x00000000ebcaca50) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u111\7883\hotspot\src\share\vm\prims\jni.cpp, line 709] Event: 29130.660 Thread 0x00000000582fc000 Exception <a 'java/io/FileNotFoundException'> (0x00000000ebcc32c0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u111\7883\hotspot\src\share\vm\prims\jni.cpp, line 709] Events (10 events): Event: 28972.785 Thread 0x00000000562c8800 flushing nmethod 0x00000000033a59d0 Event: 28972.786 Thread 0x00000000562c8800 flushing nmethod 0x000000000342c390 Event: 29057.592 Thread 0x0000000058303000 Thread added: 0x0000000058303000 Event: 29057.592 Thread 0x0000000058304800 Thread added: 0x0000000058304800 Event: 29130.166 Thread 0x00000000582fc000 Uncommon trap: trap_request=0xffffff65 fr.pc=0x0000000003330eec Event: 29130.166 Thread 0x00000000582fc000 DEOPT PACKING pc=0x0000000003330eec sp=0x000000008046db40 Event: 29130.166 Thread 0x00000000582fc000 DEOPT UNPACKING pc=0x000000000257582a sp=0x000000008046da98 mode 2 Event: 29130.173 loading class java/util/TooManyListenersException Event: 29130.173 loading class java/util/TooManyListenersException done Event: 29130.673 Thread 0x00000000582fa800 Thread added: 0x00000000582fa800 Dynamic libraries: 0x000000013f290000 - 0x000000013f2c7000 C:\java\jdk1.8.0_111\bin\java.exe 0x00000000773f0000 - 0x000000007758f000 C:\Windows\SYSTEM32\ntdll.dll 0x00000000771d0000 - 0x00000000772ef000 C:\Windows\system32\kernel32.dll 0x000007fefd070000 - 0x000007fefd0da000 C:\Windows\system32\KERNELBASE.dll 0x000007fefd9c0000 - 0x000007fefda9b000 C:\Windows\system32\ADVAPI32.dll 0x000007fefd520000 - 0x000007fefd5bf000 C:\Windows\system32\msvcrt.dll 0x000007fefec90000 - 0x000007fefecaf000 C:\Windows\SYSTEM32\sechost.dll 0x000007fefd7f0000 - 0x000007fefd91c000 C:\Windows\system32\RPCRT4.dll 0x00000000772f0000 - 0x00000000773ea000 C:\Windows\system32\USER32.dll 0x000007fefd4b0000 - 0x000007fefd517000 C:\Windows\system32\GDI32.dll 0x000007fefec80000 - 0x000007fefec8e000 C:\Windows\system32\LPK.dll 0x000007fefd5c0000 - 0x000007fefd68b000 C:\Windows\system32\USP10.dll 0x000007fefb590000 - 0x000007fefb785000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.24440_none_e36f1bbf30ff0606\COMCTL32.dll 0x000007fefdaa0000 - 0x000007fefdb11000 C:\Windows\system32\SHLWAPI.dll 0x000007fefecb0000 - 0x000007fefecde000 C:\Windows\system32\IMM32.DLL 0x000007fefd690000 - 0x000007fefd799000 C:\Windows\system32\MSCTF.dll 0x0000000072950000 - 0x0000000072a22000 C:\java\jdk1.8.0_111\jre\bin\msvcr100.dll 0x00000000720b0000 - 0x000000007294a000 C:\java\jdk1.8.0_111\jre\bin\server\jvm.dll 0x000007fef5dd0000 - 0x000007fef5dd9000 C:\Windows\system32\WSOCK32.dll 0x000007fefd7a0000 - 0x000007fefd7ed000 C:\Windows\system32\WS2_32.dll 0x000007fefeab0000 - 0x000007fefeab8000 C:\Windows\system32\NSI.dll 0x000007fef8cc0000 - 0x000007fef8cfb000 C:\Windows\system32\WINMM.dll 0x000007fefc030000 - 0x000007fefc03c000 C:\Windows\system32\VERSION.dll 0x0000000077590000 - 0x0000000077597000 C:\Windows\system32\PSAPI.DLL 0x0000000072d70000 - 0x0000000072d7f000 C:\java\jdk1.8.0_111\jre\bin\verify.dll 0x0000000072d40000 - 0x0000000072d69000 C:\java\jdk1.8.0_111\jre\bin\java.dll 0x0000000072cc0000 - 0x0000000072cd6000 C:\java\jdk1.8.0_111\jre\bin\zip.dll 0x000007fefdd20000 - 0x000007fefeaab000 C:\Windows\system32\SHELL32.dll 0x000007fefdb20000 - 0x000007fefdd1f000 C:\Windows\system32\ole32.dll 0x000007fefcf40000 - 0x000007fefcf4f000 C:\Windows\system32\profapi.dll 0x0000000074ca0000 - 0x0000000074cad000 C:\java\jdk1.8.0_111\jre\bin\management.dll 0x0000000074c80000 - 0x0000000074c9a000 C:\java\jdk1.8.0_111\jre\bin\net.dll 0x000007fefc6d0000 - 0x000007fefc725000 C:\Windows\system32\mswsock.dll 0x000007fefc6c0000 - 0x000007fefc6c7000 C:\Windows\System32\wship6.dll 0x0000000074c60000 - 0x0000000074c71000 C:\java\jdk1.8.0_111\jre\bin\nio.dll 0x0000000074c30000 - 0x0000000074c54000 C:\java\jdk1.8.0_111\jre\bin\sunec.dll 0x0000000074c20000 - 0x0000000074c2b000 C:\java\jdk1.8.0_111\jre\bin\sunmscapi.dll 0x000007fefd0e0000 - 0x000007fefd24d000 C:\Windows\system32\CRYPT32.dll 0x000007fefcf50000 - 0x000007fefcf5f000 C:\Windows\system32\MSASN1.dll 0x000007fefc730000 - 0x000007fefc748000 C:\Windows\system32\CRYPTSP.dll 0x000007fefc430000 - 0x000007fefc477000 C:\Windows\system32\rsaenh.dll 0x000007fefcfc0000 - 0x000007fefcfde000 C:\Windows\system32\USERENV.dll 0x000007fefcde0000 - 0x000007fefcdef000 C:\Windows\system32\CRYPTBASE.dll 0x000007fefa6f0000 - 0x000007fefa717000 C:\Windows\system32\IPHLPAPI.DLL 0x000007fefa6d0000 - 0x000007fefa6db000 C:\Windows\system32\WINNSI.DLL 0x000007fefa4e0000 - 0x000007fefa4f1000 C:\Windows\system32\dhcpcsvc6.DLL 0x000007fefa4c0000 - 0x000007fefa4d8000 C:\Windows\system32\dhcpcsvc.DLL 0x000007fefab80000 - 0x000007fefab95000 C:\Windows\system32\NLAapi.dll 0x000007feeac50000 - 0x000007feeac65000 C:\Windows\system32\napinsp.dll 0x000007feeac30000 - 0x000007feeac49000 C:\Windows\system32\pnrpnsp.dll 0x000007fefc550000 - 0x000007fefc5ab000 C:\Windows\system32\DNSAPI.dll 0x000007fef9b80000 - 0x000007fef9b8b000 C:\Windows\System32\winrnr.dll 0x000007fefc100000 - 0x000007fefc107000 C:\Windows\System32\wshtcpip.dll 0x000007fef9b20000 - 0x000007fef9b28000 C:\Windows\system32\rasadhlp.dll 0x000007fefa560000 - 0x000007fefa5b3000 C:\Windows\System32\fwpuclnt.dll 0x000007feeac20000 - 0x000007feeac2a000 C:\java\jdk1.8.0_111\jre\bin\libarcsoft_face_engine_jni.dll 0x000007fee9920000 - 0x000007fee99c6000 C:\Windows\system32\MSVCP120.dll 0x000007fee9830000 - 0x000007fee991f000 C:\Windows\system32\MSVCR120.dll 0x000007fee97c0000 - 0x000007fee9826000 C:\java\jdk1.8.0_111\bin\libarcsoft_face_engine.dll 0x000007fee6a90000 - 0x000007fee97bf000 C:\java\jdk1.8.0_111\bin\libarcsoft_face.dll 0x000007fefeba0000 - 0x000007fefebf2000 C:\Windows\system32\WLDAP32.dll 0x000007fefcd80000 - 0x000007fefcdd7000 C:\Windows\system32\apphelp.dll 0x000007fef1710000 - 0x000007fef1761000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\concrt140.dll 0x000007fee1430000 - 0x000007fee14cd000 C:\Windows\system32\MSVCP140.dll 0x000007fef1670000 - 0x000007fef1687000 C:\Windows\system32\VCRUNTIME140.dll 0x000007fefaf90000 - 0x000007fefaf94000 C:\Windows\system32\api-ms-win-crt-runtime-l1-1-0.dll 0x000007fee1330000 - 0x000007fee1424000 C:\Windows\system32\ucrtbase.DLL 0x000007fef1700000 - 0x000007fef1703000 C:\Windows\system32\api-ms-win-core-timezone-l1-1-0.dll 0x000007fef15d0000 - 0x000007fef15d3000 C:\Windows\system32\api-ms-win-core-file-l2-1-0.dll 0x000007fef15c0000 - 0x000007fef15c3000 C:\Windows\system32\api-ms-win-core-localization-l1-2-0.dll 0x000007fef5e40000 - 0x000007fef5e43000 C:\Windows\system32\api-ms-win-core-synch-l1-2-0.dll 0x000007fee2e50000 - 0x000007fee2e53000 C:\Windows\system32\api-ms-win-core-processthreads-l1-1-1.dll 0x000007fee1220000 - 0x000007fee1223000 C:\Windows\system32\api-ms-win-core-file-l1-2-0.dll 0x000007fee1210000 - 0x000007fee1214000 C:\Windows\system32\api-ms-win-crt-string-l1-1-0.dll 0x000007fee1190000 - 0x000007fee1193000 C:\Windows\system32\api-ms-win-crt-heap-l1-1-0.dll 0x000007fee1180000 - 0x000007fee1184000 C:\Windows\system32\api-ms-win-crt-stdio-l1-1-0.dll 0x000007fee1170000 - 0x000007fee1174000 C:\Windows\system32\api-ms-win-crt-convert-l1-1-0.dll 0x000007fee1160000 - 0x000007fee1163000 C:\Windows\system32\api-ms-win-crt-locale-l1-1-0.dll 0x000007fee1150000 - 0x000007fee1155000 C:\Windows\system32\api-ms-win-crt-math-l1-1-0.dll 0x000007fee1140000 - 0x000007fee1145000 C:\Windows\system32\api-ms-win-crt-multibyte-l1-1-0.dll 0x000007fee1130000 - 0x000007fee1133000 C:\Windows\system32\api-ms-win-crt-time-l1-1-0.dll 0x000007fee1120000 - 0x000007fee1123000 C:\Windows\system32\api-ms-win-crt-filesystem-l1-1-0.dll 0x000007fee1110000 - 0x000007fee1113000 C:\Windows\system32\api-ms-win-crt-environment-l1-1-0.dll 0x000007fee1100000 - 0x000007fee1103000 C:\Windows\system32\api-ms-win-crt-utility-l1-1-0.dll 0x000007fee0700000 - 0x000007fee079d000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\msvcp140.dll 0x000007fee10e0000 - 0x000007fee10f7000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\vcruntime140.dll 0x000007fee10d0000 - 0x000007fee10d3000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\api-ms-win-crt-locale-l1-1-0.dll 0x000007fee0830000 - 0x000007fee0834000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\api-ms-win-crt-string-l1-1-0.dll 0x000007fee0820000 - 0x000007fee0824000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\api-ms-win-crt-stdio-l1-1-0.dll 0x000007fee0810000 - 0x000007fee0815000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\api-ms-win-crt-math-l1-1-0.dll 0x000007fee0800000 - 0x000007fee0803000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\api-ms-win-crt-heap-l1-1-0.dll 0x000007fee07f0000 - 0x000007fee07f4000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\api-ms-win-crt-runtime-l1-1-0.dll 0x000007fee06f0000 - 0x000007fee06f4000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\api-ms-win-crt-convert-l1-1-0.dll 0x000007fee06e0000 - 0x000007fee06e3000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\api-ms-win-crt-environment-l1-1-0.dll 0x000007fee06d0000 - 0x000007fee06d3000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\api-ms-win-crt-time-l1-1-0.dll 0x000007fee06c0000 - 0x000007fee06c3000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\api-ms-win-crt-filesystem-l1-1-0.dll 0x000007fee06b0000 - 0x000007fee06b3000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\api-ms-win-crt-utility-l1-1-0.dll 0x000007fee06a0000 - 0x000007fee06a5000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\api-ms-win-crt-multibyte-l1-1-0.dll 0x000007fee0230000 - 0x000007fee0534000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\opencv_core341.dll 0x000007fedec90000 - 0x000007fedf095000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\opencv_imgproc341.dll 0x000007fede900000 - 0x000007fedec8e000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\jniopencv_core.dll 0x000007fede7a0000 - 0x000007fede8f6000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\jniopencv_imgproc.dll 0x000007fede4d0000 - 0x000007fede79f000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\opencv_imgcodecs341.dll 0x000007fee0660000 - 0x000007fee0694000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\jniopencv_imgcodecs.dll 0x000007fee0600000 - 0x000007fee0651000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\opencv_videoio341.dll 0x000007fee05d0000 - 0x000007fee05f9000 C:\Windows\system32\MSVFW32.dll 0x000007fee0560000 - 0x000007fee057f000 C:\Windows\system32\AVIFIL32.dll 0x000007fef5920000 - 0x000007fef5938000 C:\Windows\system32\MSACM32.dll 0x000007fee0210000 - 0x000007fee0227000 C:\Windows\system32\AVICAP32.dll 0x000007fefeac0000 - 0x000007fefeb9b000 C:\Windows\system32\OLEAUT32.dll 0x000007fee01f0000 - 0x000007fee020f000 C:\Users\Administrator\.javacpp\cache\opencv-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\jniopencv_videoio.dll 0x000007fefb530000 - 0x000007fefb586000 C:\Windows\system32\uxtheme.dll 0x000007fef8480000 - 0x000007fef84ff000 C:\Program Files\Common Files\microsoft shared\ink\tiptsf.dll 0x000007fefece0000 - 0x000007fefed79000 C:\Windows\system32\CLBCatQ.DLL 0x000007fee0110000 - 0x000007fee0126000 C:\Windows\system32\devenum.dll 0x000007fefed80000 - 0x000007fefef57000 C:\Windows\system32\setupapi.dll 0x000007fefcf60000 - 0x000007fefcf96000 C:\Windows\system32\CFGMGR32.dll 0x000007fefd010000 - 0x000007fefd02a000 C:\Windows\system32\DEVOBJ.dll 0x000007fefac70000 - 0x000007fefac9d000 C:\Windows\system32\ntmarta.dll 0x000007fefd030000 - 0x000007fefd06b000 C:\Windows\system32\WINTRUST.dll 0x000007fee0550000 - 0x000007fee055d000 C:\Windows\system32\msdmo.dll 0x000007fedfd10000 - 0x000007fedfd3f000 C:\Windows\system32\qcap.dll 0x000007fede310000 - 0x000007fede4c4000 C:\Windows\system32\quartz.dll 0x000007fefb150000 - 0x000007fefb168000 C:\Windows\system32\dwmapi.dll 0x000007fedfcc0000 - 0x000007fedfd01000 C:\Windows\system32\ksproxy.ax 0x0000000072a30000 - 0x0000000072a36000 C:\Windows\system32\ksuser.dll 0x000007fefa7c0000 - 0x000007fefa9bf000 C:\Windows\system32\d3d9.dll 0x000007fefa7b0000 - 0x000007fefa7b7000 C:\Windows\system32\d3d8thk.dll VM Arguments: jvm_args: -Djava.util.logging.config.file=D:\znyg\apache-tomcat-8.0.8\apache-tomcat-8.0.8\conf\logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=D:\znyg\apache-tomcat-8.0.8\apache-tomcat-8.0.8\endorsed -Dcatalina.base=D:\znyg\apache-tomcat-8.0.8\apache-tomcat-8.0.8 -Dcatalina.home=D:\znyg\apache-tomcat-8.0.8\apache-tomcat-8.0.8 -Djava.io.tmpdir=D:\znyg\apache-tomcat-8.0.8\apache-tomcat-8.0.8\temp java_command: org.apache.catalina.startup.Bootstrap start java_class_path (initial): D:\znyg\apache-tomcat-8.0.8\apache-tomcat-8.0.8\bin\bootstrap.jar;D:\znyg\apache-tomcat-8.0.8\apache-tomcat-8.0.8\bin\tomcat-juli.jar Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=C:\java\jdk1.8.0_111 JRE_HOME=C:\java\jdk1.8.0_111 CLASSPATH=D:\znyg\apache-tomcat-8.0.8\apache-tomcat-8.0.8\bin\bootstrap.jar;D:\znyg\apache-tomcat-8.0.8\apache-tomcat-8.0.8\bin\tomcat-juli.jar PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\java\jdk1.8.0_111\bin;D:\ffmpeg\bin USERNAME=Administrator OS=Windows_NT PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel --------------- S Y S T E M --------------- OS: Windows 7 , 64 bit Build 7601 (6.1.7601.24441) CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, clmul, erms, ht, tsc, tscinvbit, tscinv Memory: 4k page, physical 4088324k(2881152k free), swap 8174748k(5777920k free) vm_info: Java HotSpot(TM) 64-Bit Server VM (25.111-b14) for windows-amd64 JRE (1.8.0_111-b14), built on Sep 22 2016 19:24:05 by "java_re" with MS VC++ 10.0 (VS2010) time: Fri Oct 25 11:26:39 2019 elapsed time: 29130 seconds (0d 8h 5m 30s) ```
Java使用RXTXcomm.jar导出问题
在Myeclipse中可以正常编译运行,无错误提示,导出可执行文件时提示警告。![图片说明](https://img-ask.csdn.net/upload/201703/21/1490091084_107531.png)
applet搭建本地读取com口的小程序用的rxtx 老是报加载错误 哪位大神能给解释下昂
Missing Application-Name manifest attribute for: http://localhost:8080/ebis_code_sheet/ebis/portlets/comTest6.jar Missing Permissions manifest attribute in main jar: http://localhost:8080/ebis_code_sheet/ebis/portlets/comTest6.jar Missing Application-Name manifest attribute for: http://localhost:8080/ebis_code_sheet/ebis/portlets/RXTXcomm.jar java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "AWT-EventQueue-2" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path
光纤收发器网口灯不亮
光纤收发器只连接网线时,收发器个交换机网口都亮,rxtx口连上后,收发器和交换机网口都熄了,偶尔收发器和交换机网口会亮一下又熄灭
编译有提醒,两个for()语句提示无效
Uint16 checkbcc(Uint16 *point_dat,Uint16 byte_len) { Uint16 BCC1=0,BCC2=0; Uint16 i,j; Uint16 flag0,flag1; for(i=1;i<byte_len-2;i+2) { BCC1=BCC1^point_dat[i]; } TEXT_RXTX.TEXT_BCC1.all=check_parity_bit(BCC1); for(j=2;j<byte_len-2;j+2) { BCC2^=point_dat[j]; } TEXT_RXTX.TEXT_BCC2.all=check_parity_bit(BCC2); flag0=TEXT_RXTX.TEXT_BCC1.all^point_dat[byte_len-2]; flag1=TEXT_RXTX.TEXT_BCC2.all^point_dat[byte_len-1]; if(flag0==0&&flag1==0)//校验无误 { return 1; } else { return 0; } } interrupt void SCIRXINTB_ISR(void) { Uint16 ParityValue,i; DINT; while(ScibRx_Ready()==0); TEXT_RXTX.TEXT_SCIRXB[0].all=ScibRegs.SCIRXBUF.bit.RXDT; RdataB[0]=TEXT_RXTX.TEXT_SCIRXB[0].all; switch(RdataB[0]) { case 0x20: for(i=1;i<Length;i++) { while(ScibRx_Ready()==0); TEXT_RXTX.TEXT_SCIRXB[i].all=ScibRegs.SCIRXBUF.bit.RXDT; RdataB[i]=TEXT_RXTX.TEXT_SCIRXB[i].all; } ParityValue=checkbcc(RdataB,i); break; case 0x06: { //发送正常; break; } case 0x15: { //再次发送; break; } } for(i=0;i<Length;i++) { while(ScibRx_Ready()==0); TEXT_RXTX.TEXT_SCIRXB[i].all=ScibRegs.SCIRXBUF.bit.RXDT; RdataB[i]=TEXT_RXTX.TEXT_SCIRXB[i].all; } /* if()//SCIB传送结束; { SciaRegs.SCITXBUF=0x01; SCITXB_FLAG=1; } */ ParityValue=checkbcc(RdataB,i);//数据水平偶校验;1:校验正确;0:校验有误; if(ParityValue==1) { } PieCtrlRegs.PIEACK.bit.ACK9=1; EINT; } ``` ``` ``` ```
相见恨晚的超实用网站
搞学习 知乎:www.zhihu.com 简答题:http://www.jiandati.com/ 网易公开课:https://open.163.com/ted/ 网易云课堂:https://study.163.com/ 中国大学MOOC:www.icourse163.org 网易云课堂:study.163.com 哔哩哔哩弹幕网:www.bilibili.com 我要自学网:www.51zxw
花了20分钟,给女朋友们写了一个web版群聊程序
参考博客 [1]https://www.byteslounge.com/tutorials/java-ee-html5-websocket-example
爬虫福利二 之 妹子图网MM批量下载
爬虫福利一:27报网MM批量下载    点击 看了本文,相信大家对爬虫一定会产生强烈的兴趣,激励自己去学习爬虫,在这里提前祝:大家学有所成! 目标网站:妹子图网 环境:Python3.x 相关第三方模块:requests、beautifulsoup4 Re:各位在测试时只需要将代码里的变量 path 指定为你当前系统要保存的路径,使用 python xxx.py 或IDE运行即可。
字节跳动视频编解码面经
引言 本文主要是记录一下面试字节跳动的经历。 三四月份投了字节跳动的实习(图形图像岗位),然后hr打电话过来问了一下会不会opengl,c++,shador,当时只会一点c++,其他两个都不会,也就直接被拒了。 七月初内推了字节跳动的提前批,因为内推没有具体的岗位,hr又打电话问要不要考虑一下图形图像岗,我说实习投过这个岗位不合适,不会opengl和shador,然后hr就说秋招更看重基础。我当时
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...
linux系列之常用运维命令整理笔录
本博客记录工作中需要的linux运维命令,大学时候开始接触linux,会一些基本操作,可是都没有整理起来,加上是做开发,不做运维,有些命令忘记了,所以现在整理成博客,当然vi,文件操作等就不介绍了,慢慢积累一些其它拓展的命令,博客不定时更新 顺便拉下票,我在参加csdn博客之星竞选,欢迎投票支持,每个QQ或者微信每天都可以投5票,扫二维码即可,http://m234140.nofollow.ax.
比特币原理详解
一、什么是比特币 比特币是一种电子货币,是一种基于密码学的货币,在2008年11月1日由中本聪发表比特币白皮书,文中提出了一种去中心化的电子记账系统,我们平时的电子现金是银行来记账,因为银行的背后是国家信用。去中心化电子记账系统是参与者共同记账。比特币可以防止主权危机、信用风险。其好处不多做赘述,这一层面介绍的文章很多,本文主要从更深层的技术原理角度进行介绍。 二、问题引入 假设现有4个人...
Python 基础(一):入门必备知识
目录1 标识符2 关键字3 引号4 编码5 输入输出6 缩进7 多行8 注释9 数据类型10 运算符10.1 常用运算符10.2 运算符优先级 1 标识符 标识符是编程时使用的名字,用于给变量、函数、语句块等命名,Python 中标识符由字母、数字、下划线组成,不能以数字开头,区分大小写。 以下划线开头的标识符有特殊含义,单下划线开头的标识符,如:_xxx ,表示不能直接访问的类属性,需通过类提供
这30个CSS选择器,你必须熟记(上)
关注前端达人,与你共同进步CSS的魅力就是让我们前端工程师像设计师一样进行网页的设计,我们能轻而易举的改变颜色、布局、制作出漂亮的影音效果等等,我们只需要改几行代码,不需...
国产开源API网关项目进入Apache孵化器:APISIX
点击蓝色“程序猿DD”关注我回复“资源”获取独家整理的学习资料!近日,又有一个开源项目加入了这个Java开源界大名鼎鼎的Apache基金会,开始进行孵化器。项目名称:AP...
程序员接私活怎样防止做完了不给钱?
首先跟大家说明一点,我们做 IT 类的外包开发,是非标品开发,所以很有可能在开发过程中会有这样那样的需求修改,而这种需求修改很容易造成扯皮,进而影响到费用支付,甚至出现做完了项目收不到钱的情况。 那么,怎么保证自己的薪酬安全呢? 我们在开工前,一定要做好一些证据方面的准备(也就是“讨薪”的理论依据),这其中最重要的就是需求文档和验收标准。一定要让需求方提供这两个文档资料作为开发的基础。之后开发
网页实现一个简单的音乐播放器(大佬别看。(⊙﹏⊙))
今天闲着无事,就想写点东西。然后听了下歌,就打算写个播放器。 于是乎用h5 audio的加上js简单的播放器完工了。 欢迎 改进 留言。 演示地点跳到演示地点 html代码如下`&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;music&lt;/title&gt; &lt;meta charset="utf-8"&gt
Python十大装B语法
Python 是一种代表简单思想的语言,其语法相对简单,很容易上手。不过,如果就此小视 Python 语法的精妙和深邃,那就大错特错了。本文精心筛选了最能展现 Python 语法之精妙的十个知识点,并附上详细的实例代码。如能在实战中融会贯通、灵活使用,必将使代码更为精炼、高效,同时也会极大提升代码B格,使之看上去更老练,读起来更优雅。 1. for - else 什么?不是 if 和 else 才
数据库优化 - SQL优化
前面一篇文章从实例的角度进行数据库优化,通过配置一些参数让数据库性能达到最优。但是一些“不好”的SQL也会导致数据库查询变慢,影响业务流程。本文从SQL角度进行数据库优化,提升SQL运行效率。 判断问题SQL 判断SQL是否有问题时可以通过两个表象进行判断: 系统级别表象 CPU消耗严重 IO等待严重 页面响应时间过长
2019年11月中国大陆编程语言排行榜
2019年11月2日,我统计了某招聘网站,获得有效程序员招聘数据9万条。针对招聘信息,提取编程语言关键字,并统计如下: 编程语言比例 rank pl_ percentage 1 java 33.62% 2 c/c++ 16.42% 3 c_sharp 12.82% 4 javascript 12.31% 5 python 7.93% 6 go 7.25% 7
通俗易懂地给女朋友讲:线程池的内部原理
餐厅的约会 餐盘在灯光的照耀下格外晶莹洁白,女朋友拿起红酒杯轻轻地抿了一小口,对我说:“经常听你说线程池,到底线程池到底是个什么原理?”我楞了一下,心里想女朋友今天是怎么了,怎么突然问出这么专业的问题,但做为一个专业人士在女朋友面前也不能露怯啊,想了一下便说:“我先给你讲讲我前同事老王的故事吧!” 大龄程序员老王 老王是一个已经北漂十多年的程序员,岁数大了,加班加不动了,升迁也无望,于是拿着手里
经典算法(5)杨辉三角
杨辉三角 是经典算法,这篇博客对它的算法思想进行了讲解,并有完整的代码实现。
编写Spring MVC控制器的14个技巧
本期目录 1.使用@Controller构造型 2.实现控制器接口 3.扩展AbstractController类 4.为处理程序方法指定URL映射 5.为处理程序方法指定HTTP请求方法 6.将请求参数映射到处理程序方法 7.返回模型和视图 8.将对象放入模型 9.处理程序方法中的重定向 10.处理表格提交和表格验证 11.处理文件上传 12.在控制器中自动装配业务类 ...
腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹?
昨天,有网友私信我,说去阿里面试,彻底的被打击到了。问了为什么网上大量使用ThreadLocal的源码都会加上private static?他被难住了,因为他从来都没有考虑过这个问题。无独有偶,今天笔者又发现有网友吐槽了一道腾讯的面试题,我们一起来看看。 腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹? 在互联网职场论坛,一名程序员发帖求助到。二面腾讯,其中一个算法题:64匹
面试官:你连RESTful都不知道我怎么敢要你?
面试官:了解RESTful吗? 我:听说过。 面试官:那什么是RESTful? 我:就是用起来很规范,挺好的 面试官:是RESTful挺好的,还是自我感觉挺好的 我:都挺好的。 面试官:… 把门关上。 我:… 要干嘛?先关上再说。 面试官:我说出去把门关上。 我:what ?,夺门而去 文章目录01 前言02 RESTful的来源03 RESTful6大原则1. C-S架构2. 无状态3.统一的接
求小姐姐抠图竟遭白眼?痛定思痛,我决定用 Python 自力更生!
点击蓝色“Python空间”关注我丫加个“星标”,每天一起快乐的学习大家好,我是 Rocky0429,一个刚恰完午饭,正在用刷网页浪费生命的蒟蒻...一堆堆无聊八卦信息的网页内容慢慢使我的双眼模糊,一个哈欠打出了三斤老泪,就在此时我看到了一张图片:是谁!是谁把我女朋友的照片放出来的!awsl!太好看了叭...等等,那个背景上的一堆鬼画符是什么鬼?!真是看不下去!叔叔婶婶能忍,隔壁老王的三姨妈的四表...
为啥国人偏爱Mybatis,而老外喜欢Hibernate/JPA呢?
关于SQL和ORM的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行了一番讨论,感触还是有一些,于是就有了今天这篇文。 声明:本文不会下关于Mybatis和JPA两个持久层框架哪个更好这样的结论。只是摆事实,讲道理,所以,请各位看官勿喷。 一、事件起因 关于Mybatis和JPA孰优孰劣的问题,争论已经很多年了。一直也没有结论,毕竟每个人的喜好和习惯是大不相同的。我也看
SQL-小白最佳入门sql查询一
不要偷偷的查询我的个人资料,即使你再喜欢我,也不要这样,真的不好;
项目中的if else太多了,该怎么重构?
介绍 最近跟着公司的大佬开发了一款IM系统,类似QQ和微信哈,就是聊天软件。我们有一部分业务逻辑是这样的 if (msgType = "文本") { // dosomething } else if(msgType = "图片") { // doshomething } else if(msgType = "视频") { // doshomething } else { // doshom...
致 Python 初学者
欢迎来到“Python进阶”专栏!来到这里的每一位同学,应该大致上学习了很多 Python 的基础知识,正在努力成长的过程中。在此期间,一定遇到了很多的困惑,对未来的学习方向感到迷茫。我非常理解你们所面临的处境。我从2007年开始接触 python 这门编程语言,从2009年开始单一使用 python 应对所有的开发工作,直至今天。回顾自己的学习过程,也曾经遇到过无数的困难,也曾经迷茫过、困惑过。开办这个专栏,正是为了帮助像我当年一样困惑的 Python 初学者走出困境、快速成长。希望我的经验能真正帮到你
“狗屁不通文章生成器”登顶GitHub热榜,分分钟写出万字形式主义大作
一、垃圾文字生成器介绍 最近在浏览GitHub的时候,发现了这样一个骨骼清奇的雷人项目,而且热度还特别高。 项目中文名:狗屁不通文章生成器 项目英文名:BullshitGenerator 根据作者的介绍,他是偶尔需要一些中文文字用于GUI开发时测试文本渲染,因此开发了这个废话生成器。但由于生成的废话实在是太过富于哲理,所以最近已经被小伙伴们给玩坏了。 他的文风可能是这样的: 你发现,...
程序员:我终于知道post和get的区别
是一个老生常谈的话题,然而随着不断的学习,对于以前的认识有很多误区,所以还是需要不断地总结的,学而时习之,不亦说乎
《程序人生》系列-这个程序员只用了20行代码就拿了冠军
你知道的越多,你不知道的越多 点赞再看,养成习惯GitHub上已经开源https://github.com/JavaFamily,有一线大厂面试点脑图,欢迎Star和完善 前言 这一期不算《吊打面试官》系列的,所有没前言我直接开始。 絮叨 本来应该是没有这期的,看过我上期的小伙伴应该是知道的嘛,双十一比较忙嘛,要值班又要去帮忙拍摄年会的视频素材,还得搞个程序员一天的Vlog,还要写BU...
相关热词 c#处理浮点数 c# 生成字母数字随机数 c# 动态曲线 控件 c# oracle 开发 c#选择字体大小的控件 c# usb 批量传输 c#10进制转8进制 c#转base64 c# 科学计算 c#下拉列表获取串口
立即提问