maven2 implementation of the mvn package error java.io.FileNotFoundException Prompt

Today, learning Maven2 packaging geotools, implementation of the mvn clean properly, but the implementation of the mvn package prompted java.io.FileNotFoundException wrong time, in theory, should not be a lack of documents. Carefully read the error code found that can not find javac, the original Maven2 is required when the package jdk drops. That depressed ah at first eclipse when the lazy loading did not jdk configuration to the system environment variable. Solution:

# Gedit / etc / profile

An increase in the final

export JAVA_HOME =****/ jdk
export CLASSPATH =.: $ CLASSPATH: $ JAVA_HOME / lib / dt.jar: $ JAVA_HOME / lib / tools.jar
: $ JAVA_HOME/lib/mysql-connector-java-3.2.0.jar: $ JAVA_HOME/lib/classes12.jar
export PATH = $ PATH: $ JAVA_HOME / bin
export JRE_HOME = $ JAVA_HOME / jre

分类:Java 时间:2008-09-05 人气:279
分享到:
blog comments powered by Disqus

相关文章

  • Web relative path and absolute path 2010-04-10

    1. Basic understanding of the concept Absolute path: absolute path is your home page file or directory on your hard disk real path, (URL and the physical path) example: C: \ xyz \ test.txt test.txt file represents the absolute path. http://www.sun.co

  • Relative path and absolute path 2010-06-07

    1. Basic understanding of the concept Absolute path: absolute path is your home page file or directory on your hard disk real path, (URL and the physical path) example: C: \ xyz \ test.txt test.txt file represents the absolute path. http://www.sun.co

  • Project process, the absolute path and relative path for a summary 2010-09-11

    1. Basic understanding of the concept Absolute path: absolute path is your home page file or directory on your hard disk real path, (URL and the physical path) example: C: \ xyz \ test.txt test.txt file represents the absolute path. http://www.sun.co

  • Struts2 in the relative path and absolute path 2010-07-26

    JSP page action Relative paths are usually written in two, one is to "/" at the beginning, one that is not to "/" at the beginning, both written What's the difference: Basic is http://localhost/Struts URL beginning, now do the followin

  • PHP get current file path, parent directory path 2010-11-02

    PHP get current file path, parent directory path Now take the file, directory, parent directory in test.php, the need to do to obtain the path, directories, etc., see the following: Obtain the path + file name (to get / var / www / project / test.php

  • java relative path with absolute path issue summary 2010-11-15

    1. Basic understanding of the concept Absolute path: absolute path is your home files or directories on the real path on your hard drive, (URL and the physical path) example: C: \ xyz \ test.txt test.txt file represents the absolute path. http://www.

  • Absolute path and relative path 2010-11-20

    1. <br /> The basic concepts of absolute path: absolute path is your home files or directories on the real path on your hard drive, (URL and the physical path) example: C: \ xyz \ test.txt test.txt represent the absolute path relative path: relative

  • Use BFS to find shortest path, and print path 2010-12-23

    I think most readers are Dijstra algorithm with Floyd or even short dfs it counted most. In fact, you can calculate the shortest path BFS. When we use BFS to find shortest path end to end, from the starting point of beginning, when the first ever wal

  • Single-source shortest path and shortest path for each pair of nodes - Dijkstra and Freud 2011-01-07

    In a diagram, if a node from another node to the existence of the path, the path defined by the length of a path through the weight of the edge and. From one node to a node that there may be multiple paths, the shortest path to which the known shorte

  • linux under the absolute path and relative path 2011-03-07

    Representative of this layer directory Representatives of parent directory .. - On behalf of their own home directory ~ User representatives to the user's home directory under the person we want to talk about the directory and the path of several com

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.320 (s). 13 q(s)