본문 바로가기

반응형

Java

(8)
[Java] Oracle JDBC releases Vs JDK versions 참고: https://www.oracle.com/database/technologies/faq-jdbc.html Oracle JDBC Frequently Asked Questions For byte data, there are three Oracle SQL types: VARCHAR2, LONG and CLOB. VARCHAR2 data is of limited length, is stored directly in a column, and is transmitted to the server in inline packets. LONG data has a much larger limit (2 Gigibytes), is stored via www.oracle.com
[Java] JDBC Test (ORACLE DB, tnsnames.ora) // Instant Client 설치 및 TNS_ADMIN 환경변수 세팅 후 tnsnames.ora의 TNS_IDENTIFIER 참고하여 Oracle DB에 접근하는 예제 import java.sql.*; public class JDBCTest { public static void main(String[] args) throws Exception { System.setProperty("oracle.net.tns_admin", System.getenv("TNS_ADMIN")); String dbURL = "jdbc:oracle:thin:@MYDB"; Class.forName ("oracle.jdbc.OracleDriver"); Connection conn = null; Statement stmt = nul..
[Ubuntu] Eclipse Installation Download: www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2020-03/R/eclipse-jee-2020-03-R-incubation-linux-gtk-x86_64.tar.gz&mirror_id=1211 Thank You for Downloading Eclipse | The Eclipse Foundation The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 350 open source projects, including runtimes, tools and frameworks. www.eclipse..
[Java] 시스템 환경변수 관련(getenv) public static String getenv(String name) 예) String sysPath = System.getenv("PATH"); 참고: https://docs.oracle.com/javase/8/docs/api/java/lang/System.html#getenv-java.lang.String- System (Java Platform SE 8 ) Sets the system property indicated by the specified key. First, if a security manager exists, its SecurityManager.checkPermission method is called with a PropertyPermission(key, "write") permi..
[Linux] Apache NetBeans Installation (Binary) # sudo wget https://www.apache.org/dyn/closer.cgi/incubator/netbeans/incubating-netbeans/incubating-11.0/incubating-netbeans-11.0-bin.zip # sudo unzip incubating-netbeans-11.0-bin.zip # sudo mv netbeans /usr/local # sudo vi /etc/profile.d/netbeans.sh export NETBEANS_HOME=/usr/local/netbeans export PATH=${PATH}:${NETBEANS_HOME}/bin 저장 # source /etc/profile.d/netbeans.sh # sudo vi /usr/share/appli..
[Linux] Apache Ant Installation (Binary) Download: https://archive.apache.org/dist/ant/binaries/ Index of /dist/ant/binaries archive.apache.org # sudo wget https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.8-bin.tar.gz # sudo tar xzvf apache-ant-1.10.8-bin.tar.gz # sudo mv apache-ant-1.10.8 /usr/local # sudo ln -s /usr/local/apache-ant-1.10.8 /usr/local/ant # sudo vi /etc/profile.d/ant.sh export ANT_HOME=/usr/local/ant expor..
[Ubuntu 18.04] OpenJDK 8 Installation # sudo apt-get install openjdk-8-jdk # sudo apt-get install openjdk-8-jre # sudo update-alternatives --config java (선택항목에 보이지 않으면 # sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-8-openjdk-amd64/bin/java 1081 실행) # sudo update-alternatives --config javac (선택항목에 보이지 않으면 # sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/java-8-openjdk-amd64/bin/javac 1..
[Java] 환경변수 참고 JAVA_HOME = jdk 설치경로 (예. C:\jdk버전) CLASSPATH = .;%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\jre\lib\ext PATH = %PATH%;%JAVA_HOME%\bin 운영체제 환경에 맞게 변형해서 설정할 것 RedHat OpenJDK Download: https://developers.redhat.com/products/openjdk/download OpenJDK Download Container Images Download secure, certified, and up-to-date container images for OpenJDK. developers.redhat.com AdoptOpenJDK: https://adoptopenjdk.n..

반응형