Benutzerinformationen überspringen
Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)
Benutzerinformationen überspringen
Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)
Zitat
*****************************************************************************
Getting Started
In order to run the management console app, you need to create a database
and set the server address, database name, user name & password in the file
./BambiManager/BambiDatabase.java
Compile with javac *.java
The Database should be built by running
psql -d <database name> -f db.out
To start the Java desktop application invoke the Manager class with
java infojection.BambiManager.Manager
You will also need the two jar files AbsoluteLayout and TimerBean added to your
CLASSPATH in order to run the GUI.
digitalstatus.java is J2EE servlet, to demonstrate possible web integration.
*****************************************************************************
Benutzerinformationen überspringen
Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 |
BambiDatabase.java:197: error: Machine cannot be resolved to a type public Machine[] getMachinesForPlaylist(int playlist_id) { ^^^^^^^ BambiDatabase.java:198: error: Machine cannot be resolved to a type Machine[] retval = null; ^^^^^^^ BambiDatabase.java:203: error: Machine cannot be resolved to a type retval = new Machine[countrs.getInt(1)]; ^^^^^^^ BambiDatabase.java:211: error: Machine cannot be resolved to a type retval[i] = new Machine(); ^^^^^^^ BambiDatabase.java:340: error: Resource cannot be resolved to a type public Resource getNextResource(Resource res) { ^^^^^^^^ BambiDatabase.java:340: error: Resource cannot be resolved to a type public Resource getNextResource(Resource res) { ^^^^^^^^ BambiDatabase.java:341: error: Resource cannot be resolved to a type Resource retval = res; ^^^^^^^^ BambiDatabase.java:349: error: infojection.BambiManager.Resource cannot be resolved to a type retval = new infojection.BambiManager.Resource(); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BambiDatabase.java:362: error: Resource cannot be resolved to a type public Resource getPrevResource(Resource res) { ^^^^^^^^ BambiDatabase.java:362: error: Resource cannot be resolved to a type public Resource getPrevResource(Resource res) { ^^^^^^^^ BambiDatabase.java:363: error: Resource cannot be resolved to a type Resource retval = res; ^^^^^^^^ BambiDatabase.java:369: error: infojection.BambiManager.Resource cannot be resolved to a type retval = new infojection.BambiManager.Resource(); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BambiDatabase.java:383: error: Resource cannot be resolved to a type public void updateResource(Resource res) { ^^^^^^^^ BambiDatabase.java:397: error: Resource cannot be resolved to a type public Resource createResource(int ad_id) { ^^^^^^^^ BambiDatabase.java:398: error: Resource cannot be resolved to a type Resource retval = new Resource(); ^^^^^^^^ BambiDatabase.java:398: error: Resource cannot be resolved to a type Resource retval = new Resource(); ^^^^^^^^ BambiDatabase.java:424: error: Resource cannot be resolved to a type public Resource getFirstResource(int ad_id) { ^^^^^^^^ BambiDatabase.java:425: error: infojection.BambiManager.Resource cannot be resolved to a type infojection.BambiManager.Resource retval = null; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BambiDatabase.java:430: error: infojection.BambiManager.Resource cannot be resolved to a type retval = new infojection.BambiManager.Resource(); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BambiDatabase.java:444: error: Machine cannot be resolved to a type public Machine[] getAllMachines() { ^^^^^^^ BambiDatabase.java:445: error: Machine cannot be resolved to a type Machine[] retval = null; ^^^^^^^ BambiDatabase.java:449: error: Machine cannot be resolved to a type retval = new Machine[countrs.getInt(1)]; ^^^^^^^ BambiDatabase.java:456: error: Machine cannot be resolved to a type retval[i] = new Machine(); ^^^^^^^ BambiDatabase.java:483: error: Advert cannot be resolved to a type public Advert[] getAllAdverts() { ^^^^^^ BambiDatabase.java:484: error: Advert cannot be resolved to a type Advert[] retval = null; ^^^^^^ BambiDatabase.java:488: error: Advert cannot be resolved to a type retval = new Advert[countrs.getInt(1)]; ^^^^^^ BambiDatabase.java:494: error: Advert cannot be resolved to a type retval[i] = new Advert(); ^^^^^^ BambiDatabase.java:512: error: Advert cannot be resolved to a type public Advert createAdvert() { ^^^^^^ BambiDatabase.java:513: error: Advert cannot be resolved to a type Advert retval = new Advert(); ^^^^^^ BambiDatabase.java:513: error: Advert cannot be resolved to a type Advert retval = new Advert(); ^^^^^^ BambiDatabase.java:567: error: Advert cannot be resolved to a type public String[] getPlaylistsForAdvert(Advert ad) { ^^^^^^ BambiDatabase.java:587: error: Playlist cannot be resolved to a type public Playlist createNewPlaylist() { ^^^^^^^^ BambiDatabase.java:588: error: Playlist cannot be resolved to a type Playlist retval = new Playlist(); ^^^^^^^^ BambiDatabase.java:588: error: Playlist cannot be resolved to a type Playlist retval = new Playlist(); ^^^^^^^^ BambiDatabase.java:604: error: Playlist cannot be resolved to a type public void updatePlaylist(Playlist list) { ^^^^^^^^ BambiDatabase.java:645: error: Playlist cannot be resolved to a type public Playlist getPlaylistByName(String search){ ^^^^^^^^ BambiDatabase.java:646: error: Playlist cannot be resolved to a type Playlist retval = null; ^^^^^^^^ BambiDatabase.java:651: error: Playlist cannot be resolved to a type retval = new Playlist(); ^^^^^^^^ BambiDatabase.java:663: error: Playlist cannot be resolved to a type public Playlist getPlaylistByFileName(String search){ ^^^^^^^^ BambiDatabase.java:664: error: Playlist cannot be resolved to a type Playlist retval = null; ^^^^^^^^ BambiDatabase.java:669: error: Playlist cannot be resolved to a type retval = new Playlist(); ^^^^^^^^ BambiDatabase.java:681: error: Playlist cannot be resolved to a type public Playlist getFirstPlaylist(){ ^^^^^^^^ BambiDatabase.java:682: error: Playlist cannot be resolved to a type Playlist retval = new Playlist(); ^^^^^^^^ BambiDatabase.java:682: error: Playlist cannot be resolved to a type Playlist retval = new Playlist(); ^^^^^^^^ BambiDatabase.java:697: error: Playlist cannot be resolved to a type public Playlist getLastPlaylist(){ ^^^^^^^^ BambiDatabase.java:698: error: Playlist cannot be resolved to a type Playlist retval = new Playlist(); ^^^^^^^^ BambiDatabase.java:698: error: Playlist cannot be resolved to a type Playlist retval = new Playlist(); ^^^^^^^^ BambiDatabase.java:713: error: Playlist cannot be resolved to a type public Playlist getNextPlaylist(Playlist curr){ ^^^^^^^^ BambiDatabase.java:713: error: Playlist cannot be resolved to a type public Playlist getNextPlaylist(Playlist curr){ ^^^^^^^^ BambiDatabase.java:714: error: Playlist cannot be resolved to a type Playlist retval = curr; ^^^^^^^^ BambiDatabase.java:719: error: Playlist cannot be resolved to a type retval = new Playlist(); ^^^^^^^^ BambiDatabase.java:732: error: Playlist cannot be resolved to a type public Playlist getPrevPlaylist(Playlist curr){ ^^^^^^^^ BambiDatabase.java:732: error: Playlist cannot be resolved to a type public Playlist getPrevPlaylist(Playlist curr){ ^^^^^^^^ BambiDatabase.java:733: error: Playlist cannot be resolved to a type Playlist retval = curr; ^^^^^^^^ BambiDatabase.java:738: error: Playlist cannot be resolved to a type retval = new Playlist(); ^^^^^^^^ BambiDatabase.java:751: error: Advert cannot be resolved to a type public Advert[] getValidAds() { ^^^^^^ BambiDatabase.java:752: error: Advert cannot be resolved to a type Advert[] retval = null; ^^^^^^ BambiDatabase.java:757: error: Advert cannot be resolved to a type retval = new Advert[count.getInt(1)]; ^^^^^^ BambiDatabase.java:764: error: Advert cannot be resolved to a type retval[i] = new Advert(); ^^^^^^ BambiDatabase.java:783: error: Advert cannot be resolved to a type public Advert[] getPlaylistAds(int list) { ^^^^^^ BambiDatabase.java:784: error: Advert cannot be resolved to a type Advert[] retval = null; ^^^^^^ BambiDatabase.java:790: error: Advert cannot be resolved to a type retval = new Advert[count.getInt(1)]; ^^^^^^ BambiDatabase.java:799: error: Advert cannot be resolved to a type retval[i] = new Advert(); ^^^^^^ BambiDatabase.java:820: error: Advert cannot be resolved to a type public Advert getAdvertByName(String adname) { ^^^^^^ BambiDatabase.java:821: error: Advert cannot be resolved to a type Advert retval = new Advert(); ^^^^^^ BambiDatabase.java:821: error: Advert cannot be resolved to a type Advert retval = new Advert(); ^^^^^^ BambiDatabase.java:847: error: Advert cannot be resolved to a type public Advert getAdvertByFileName(String adname) { ^^^^^^ BambiDatabase.java:848: error: Advert cannot be resolved to a type Advert retval = new Advert(); ^^^^^^ BambiDatabase.java:848: error: Advert cannot be resolved to a type Advert retval = new Advert(); ^^^^^^ BambiDatabase.java:874: error: Advert cannot be resolved to a type public Advert getFirstAdvert() { ^^^^^^ BambiDatabase.java:875: error: Advert cannot be resolved to a type Advert retval = new Advert(); ^^^^^^ BambiDatabase.java:875: error: Advert cannot be resolved to a type Advert retval = new Advert(); ^^^^^^ BambiDatabase.java:897: error: Advert cannot be resolved to a type public Advert getNextAdvert(Advert curr) { ^^^^^^ BambiDatabase.java:897: error: Advert cannot be resolved to a type public Advert getNextAdvert(Advert curr) { ^^^^^^ BambiDatabase.java:898: error: Advert cannot be resolved to a type Advert retval = new Advert(); ^^^^^^ BambiDatabase.java:898: error: Advert cannot be resolved to a type Advert retval = new Advert(); ^^^^^^ BambiDatabase.java:925: error: Advert cannot be resolved to a type public Advert getPrevAdvert(Advert curr) { ^^^^^^ BambiDatabase.java:925: error: Advert cannot be resolved to a type public Advert getPrevAdvert(Advert curr) { ^^^^^^ BambiDatabase.java:926: error: Advert cannot be resolved to a type Advert retval = new Advert(); ^^^^^^ BambiDatabase.java:926: error: Advert cannot be resolved to a type Advert retval = new Advert(); ^^^^^^ BambiDatabase.java:951: error: Advert cannot be resolved to a type public Advert getLastAdvert() { ^^^^^^ BambiDatabase.java:952: error: Advert cannot be resolved to a type Advert retval = new Advert(); ^^^^^^ BambiDatabase.java:952: error: Advert cannot be resolved to a type Advert retval = new Advert(); ^^^^^^ BambiDatabase.java:975: error: Advert cannot be resolved to a type public void updateAdvert(Advert ad) { ^^^^^^ BambiDatabase.java:990: error: Machine cannot be resolved to a type public Machine createMachine() { ^^^^^^^ BambiDatabase.java:991: error: Machine cannot be resolved to a type Machine retval = new Machine(); ^^^^^^^ BambiDatabase.java:991: error: Machine cannot be resolved to a type Machine retval = new Machine(); ^^^^^^^ BambiDatabase.java:1022: error: Machine cannot be resolved to a type public void updateMachine(Machine curr) { ^^^^^^^ BambiDatabase.java:1119: error: Machine cannot be resolved to a type public Machine getMachineByName(String name) { ^^^^^^^ BambiDatabase.java:1120: error: Machine cannot be resolved to a type Machine retval = new Machine(); ^^^^^^^ BambiDatabase.java:1120: error: Machine cannot be resolved to a type Machine retval = new Machine(); ^^^^^^^ BambiDatabase.java:1143: error: Machine cannot be resolved to a type public Machine getMachineByConnection(String connection) { ^^^^^^^ BambiDatabase.java:1144: error: Machine cannot be resolved to a type Machine retval = new Machine(); ^^^^^^^ BambiDatabase.java:1144: error: Machine cannot be resolved to a type Machine retval = new Machine(); ^^^^^^^ BambiDatabase.java:1167: error: Machine cannot be resolved to a type public Machine getMachineByLocation(String location) { ^^^^^^^ BambiDatabase.java:1168: error: Machine cannot be resolved to a type Machine retval = new Machine(); ^^^^^^^ BambiDatabase.java:1168: error: Machine cannot be resolved to a type Machine retval = new Machine(); ^^^^^^^ BambiDatabase.java:1191: error: Machine cannot be resolved to a type public Machine getFirstMachine() { ^^^^^^^ BambiDatabase.java:1192: error: Machine cannot be resolved to a type Machine retval = new Machine(); ^^^^^^^ BambiDatabase.java:1192: error: Machine cannot be resolved to a type Machine retval = new Machine(); ^^^^^^^ 100 problems (100 errors) |
Zitat
Original von Anne L.
Ich hab den Classpath wohl erfolgreich angelegt und in das Profil eingetragen, denn echo $CLASSPATH gibt im Terminal den Pfad auch aus. Nur leider bekomm ich beim Ausführen von javac immernoch diese imense Anzahl von Fehlern.