Skip to content

Instantly share code, notes, and snippets.

@naaman
Created February 20, 2013 06:22
Show Gist options
  • Select an option

  • Save naaman/4993390 to your computer and use it in GitHub Desktop.

Select an option

Save naaman/4993390 to your computer and use it in GitHub Desktop.
jdk dyno scratch
1 ls -lah
2 curl -O http://icedtea.wildebeest.org/download/source/icedtea-2.1.5.tar.gz
3 tar xvzf icedtea-2.1.5.tar.gz
4 cd icedtea-2.1.5
5 ./configure --with-parallel-jobs=2 --disable-docs --disable-bootstrap --with-jdk-home=/usr/lib/jvm/java-6-openjdk
6 cd ..
7 curl -O http://mirror.olnevhost.net/pub/apache//ant/binaries/apache-ant-1.8.4-bin.tar.gz
8 tar xf apache-ant-1.8.4-bin.tar.gz
9 ls -lah
10 ls -lah apache-ant-1.8.4
11 cat apache-ant-1.8.4/INSTALL
12 export PATH=$PATH:/app/apache-ant-1.8.4/bin
13 ant --version
14 cd icedtea-2.1.5
15 ./configure --with-parallel-jobs=2 --disable-docs --disable-bootstrap --with-jdk-home=/usr/lib/jvm/java-6-openjdk
16 cd ..
17 curl -O http://ftp.gnu.org/gnu/wget/wget-1.14.tar.xz
18 tar xf wget-1.14.tar.xz
19 cd wget-1.14
20 l
21 ls -lah
22 ./configure
23 ./configure --with-ssl=no
24 make install
25 make
26 ls -lah
27 less README
28 more README
29 more INSTALL
30 ./configure --help
31 cd ..
32 curl -O https://s3.amazonaws.com/heroku-jvm-langpack-java/openjdk7-u13-b20.tar.gz
33 mkdir .jdk && tar xf openjdk7-u13-b20.tar.gz -C .jdk
34 ./.jdk/bin/java -version
35 cd wget-1.14
36 ./configure --help
37 ./configure --prefix=/app/local
38 ./configure --prefix=/app/local --with-ssl=no
39 make install
40 ls -lah /app/local/
41 ls -lah /app/local/bin/
42 export PATH=$PATH:/app/local/bin
43 cd ..
44 history
45 cd icedtea-2.1.5
46 ./configure --with-parallel-jobs=2 --disable-docs --disable-bootstrap --disable-tests --disable-hotspot-tests --disable-langtools-tests --disable-jdk-tests --with-jdk-home=/usr/lib/jvm/java-6-openjdk
47 cd ..
48 curl -O ftp://ftp.info-zip.org/pub/infozip/unix/linux/zip23x-glibc.zip
49 curl -O ftp://ftp.info-zip.org/pub/infozip/unix/linux/unz551x-glibc.tgz
50 tar xf zip23x-glibc.zip
51 tar xzf zip23x-glibc.zip
52 man tar
53 tar --help
54 tar --help | grep zip
55 tar xjf zip23x-glibc.zip
56 tar xzf unz551x-glibc.tgz
57 ls -lah
58 cd unzip-5.51/
59 ls -lah
60 unzip
61 ./unzip
62 cp unzip /app/local/bin/
63 unzip
64 less README
65 more README
66 cd ..
67 rm -rf unzip-5.51/
68 rm zip23x-glibc.zip
69 rm unz551x-glibc.tgz
70 curl -O ftp://ftp.info-zip.org/pub/infozip/src/zip30.tgz
71 curl -O ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz
72 tar xvf zip30.tgz
73 tar xf unzip60.tgz
74 cd zip30
75 ls -lah
76 more INSTALL
77 more INSTALL
78 ls -lah
79 ls -lah unix/
80 ./unix/configure
81 sh ./unix/configure
82 make -f unix/Makefile
83 make -f unix/Makefile generic
84 ls -lah
85 zip
86 ./zip
87 cp zip /app/local/bin/
88 zip
89 cd ../
90 cd unzip60
91 ls -lah
92 sh ./unix/configure
93 make -f unix/Makefile generic
94 more INSTALL
95 cd ../icedtea-2.1.5
96 ./configure --with-parallel-jobs=2 --disable-docs --disable-bootstrap --disable-tests --disable-hotspot-tests --disable-langtools-tests --disable-jdk-tests --with-jdk-home=/usr/lib/jvm/java-6-openjdk
97 unzip
98 zip
99 ls -lah /app/local/bin/
100 cd ..
101 curl -O http://heroku-jvm-langpack-java.s3.amazonaws.com/test/openjdk6-u27-b30.tar.gz
102 tar xf openjdk6-u27-b30.tar.gz
103 ls -lah
104 mkdir jdk6 && tar xf openjdk6-u27-b30.tar.gz -C jdk6
105 mkdir jdk6 && tar xf openjdk6-u27-b30.tar.gz -C jdk6/
106 tar xf openjdk6-u27-b30.tar.gz -C jdk6/
107 tar xf openjdk6-u27-b30.tar.gz -C jdk6
108 ls -lah
109 rm -rf .jdk/ ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README bin/ include/ jdk6/ jre/ lib/ local/
110 ls -lah
111 rm openjdk6-u27-b30.tar.gz openjdk7-u13-b20.tar.gz
112 curl -O http://heroku-jvm-langpack-java.s3.amazonaws.com/test/openjdk6-u27-b30.tar.gz
113 tar xf openjdk6-u27-b30.tar.gz
114 ls -lah
115 rm -rf .jdk/ ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README bin/ include/ jdk6/ jre/ lib/ local/
116 rm openjdk6-u27-b30.tar.gz openjdk7-u13-b20.tar.gz
117 ls -lah
118 curl -O http://heroku-jvm-langpack-java.s3.amazonaws.com/test/openjdk6-u27-b30.tar.gz
119 mkdir .jdk
120 tar xzf openjdk6-u27-b30.tar.gz -C .jdk/
121 ./.jdk/bin/java -version
122 rm -rf .jdk/
123 rm openjdk6-u27-b30.tar.gz
124 curl -O http://heroku-jvm-langpack-java.s3.amazonaws.com/test/openjdk6-u27-b30.tar.gz
125 mkdir .jdk && tar xzf openjdk6-u27-b30.tar.gz -C .jdk/
126 ./.jdk/bin/java -version
127 git
128 git clone https://github.com/hgomez/obuildfactory.git
129 echo $JAVA_HOME
130 export JAVA_HOME=/usr/lib/jvm/java-6-openjdk
131 mkdir jdk7
132 cd jdk7/
133 export FULL_DEBUG_SYMBOLS=0 ENABLE_FULL_DEBUG_SYMBOLS=0 XBUILD=true ../obuildfactory/openjdk7/linux/standalone-job.sh
134 export DEBUG_BINARIES=false DEBUG_CLASSFILES=true
135 export FULL_DEBUG_SYMBOLS=0 ENABLE_FULL_DEBUG_SYMBOLS=0
136 export DEBUG_BINARIES=false DEBUG_CLASSFILES=true
137 export XUSE_TAG=jdk7u12-b09
138 XBUILD=true XDEBUG=false XCLEAN=true ./obuildfactory/openjdk7/linux/standalone-job.sh
139 XBUILD=true XDEBUG=false XCLEAN=true ./../obuildfactory/openjdk7/linux/standalone-job.sh
140 cd ..
141 curl -O http://mercurial.selenic.com/release/mercurial-2.5.1.tar.gz
142 tar xzf mercurial-2.5.1.tar.gz
143 cd mercurial-2.5.1
144 ls -lah
145 hg
146 ./hg
147 make
148 make local
149 ./hg
150 echo $PATH
151 mkdir -p /app/local/bin
152 cp hg /app/local/bin/
153 hg
154 ./hg
155 ls -lah
156 more Re
157 more README
158 make
159 make all
160 hg
161 ls -lah /app/local/bin/
162 rm -rf /app/local/
163 export PATH=$PATH:/app/mercurial-2.5.1
164 hg
165 cd ..
166 hg
167 cd jdk7/
168 ls -lah
169 history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment